Tiny Core Extensions > TCE Talk

Imagemagick, no decode delegate for this image format `JPEG'

(1/3) > >>

puppybyte!:
I am using the 32bit version on my TC13.  With command of convert sample.jpg -rotate 5 out.jpg  I get an error with


--- Code: ---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.

--- End code ---

on terminal convert -version I get,

--- Code: ---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

--- End code ---

there was a similar problem here:  http://forum.tinycorelinux.net/index.php/topic,23622.msg148069.html#msg148069

is there a solution for this?

Rich:
Hi puppybyte!
Are you really looking to rotate 5 degrees? Or are you looking to rotate in 90 degree increments?

patrikg:
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:

--- Code: (bash) ---ldd $(which convert)
--- End code ---

Something like this as result(this is small of my result):

--- Code: (bash) ---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)

--- End code ---

And if ImageMagic don't works, you could try ffmpeg, to do transpose a image.
Like this:

--- Code: (bash) ---ffmpeg -y -i 'sample.jpg' -vf transpose=2 'out.jpg'
--- End code ---

puppybyte!:

--- Quote from: Rich on March 01, 2022, 05:18:26 PM ---Hi puppybyte!
Are you really looking to rotate 5 degrees? Or are you looking to rotate in 90 degree increments?

--- End quote ---

I entered 5 degrees as a test...

Rich:
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

Navigation

[0] Message Index

[#] Next page

Go to full version