Problems with convert

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
LeMacUser

Problems with convert

Post by LeMacUser »

Hello,

I get the following error when trying to convert an image taken with a nikon D70, 'tis rather irritating, because i ended up using photoshop to convert the images, which defeated the neat batch processing by shell that i was trying to do:

Can anyone help me with this issue? Really i was trying to convert the images from a big JPEG to smaller images, but simply trying to covert the type gives the appropriate error. I admit that i am new to ImageMagick, so it could be something quite simple, but i cant figure it out. I have tried to include as much information here as possible.

Thanks.

I used the binaries from
ftp://ftp.imagemagick.org/pub/ImageMagi ... 8.0.tar.gz

I then installed the libs and bins to /usr/local/lib and /usr/local/bin respectively.

Exiv information:
Filename : DSC_0013.JPG
Filesize : 2537816 Bytes
Camera make : NIKON CORPORATION
Camera model : NIKON D70
Image timestamp : 2007:03:21 16:24:01
Image number :
Exposure time : 1/100 s
Aperture : F4
Exposure bias : 0
Flash : Yes, auto, return light detected
Flash bias :
Focal length : 25.0 mm (35 mm equivalent: 37.0 mm)
Subject distance:
ISO speed : 800
Exposure mode : Not defined
Metering mode : Matrix
Macro mode :
Image quality : FINE
Exif Resolution : 3008 x 2000
White balance : AUTO
Thumbnail : JPEG, 8620 Bytes
Copyright :
Exif comment :



Command i tried to execute:
$ convert DSC_0013.JPG temp.png
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Configure convert[503]: magick.c/unknown/860/Configure
Register handler for signal: 6
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Configure convert[503]: magick.c/unknown/860/Configure
Register handler for signal: 8
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Configure convert[503]: magick.c/unknown/860/Configure
Register handler for signal: 1
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Configure convert[503]: magick.c/unknown/860/Configure
Register handler for signal: 2
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Configure convert[503]: magick.c/unknown/860/Configure
Register handler for signal: 3
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Configure convert[503]: magick.c/unknown/860/Configure
Register handler for signal: 15
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Configure convert[503]: magick.c/unknown/860/Configure
Register handler for signal: 24
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Configure convert[503]: magick.c/unknown/860/Configure
Register handler for signal: 25
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Configure convert[503]: utility.c/unknown/812/Configure
Command line: convert{DSC_0013.JPG}{temp.png}
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Configure convert[503]: configure.c/unknown/482/Configure
Searching for configure file: "/Users/macuser/.magick/coder.xml"
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Configure convert[503]: configure.c/unknown/482/Configure
Searching for configure file: "coder.xml"
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Configure convert[503]: coder.c/unknown/613/Configure
Loading coder map "built-in" ...
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Module convert[503]: module.c/unknown/1065/Module
Searching for module "JPEG" using filename "jpeg.la"
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Module convert[503]: module.c/unknown/582/Module
Searching for coder module file "jpeg.la" ...
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Module convert[503]: module.c/unknown/1065/Module
Searching for module "JPEG" using filename "jpeg.la"
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Module convert[503]: module.c/unknown/582/Module
Searching for coder module file "jpeg.la" ...
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Configure convert[503]: configure.c/unknown/482/Configure
Searching for configure file: "/Users/macuser/.magick/magic.xml"
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Configure convert[503]: configure.c/unknown/482/Configure
Searching for configure file: "magic.xml"
2007-03-21T17:55:34+11:00 0:01 0.000u 6.3.2 Configure convert[503]: magic.c/unknown/673/Configure
Loading magic map "built-in" ...
2007-03-21T17:55:34+11:00 0:01 0.010u 6.3.2 Module convert[503]: module.c/unknown/1065/Module
Searching for module "JPEG" using filename "jpeg.la"
2007-03-21T17:55:34+11:00 0:01 0.010u 6.3.2 Module convert[503]: module.c/unknown/582/Module
Searching for coder module file "jpeg.la" ...
2007-03-21T17:55:34+11:00 0:01 0.010u 6.3.2 Module convert[503]: module.c/unknown/1065/Module
Searching for module "JPEG" using filename "jpeg.la"
2007-03-21T17:55:34+11:00 0:01 0.010u 6.3.2 Module convert[503]: module.c/unknown/582/Module
Searching for coder module file "jpeg.la" ...
2007-03-21T17:55:34+11:00 0:01 0.010u 6.3.2 Configure convert[503]: configure.c/unknown/482/Configure
Searching for configure file: "/Users/macuser/.magick/delegates.xml"
2007-03-21T17:55:34+11:00 0:01 0.010u 6.3.2 Configure convert[503]: configure.c/unknown/482/Configure
Searching for configure file: "delegates.xml"
2007-03-21T17:55:34+11:00 0:01 0.010u 6.3.2 Configure convert[503]: delegate.c/unknown/1159/Configure
Loading delegate map "built-in" ...
convert: UnableToOpenConfigureFile `delegates.xml'.
convert: NoDecodeDelegateForThisImageFormat `DSC_0013.JPG'.
convert: MissingAnImageFilename `temp.png'.
LeMacUser

Re: Problems with convert

Post by LeMacUser »

Solved my own problem. It was much the same as the other mac user, however i chose to install to /usr/local/

So when i used sudo cp - r, then i found that the libs didnt copy correctly. So i redid it and problem solved.
Post Reply