Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Warning: Division by zero exifReader.inc.php  (Read 3301 times)

0 Members and 1 Guest are viewing this topic.

kieranmullen

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Warning: Division by zero exifReader.inc.php
« on: November 15, 2004, 09:55:41 am »

Image and page is viewed and rendered properly but this error appears at the top
Warning: Division by zero in /var/www/html/coppermine/include/exifReader.inc.php on line 812

I tried other jpgs with EXIF information in it and it was read properly.

The file(s) being read that caused the error was a 1 MB jpg that was converted from a 110 MB tiff file which contained EXIF information was mass converted using Faststone Image Resizer http://www.faststoneserver.com/FSResizerDetail.htm

I downloaded a EXIF reader from http://www.takenet.or.jp/~ryuuji/minisoft/exifread/english/  to confirm EXIF data. ...  The EXIF information on the 110 MB tiffs was all there and working properly and wa also found in the the jpgs that were mass convered

So the EXIF reader works on other items so I would assume it works fine and I verified the EXIF data.

Indeas?

Thanks
KM
Logged

kieranmullen

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: Warning: Division by zero exifReader.inc.php
« Reply #1 on: November 15, 2004, 10:33:27 am »

Something I just thougt off when trying to view my jpgs on my archos av320 http://archos.com  It couldnt read progressive jpgs, so perhaps coppermine cant read EXIF information from progressive jpgs?

I did a search on progressive  but did not computer up with anything when searchine by subject.

I guess I can try converting one of the 112 MB tiffs to jpgs without the progressive option t see if the erro is still around.

But for now I am going to bed.

:-)

KM
Logged

kieranmullen

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: Warning: Division by zero exifReader.inc.php
« Reply #2 on: November 16, 2004, 01:24:40 am »

Update...

I converted TIFF to JPGs ( 3565 *5336 pixels) using non progressive. Uploaded and there was no error! 

The bad thing though it that the EXIF information which is still there (I checked using 3rd party tool)  is still not being read.

I added these via a batch add instead of one by one.

Would this be becuase of the dimensions or the fact that they were bulk added?

Thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.