Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

/gems/ruby-vips-2.1.4/lib/vips/operation.rb:218:in `initialize': VipsOperation: class "gifsave" not found (Vips::Error) #354

serhiihiba started this conversation in General
Discussion options

On macos it works, on ubuntu not

You must be logged in to vote

Replies: 1 comment 2 replies

Comment options

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.

You must be logged in to vote
2 replies
Comment options

I'm not sure I understand, how I can build libvips with cgif?

Comment options

You'd need to compile the thing from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /