Wow! Thanks Bob! I got hit by the flu, so was down the past few days with a high fever. I was just feeling better so I thought I would check if you had responded and here I find not only have you responded, but you have given me the fix. Feeling even better now, thanks again!
Optimize HEIC identify performance by deferring libheif initialization
Thanks Bob, I followed your advice above and ensured that AVX2 was supported. I then relized I had been testing wrong and that I was seeing performance gains. For anyone else that run into this here is what I was running to test enabling and disabling SIMD extensions: gm convert -size 3000x3000 -quality 90 gradient:blue-red -rotate 45 -blur 0x5 /tmp/test_complex_10.jpg python -c "import time; start=time.time(); import os; os.system('gm convert -background white -flatten -sampling-factor jpeg:preserve-settings...
Hi, I use Graphics Magic in java to transcode images into a lot of different sizes, just upgrade our libjpeg-turbo 2.1.5 to take advantage of improvements that were implemented in 1.5.9 that Added AVX2 SIMD implementations. see release noted here https://github.com/libjpeg-turbo/libjpeg-turbo/releases?page=3 I thought I would see a performance gain, but didn't see any. Was wondering if anyone else is using libjpeg-turbo with GraphicsMagic. My build for libjpeg-turbo and graphics magic is as follows:...
I also tested it with this heic image which is an example of where the primary image is not the first image.
Here was my multi-image heic that I used for testing.
Patch: use primary image for heic even when have multiple image
Here is a sample HEIC image with the Rotation set to 270 and the Orientation set to 6 which I used for testing.