Open
Description
Bug report
Trying to generate thumbnails for psd/html file that are supported via ImageMagick.
- If source is loaded from local file via
vipsthumbnail
, everything works fine; - If source is piped via stdin or loaded from file via
thumbnail_source
, it will fail withVipsForeignLoad: source is not in a known format
To Reproduce
- unzip test.psd.zip, you will get
test.psd
; - execute
vipsthumbnail test.psd
, thumbnail can be generated; - execute
cat test.psd | vips thumbnail_source '[descriptor=0]' .png 100
, got errorVipsForeignLoad: source is not in a known format
; - execute
vips thumbnail_source '[filename=test.psd]' .png 100
, got errorVipsForeignLoad: source is not in a known format
;
Expected behavior
Thumbnail can be generated no matter how to specify the source.
Actual behavior
Format cannot be detected if loading ImageMagick supported source from thumbnail_source
.
Screenshots
Environment
macOS 15.5
Additional context
Add any other context about the problem here.