Member
Member
dsoldi   2013-01-19, 01:54
#1

Hi, just installed R. 1.4.4 [4d20f7093e] (new clear installation).
My web server runs:
PHP Imagick library 3.0.1
ImageMagick 6.7.8-8 2012-11-06 Q16

I've uploaded some jpg image with no problems, but have a problem with Nikon NEF files (D90 camera).
Image size is detected (and stored in db) as 160x120 (!!) instead of 4352x2848 (actual size).
Thumbnails and image are related to the wrong size (very bad quality, of course)
The problem seems to be in Exif data reading.
I've noticed that "EXIFImageWidth" and "EXIFImageHeight" fields in db has "NULL" value (while "height" is 120 and "width" is 160).
Some ideas?

Member
Member
kagutsuchi   2013-01-19, 02:37
#2

http://www.imagemagick.org/discourse-server/viewtopic.php?p=93295#p93295

http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=12826

From these posts on the ImageMagick forums, it appears that the standard behavior for Imagick is to read the embedded preview JPG in a NEF file. It can't read raw image files on its own.

To correctly read NEF files, ImageMagick needs to use dcraw or ufraw as a decode delegate. delegates.xml is the file where this should be specified and coder.xml should contain a reference to the delegate.

For an example of a delegate: http://www.imagemagick.org/Usage/files/#delegate_dcraw

For ImageMagick resource reference: http://www.imagemagick.org/script/resources.php

Member
Member
dsoldi   2013-01-19, 11:31
#3

Thank you kagutsuchi!
So the problem is server-side? Unfortunately my ZP is hosted by an ISP.
I'will try this next month on my own server.
Thank you again.

Member
Member
dsoldi   2013-01-19, 14:24
#4

About Exif decoding: Nikon has a lot of variations about this (depending on camera model).

Here are codes for pro series cameras:

http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/Nikon.html

Is someone able to update exif.php/nikon.php ?

Administrator
Administrator
acrylian   2013-01-19, 14:56
#5

The best way would be to open a ticket.

Member
Member
sbillard   2013-01-19, 18:18
#6

Include in the ticket which tags specifically do you need. I shoot Nikon, and granted the D300s is not pro series, I have not seen anything needed missing.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.