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'm trying to build a libvips from source with poppler and image magick, as I need to create .png thumbnails for BMP, PDF, PSD file formats.
After building, vipsthumbnail correctly creates thumbnails for BMP, WEBP, PDF, PSD. But if being used through sharp, it only handles PDF and WEBP, and raises Error: Input file contains unsupported image format for BMP and PSD.
I made this repo to reproduce the described behaviour.
Support for libvips compiled against ImageMagick 7 was added recently via #2258 and will be in the next release.
lovell
changed the title
Custom libvips with ImageMagick throws Input file contains unsupported image format. But vipsthumbnail handles the same images perfectly.
Custom libvips with ImageMagick 7 throws Input file contains unsupported image format. But vipsthumbnail handles the same images perfectly.
Jul 21, 2020
I'm trying to build a libvips from source with poppler and image magick, as I need to create .png thumbnails for BMP, PDF, PSD file formats.
After building,
vipsthumbnail
correctly creates thumbnails for BMP, WEBP, PDF, PSD. But if being used through sharp, it only handles PDF and WEBP, and raisesError: Input file contains unsupported image format
for BMP and PSD.I made this repo to reproduce the described behaviour.
Yes to both.

I've made a repo reproducing the issue: sharp-custom-vips
The expected behavior is to have the thumbnails generated
Provided the link in answer no. 2
Yes, samples are inclued in the repo
npx envinfo --binaries --system
The text was updated successfully, but these errors were encountered: