Mail Index

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ApacheGallery] Problems with calculation of ShutterSpeedValue..

On Thu, Jan 16, 2003 at 04:07:46PM +0100, Hans Joergensen wrote:
> Hey,
> The code calculating ShutterSpeed in r113 has some problems,
> or, rather the Exif-format that has them..
> If a picture with a shutter of over 1 sec is present in the gallery,
> A::G breaks with a diversion by zero.
> For some reason the ShutterSpeedValue is set very high in these pictures,
> 429496728.6 is the ShutterSpeedValue of a picture taken with my Minolta,
>  shutter set at 1.5sec.

It had a problem with above 1 second on my canon pics too, I fixed that
but it isn't related to your division by zero.

Can you try this:

perl -le 'use Image::Info qw(image_info); print (image_info(shift)->{ShutterSpeedValue});' <picture.jpg>
and give me the output for a few of your pictures (among them the 1.5 
second one).

  Thomas Eibner <> DnsZone <>
  mod_pointer <> <>
  !(C)<>                  <>
          Putting the HEST in .COM <>