Hi ,
That's weird. Could the image file be truncated? Try uploading it somewhere.
I wouldn't use 8.11-- it's in active development and not very stable. I would stick to 8.10.
When I run following command:
vipsthumbnail /var/www/example.com/tmp/josephine-mb2016-3-2.jpg --eprofile srgb --size="4096x4096>" -o /var/www/example.com/tmp/josephine-mb2016-3-2.jpg[Q=90,interlace,profile=none,optimize_coding]
I get:
(vipsthumbnail:30921): VIPS-WARNING **: 19:16:13.505: read gave 2319 warnings
(vipsthumbnail:30921): VIPS-WARNING **: 19:16:13.507: VipsJpeg: Premature end of JPEG file
VipsJpeg: JPEG datastream contains no image
vipsthumbnail: unable to thumbnail /var/www/example.com/tmp/josephine-mb2016-3-2.jpg
VipsJpeg: Premature end of JPEG file
VipsJpeg: JPEG datastream contains no image
Image josephine-mb2016-3-2.jpg
has following dimensions 1000x662
.
My goal is resize image above "4096x4096" so I can start to cut thumbnails from it later on.
Expected behaviour: Optimize image with no resize.
My VIPS version: libvips 8.11.0-Thu Oct 1 06:21:43 UTC 2020
该提问来源于开源项目:libvips/libvips