Open
Description
Hi Libvips team, I plan to move from ImageMagick to Libvips, but I have noticed that Libvips is slower and consumes more memory than ImageMagick when resize small image, I tried 144kb, 500kb, 1mb, 5mb, and 10mb, they all need less time and less memory than ImageMagick except 144kb and 500kb.
The commands I use
//ImageMagick
//takes 0.10 seconds and memory 10mb
convert 500kB.png -resize 64x64! 500kB-out.png
// 0.06 seconds and memory 7.28mb
convert 144kb.png -resize 64x64! 144kb-im.png
//Libvips
//takes 0.41 seconds and memory 10.6mb
vipsthumbnail 500kB.png --size 64x64 -o 500kB-out-1.png
// 0.17 seconds and memory 10.37mb
vipsthumbnail 144kb.png --size 64x64 -o 144kb_libvips.png
Maybe there are some configurations I missed? I wish Libvips consumes the similar time and memory as ImageMagick, is it possible?
Metadata
Metadata
Assignees
Labels
No labels