Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: puppybyte! on March 01, 2022, 04:46:41 PM
-
I am using the 32bit version on my TC13. With command of convert sample.jpg -rotate 5 out.jpg I get an error with
tc@box:~/pictures/P4$ convert sample.jpg -rotate 5 out.jpg
convert: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/562.
convert: no images defined `out.jpg' @ error/convert.c/ConvertImageCommand/3273.
on terminal convert -version I get,
tc@box:~/pictures/P4$ convert -version
Version: ImageMagick 7.0.9-21 Q16 i686 2020-02-03 https://imagemagick.org
Copyright: �� 1999-2020 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules
Delegates (built-in): bzlib cairo fontconfig freetype jng jpeg lcms ltdl lzma pangocairo png rsvg tiff webp x xml zlib
there was a similar problem here: http://forum.tinycorelinux.net/index.php/topic,23622.msg148069.html#msg148069
is there a solution for this?
-
Hi puppybyte!
Are you really looking to rotate 5 degrees? Or are you looking to rotate in 90 degree increments?
-
You could try to see if convert need some library's that you don't have on the system.
If you don't have correct library you could see that the arrow that point to the correct file says something about file missing.
Execute this command to list the application's needed library's:
ldd $(which convert)
Something like this as result(this is small of my result):
libc.so.6 => /usr/lib/libc.so.6 (0x00007f436bad9000)
liblcms2.so.2 => /usr/lib/liblcms2.so.2 (0x00007f436ba73000)
libraqm.so.0 => /usr/lib/libraqm.so.0 (0x00007f436ba6b000)
liblqr-1.so.0 => /usr/lib/liblqr-1.so.0 (0x00007f436ba5b000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f436b8cf000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f436b87f000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f436b7b4000)
And if ImageMagic don't works, you could try ffmpeg, to do transpose a image.
Like this:
ffmpeg -y -i 'sample.jpg' -vf transpose=2 'out.jpg'
-
Hi puppybyte!
Are you really looking to rotate 5 degrees? Or are you looking to rotate in 90 degree increments?
I entered 5 degrees as a test...
-
Hi puppybyte!
If you only want to rotate in 90 degree increments, resize, and convert between formats (jpg, png, bmp, etc), then
maybe this will be of interest:
http://forum.tinycorelinux.net/index.php/topic,24900.0.html
-
Hi puppybyte!
If you only want to rotate in 90 degree increments, resize, and convert between formats (jpg, png, bmp, etc), then
maybe this will be of interest:
http://forum.tinycorelinux.net/index.php/topic,24900.0.html
I actually need about 10 degrees..., wanted to see what 5 degrees look like.
-
any suggestion on how to fix this error in 32bit IMagick?
convert: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/562.
-
Hi puppybyte!
Run this command:
identify -list format > formats.txt
Then open the file formats.txt and paste the contents into your next post using code tags.
-
Hi puppybyte!
Also, attach a copy of:
/usr/local/etc/ImageMagick-7/policy.xml
to your next post.
-
Hi Rich.
formats.txt is created but empty.
policy.xml attached.
thanks
-
Hi puppybyte!
If you run:
identify -list format
Do you get any response?
Hide the policy file:
sudo mv /usr/local/etc/ImageMagick-7/policy.xml /usr/local/etc/ImageMagick-7/policy.xml.off
See if the convert command works then.
-
Hi puppybyte!
If you run:
identify -list format
Do you get any response?
Hide the policy file:
sudo mv /usr/local/etc/ImageMagick-7/policy.xml /usr/local/etc/ImageMagick-7/policy.xml.off
See if the convert command works then.
1. no response to identify -list format
2. I hid the policy file
3. convert command with same result.
tc@box:~/pictures/P4$ convert sample.jpg -rotate 5 out.jpg
convert: no decode delegate for this image format `JPEG' @ error/constitute.c/ReadImage/562.
convert: no images defined `out.jpg' @ error/convert.c/ConvertImageCommand/3273.
tc@box:~/pictures/P4$
-
The problem was the missing files:
/usr/local/lib/ImageMagick-7.0.9/modules-Q16HDRI/coders/*la
/usr/local/lib/ImageMagick-7.0.9/modules-Q16HDRI/filters/*la
..presumably required by libltdl to load the convert libs
Refactored imagemagick/imagemagick-dev posted.