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
I am trying to write a VIPS image into a (memory) buffer in VIPS format, however I'm getting an error:
irb(main):035:0> Vips::Image.black(100, 100).write_to_buffer ".vips"
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ruby-vips-2.2.0/lib/vips/operation.rb:228:in `build': vipssave_target: no filename associated with target (Vips::Error)
from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ruby-vips-2.2.0/lib/vips/operation.rb:483:in `call'
from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/ruby-vips-2.2.0/lib/vips/image.rb:638:in `write_to_buffer'
from (irb):35:in `<main>'
from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/irb-1.6.2/exe/irb:11:in `<top (required)>'
from C:/Ruby32-x64/bin/irb:33:in `load'
from C:/Ruby32-x64/bin/irb:33:in `<main>'
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
-
Greetings,
My first time using VIPS.
I am trying to write a VIPS image into a (memory) buffer in VIPS format, however I'm getting an error:
What would be the correct invocation?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions