Page 2 of 2
Re: Conversion from .CR2 or .NEF to .JPG completely removes
Posted: 2010-10-27T10:22:31-07:00
by Bonzo
I do not think ImageMagick even finds the EXIF data in a CR2 image. If you use identify -verbose IMG_0792.CR2 there is no data displayed.
I thought you could save the data to a file and use jhead to write it back but I do not know if that would work.
Re: Conversion from .CR2 or .NEF to .JPG completely removes
Posted: 2010-10-27T10:24:36-07:00
by Bonzo
Search for CR2 and you will find other posts about CR2 images and EXIF.
Re: Conversion from .CR2 or .NEF to .JPG completely removes
Posted: 2010-10-27T10:25:38-07:00
by TechnoPhil
Undestood... so we have to wait someone who explain us this procedure.
Now i'm trying to reinstall ImageMagick
Thank you!
Re: Conversion from .CR2 or .NEF to .JPG completely removes
Posted: 2010-11-03T14:01:04-07:00
by TechnoPhil
Hi Guys,
have you ever used the command:
sudo mogrify -format JPG *.CR2 after installed netpbm library?
This command let me convert CR2 images in JPEG but i can't change the compress ratio image mode!
What can you tell me about this command?
I want to convert in JPEG maximun quality

Re: Conversion from .CR2 or .NEF to .JPG completely removes
Posted: 2010-11-03T14:07:07-07:00
by fmw42
Re: Conversion from .CR2 or .NEF to .JPG completely removes
Posted: 2010-11-03T14:19:38-07:00
by TechnoPhil
Thank you!
This is exactly what i was looking for!

Re: Conversion from .CR2 or .NEF to .JPG completely removes
Posted: 2010-11-05T01:32:38-07:00
by TechnoPhil
Hi,
also is possible to set the DPI of an image!
The command is
-density

Re: Conversion from .CR2 or .NEF to .JPG completely removes
Posted: 2012-12-09T23:19:22-07:00
by ugodrus
Does anybody knows how to convert Nikon raw (.NEF) to JPEG with PHP IMAGICK.
Each time i open .NEF with php imagick program read it as tiff with low resolution (width 160px).
Please help.
Re: Conversion from .CR2 or .NEF to .JPG completely removes
Posted: 2012-12-10T08:04:57-07:00
by snibgo
The NEF file contains a low-resolution JPG, and that is what Imagick (which isn't ImageMagick) is converting.
ImageMagick can convert the main image by using dcraw as a delegate. I just use dcraw directly.
Re: Conversion from .CR2 or .NEF to .JPG completely removes
Posted: 2012-12-10T11:37:02-07:00
by fmw42
ugodrus wrote:Does anybody knows how to convert Nikon raw (.NEF) to JPEG with PHP IMAGICK.
Each time i open .NEF with php imagick program read it as tiff with low resolution (width 160px).
Please help.
Imagick is not a product of ImageMagick and not supported by Imagemagick. It has not been updated in quite a while and is missing many features of Imagemagick. If you really want to keep up and have more reliable results, then use PHP exec() command in place of Imagick. In general, you will not lose speed. See
viewtopic.php?f=4&t=16779