Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error generating thumbnails on Ubuntu 18.04 #192

dkam opened this issue Feb 20, 2019 · 2 comments

Error generating thumbnails on Ubuntu 18.04 #192

dkam opened this issue Feb 20, 2019 · 2 comments


Copy link

dkam commented Feb 20, 2019

I'm unable to generate thumbnails. I suspect there's a dependency not installed.

image = Vips::Image.new_from_file('70b18abf6682076f.jpeg')
Vips::Error (VipsOperation: class "thumbnail_image" not found)
Vips::Image.thumbnail( '70b18abf6682076f.jpeg', 100, {} )
Vips::Error (VipsOperation: class "thumbnail" not found)

The command line thumbnail action doesn't work either which I suppose is the cause of the issue. The thumbnail binary is installed:

$ vips thumbnail
vips: unknown action "thumbnail"
$ vipsthumbnail -?
  vipsthumbnail [OPTION…] - thumbnail generator

Ubuntu 18.04, libvips-tools, libvips-dev ,libtiff5-dev, libjpeg-turbo8-dev, libgsf-1-dev & libglib2.0-dev are installed.

Copy link

jcupitt commented Feb 20, 2019

Hello @dkam, Ubuntu 18.04 unfortunately bundles a very old libvips (8.4 I think? from 2016),

You'll probably need to build your own, or use something like Docker to run a cross-platform binary. There's a dockerfile here to build 8.7.1 on 18.04 which might help:

Copy link

dkam commented Feb 21, 2019

Awesome thanks very much!

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

No branches or pull requests

2 participants