custom Touch Bar icon: fit by height

Is it possible to display an icon in full width?
It seems that whatever image is output (using the JSON format) is resized to fit a 22x22 square.
For some kind of images (e.g. time series plots) it would be better to fit only by height, so it is possible to have a width greater than 22px.

you can specify the size of the icon in the button's settings:

Oh, I totally oversaw that. Thanks for your reply!