You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The
Image#max
method isn't intuitive in Ruby.Only after checking the libvips docs I've realised it's because of how you are supposed to code in C where you allocate the array and give it to fill.
I propose to remove the array args and build them for user if he has passed
size
orx
, resulting in return value for the example above not:but either of these:
Beta Was this translation helpful? Give feedback.
All reactions