vips icon indicating copy to clipboard operation
vips copied to clipboard

Output image size not correct

Open donlzx opened this issue 10 years ago • 2 comments

Resize a image (size 4928x3280) to width=150 using the vips-cmd tool:

vips-cmd -file test.jpg -width 150 -height 0 > out.jpg

The output image has size 149x99 (should be 150x100)

donlzx avatar Aug 04 '15 01:08 donlzx

I think this is related to https://github.com/lovell/sharp/issues/238 fixed by https://github.com/lovell/sharp/commit/b8885c1faa325aaf711e5ea3335f56462413781c

lovell avatar Aug 04 '15 10:08 lovell

Thanks for pointing this out. I'll fix it soon.

DAddYE avatar Aug 04 '15 20:08 DAddYE