Speed up ImageMagick with libjpeg-turbo
Posted: 2013-08-30T07:16:37-07:00
Hi,
I did some development in a local environment. I put it online two days ago and was a bit disapointed by the time I need to resize image. So I was looking for all the tips I could find to resize my images faster.
First things I did, was to configure IM in 8-bits mode instead of 16-bits. Then I read about the libjpeg-turbo which is supposed to be 2x4 times faster to decode/encode JPG files. My only problem is that I don't know how to install it.
Here's what I did so far:
Install libjpeg-turbo :
Install ImageMagick using these commands :
There were no errors when during the installation, everything went fine.
I didn't notice any change. How could I confirm that libjpeg-turbo is correctly install and set up?
Thank you in advance for any help.
Arnaud
I did some development in a local environment. I put it online two days ago and was a bit disapointed by the time I need to resize image. So I was looking for all the tips I could find to resize my images faster.
First things I did, was to configure IM in 8-bits mode instead of 16-bits. Then I read about the libjpeg-turbo which is supposed to be 2x4 times faster to decode/encode JPG files. My only problem is that I don't know how to install it.
Here's what I did so far:
Install libjpeg-turbo :
Code: Select all
# wget 'http://sourceforge.net/projects/libjpeg-turbo/files/1.3.0/libjpeg-turbo-official_1.3.0_amd64.deb/download' -O libjpeg-turbo_1.3.0_amd64.deb
# dpkg -i libjpeg-turbo_1.3.0_amd64.deb
Selecting previously deselected package libjpeg-turbo.
(Reading database ... 25967 files and directories currently installed.)
Unpacking libjpeg-turbo (from libjpeg-turbo_1.0.1_i386.deb) ...
Setting up libjpeg-turbo (1.0.1-20100909) ...
Code: Select all
./configure --with-modules --with-perl --disable-static --with-quantum-depth=8
make
sudo make install
I didn't notice any change. How could I confirm that libjpeg-turbo is correctly install and set up?
Thank you in advance for any help.
Arnaud