-
Notifications
You must be signed in to change notification settings - Fork 62
/gems/ruby-vips-2.1.4/lib/vips/operation.rb:218:in `initialize': VipsOperation: class "gifsave" not found (Vips::Error) #354
-
On macos it works, on ubuntu not
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 2 replies
-
Hi @enotikalt,
gifsave
relies on the cgif
library, so you need to build libvips against that:
https://github.com/dloebl/cgif
brew does this, but the standard ubuntu package does not. You'll need to build libvips yourself if you need this feature.
You can use write_to_file
instead: this will examine the filename suffix and pick the best saver it can find. Without cgif, this will fall back to the slower and more memory hungry imagemagick.
Beta Was this translation helpful? Give feedback.
All reactions
-
🎉 1
-
I'm not sure I understand, how I can build libvips
with cgif
?
Beta Was this translation helpful? Give feedback.
All reactions
-
You'd need to compile the thing from source.
Beta Was this translation helpful? Give feedback.