cannot reduce jpg files in size
Posted: 2008-07-22T11:42:07-07:00
I've installed ImageMagick:
Version: ImageMagick 6.4.1 05/16/08 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
on cygwin.
When trying to reduce a .jpg, this is what happens:
$ convert -resize %25 DSC06963.JPG DSC06963_small.JPG
convert: no decode delegate for this image format `DSC06963.JPG'.
convert: missing an image filename `DSC06963_small.JPG'.
So then I tried this:
$ identify -list format
Format Module Mode Description
-------------------------------------------------------------------------------
* native blob support
Seems like .jpg is missing?
I also tried:
$ convert -debug all -resize %25 DSC06963.JPG DSC06963_small.JPG
and got lots of stuff:
2008-07-22T18:28:54+02:00 0:01 0.345u 6.4.1 Exception convert[1776]: module.c/unknown/1092/Exception
unable to load module `/usr/local/ImageMagick-6.4.1/lib/ImageMagick-6.4.1/modules-Q16/coders/jpeg.la': can't open the module
2008-07-22T18:28:54+02:00 0:01 0.345u 6.4.1 Blob convert[1776]: blob.c/unknown/2356/Blob
read 3 magic header bytes
2008-07-22T18:28:54+02:00 0:01 0.345u 6.4.1 Module convert[1776]: module.c/unknown/1077/Module
Searching for module "JPEG" using filename "jpeg.la"
2008-07-22T18:28:54+02:00 0:01 0.345u 6.4.1 Module convert[1776]: module.c/unknown/479/Module
Searching for coder module file "jpeg.la" ...
2008-07-22T18:28:54+02:00 0:01 0.391u 6.4.1 Exception convert[1776]: module.c/unknown/1092/Exception
unable to load module `/usr/local/ImageMagick-6.4.1/lib/ImageMagick-6.4.1/modules-Q16/coders/jpeg.la': can't open the module
2008-07-22T18:28:54+02:00 0:01 0.391u 6.4.1 Cache convert[1776]: cache.c/unknown/2162/Cache
destroy
2008-07-22T18:28:54+02:00 0:01 0.391u 6.4.1 Configure convert[1776]: configure.c/unknown/482/Configure
Searching for configure file: "/usr/local/ImageMagick-6.4.1/lib/ImageMagick-6.4.1/config/magic.xml"
2008-07-22T18:28:54+02:00 0:01 0.407u 6.4.1 Configure convert[1776]: configure.c/unknown/482/Configure
Searching for configure file: "/usr/local/ImageMagick-6.4.1/share/ImageMagick-6.4.1/config/magic.xml"
2008-07-22T18:28:54+02:00 0:01 0.407u 6.4.1 Configure convert[1776]: configure.c/unknown/482/Configure
Searching for configure file: "/home/Administrator/.magick/magic.xml"
2008-07-22T18:28:54+02:00 0:01 0.407u 6.4.1 Configure convert[1776]: configure.c/unknown/482/Configure
Searching for configure file: "magic.xml"
2008-07-22T18:28:54+02:00 0:01 0.407u 6.4.1 Configure convert[1776]: magic.c/unknown/679/Configure
Loading magic map "/usr/local/ImageMagick-6.4.1/share/ImageMagick-6.4.1/config/magic.xml" ...
2008-07-22T18:28:54+02:00 0:01 0.454u 6.4.1 Module convert[1776]: module.c/unknown/1077/Module
Searching for module "JPEG" using filename "jpeg.la"
2008-07-22T18:28:54+02:00 0:01 0.454u 6.4.1 Module convert[1776]: module.c/unknown/479/Module
Searching for coder module file "jpeg.la" ...
2008-07-22T18:28:54+02:00 0:02 0.501u 6.4.1 Exception convert[1776]: module.c/unknown/1092/Exception
unable to load module `/usr/local/ImageMagick-6.4.1/lib/ImageMagick-6.4.1/modules-Q16/coders/jpeg.la': can't open the module
2008-07-22T18:28:54+02:00 0:02 0.501u 6.4.1 Module convert[1776]: module.c/unknown/1077/Module
Searching for module "JPEG" using filename "jpeg.la"
2008-07-22T18:28:54+02:00 0:02 0.501u 6.4.1 Module convert[1776]: module.c/unknown/479/Module
Searching for coder module file "jpeg.la" ...
2008-07-22T18:28:54+02:00 0:02 0.562u 6.4.1 Exception convert[1776]: module.c/unknown/1092/Exception
unable to load module `/usr/local/ImageMagick-6.4.1/lib/ImageMagick-6.4.1/modules-Q16/coders/jpeg.la': can't open the module
I look for jpeg.la:
$ ls -l /usr/local/ImageMagick-6.4.1/lib/ImageMagick-6.4.1/modules-Q16/coders/jpeg.la
-rwxr-xr-x 1 Administrator None 1133 May 16 23:21 /usr/local/ImageMagick-6.4.1/lib/ImageMagick-6.4.1/modules-Q16/coders/jpeg.la
So I do have it. I installed this as a Unix binary release for cugwin from:
http://www.imagemagick.org/script/binar ... s.php#unix
Could anyone point me in the right direction?
thanks,
George
Version: ImageMagick 6.4.1 05/16/08 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
on cygwin.
When trying to reduce a .jpg, this is what happens:
$ convert -resize %25 DSC06963.JPG DSC06963_small.JPG
convert: no decode delegate for this image format `DSC06963.JPG'.
convert: missing an image filename `DSC06963_small.JPG'.
So then I tried this:
$ identify -list format
Format Module Mode Description
-------------------------------------------------------------------------------
* native blob support
Seems like .jpg is missing?
I also tried:
$ convert -debug all -resize %25 DSC06963.JPG DSC06963_small.JPG
and got lots of stuff:
2008-07-22T18:28:54+02:00 0:01 0.345u 6.4.1 Exception convert[1776]: module.c/unknown/1092/Exception
unable to load module `/usr/local/ImageMagick-6.4.1/lib/ImageMagick-6.4.1/modules-Q16/coders/jpeg.la': can't open the module
2008-07-22T18:28:54+02:00 0:01 0.345u 6.4.1 Blob convert[1776]: blob.c/unknown/2356/Blob
read 3 magic header bytes
2008-07-22T18:28:54+02:00 0:01 0.345u 6.4.1 Module convert[1776]: module.c/unknown/1077/Module
Searching for module "JPEG" using filename "jpeg.la"
2008-07-22T18:28:54+02:00 0:01 0.345u 6.4.1 Module convert[1776]: module.c/unknown/479/Module
Searching for coder module file "jpeg.la" ...
2008-07-22T18:28:54+02:00 0:01 0.391u 6.4.1 Exception convert[1776]: module.c/unknown/1092/Exception
unable to load module `/usr/local/ImageMagick-6.4.1/lib/ImageMagick-6.4.1/modules-Q16/coders/jpeg.la': can't open the module
2008-07-22T18:28:54+02:00 0:01 0.391u 6.4.1 Cache convert[1776]: cache.c/unknown/2162/Cache
destroy
2008-07-22T18:28:54+02:00 0:01 0.391u 6.4.1 Configure convert[1776]: configure.c/unknown/482/Configure
Searching for configure file: "/usr/local/ImageMagick-6.4.1/lib/ImageMagick-6.4.1/config/magic.xml"
2008-07-22T18:28:54+02:00 0:01 0.407u 6.4.1 Configure convert[1776]: configure.c/unknown/482/Configure
Searching for configure file: "/usr/local/ImageMagick-6.4.1/share/ImageMagick-6.4.1/config/magic.xml"
2008-07-22T18:28:54+02:00 0:01 0.407u 6.4.1 Configure convert[1776]: configure.c/unknown/482/Configure
Searching for configure file: "/home/Administrator/.magick/magic.xml"
2008-07-22T18:28:54+02:00 0:01 0.407u 6.4.1 Configure convert[1776]: configure.c/unknown/482/Configure
Searching for configure file: "magic.xml"
2008-07-22T18:28:54+02:00 0:01 0.407u 6.4.1 Configure convert[1776]: magic.c/unknown/679/Configure
Loading magic map "/usr/local/ImageMagick-6.4.1/share/ImageMagick-6.4.1/config/magic.xml" ...
2008-07-22T18:28:54+02:00 0:01 0.454u 6.4.1 Module convert[1776]: module.c/unknown/1077/Module
Searching for module "JPEG" using filename "jpeg.la"
2008-07-22T18:28:54+02:00 0:01 0.454u 6.4.1 Module convert[1776]: module.c/unknown/479/Module
Searching for coder module file "jpeg.la" ...
2008-07-22T18:28:54+02:00 0:02 0.501u 6.4.1 Exception convert[1776]: module.c/unknown/1092/Exception
unable to load module `/usr/local/ImageMagick-6.4.1/lib/ImageMagick-6.4.1/modules-Q16/coders/jpeg.la': can't open the module
2008-07-22T18:28:54+02:00 0:02 0.501u 6.4.1 Module convert[1776]: module.c/unknown/1077/Module
Searching for module "JPEG" using filename "jpeg.la"
2008-07-22T18:28:54+02:00 0:02 0.501u 6.4.1 Module convert[1776]: module.c/unknown/479/Module
Searching for coder module file "jpeg.la" ...
2008-07-22T18:28:54+02:00 0:02 0.562u 6.4.1 Exception convert[1776]: module.c/unknown/1092/Exception
unable to load module `/usr/local/ImageMagick-6.4.1/lib/ImageMagick-6.4.1/modules-Q16/coders/jpeg.la': can't open the module
I look for jpeg.la:
$ ls -l /usr/local/ImageMagick-6.4.1/lib/ImageMagick-6.4.1/modules-Q16/coders/jpeg.la
-rwxr-xr-x 1 Administrator None 1133 May 16 23:21 /usr/local/ImageMagick-6.4.1/lib/ImageMagick-6.4.1/modules-Q16/coders/jpeg.la
So I do have it. I installed this as a Unix binary release for cugwin from:
http://www.imagemagick.org/script/binar ... s.php#unix
Could anyone point me in the right direction?
thanks,
George