Error which I get is:
identify: no decode delegate for this image format `/tmp/stream20131115-12525-1jng9sh.png' @ error/constitute.c/ReadImage/552
What it means: It means that it does not recognize file type extension "png"
Solution:
I configure ImageMagick so that it is able to recognize png format.
What I did:
Checked the list of formats supported:
identify -list format
Found that jpeg and png were not there.
How to add them.
1) Download jpeg and png from http://www.imagemagick.org/download/delegaetes/
2)Execute "tar -xvf file_name.tar"
Change directories to the newly created "file_name"
Execute "./configure"
Execute "make"
Execute "make install"
Do the above for both jpeg and png.
3) Now we need to reconfigure ImageMagick:
Go to the folder where you have stored it.
a) execute ./configure --with-jpeg=yes --with-jp2=yes -with-png=yes
b) sudo make
c) sudo make install
After this check whether it is there in DELEGATES.
execute
identify -list format
Both the formats should now be a part of format.
If the above gives error like:
“error while loading shared libraries: libjpeg.so.9: cannot open shared object file: No such file or directory”
execute :
This would solve the problem. Enjoy.
identify: no decode delegate for this image format `/tmp/stream20131115-12525-1jng9sh.png' @ error/constitute.c/ReadImage/552
What it means: It means that it does not recognize file type extension "png"
Solution:
I configure ImageMagick so that it is able to recognize png format.
What I did:
Checked the list of formats supported:
identify -list format
Found that jpeg and png were not there.
How to add them.
1) Download jpeg and png from http://www.imagemagick.org/download/delegaetes/
2)Execute "tar -xvf file_name.tar"
Change directories to the newly created "file_name"
Execute "./configure"
Execute "make"
Execute "make install"
Do the above for both jpeg and png.
3) Now we need to reconfigure ImageMagick:
Go to the folder where you have stored it.
a) execute ./configure --with-jpeg=yes --with-jp2=yes -with-png=yes
b) sudo make
c) sudo make install
After this check whether it is there in DELEGATES.
execute
identify -list format
Both the formats should now be a part of format.
If the above gives error like:
“error while loading shared libraries: libjpeg.so.9: cannot open shared object file: No such file or directory”
execute :
sudo apt-get install libjpeg62
This would solve the problem. Enjoy.
No comments:
Post a Comment