Hi!

I accidentally wrote my last message just to stentz, so I write it again to the list:

(I uploaded the test dng http://www.deltadelta.de/nmz/img_2675.dng)

I did the following in a Perl script:

#****
use Image::Magick;

my $file = "img_2675.dng";
my $file2 = "img_2675_new.jpg";

my $src = new Image::Magick;
print($src->Read($file));
print "\n";
print($src->Write($file2));
print "\n";
#****

But I get:
Exception 350: LensInfo: Rational with zero denominator (num = 0). `img_2675.dng
'
from the first print.

This message comes from TiffRead. Do others get the same Message from other dngs (Not from dngs made from Canon cr2s)?

Why should LensInfo (does it come from the Exif infos?) cause this?
I tried with different dngs (made from cr2s from all my lenses) but all have the same behaviour.

And why is the LensInfo stored in a rational at all?

Greetings from Dani
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to