Re: Bug #10615 Updated: JPEG size info not properly returned on unmodified JPEG images from digicam
| From: | Rick Johnson | Date: | Thu, 03 May 2001 04:44:16 +0000 |
| Subject: | Re: Bug #10615 Updated: JPEG size info not properly returned on unmodified JPEG images from digicam | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-53508@lists.php.net to get a copy of this message | ||
Try this instead (updated my original code to use ImageMagick instead -
slower, but functional).
I created a few files which may help.
Script 1 calls an image that doesn't work properly. Script 2 calls an image
from the same camera, however the image was rotated using a lossless method
before it was uploaded. It was, however, modified none the less.
Script 1:
http://pictures.ourjohnsonfamily.com/2000/april%2002,%202000%20-%
20disneyland%20car%20ding/index2.php
Script 1's source:
http://pictures.ourjohnsonfamily.com/2000/april%2002,%202000%20-%
20disneyland%20car%20ding/index2.phps
Script 2:
http://pictures.ourjohnsonfamily.com/2000/april%2002,%202000%20-%
20disneyland%20car%20ding/index3.php
Script 2's source:
http://pictures.ourjohnsonfamily.com/2000/april%2002,%202000%20-%
20disneyland%20car%20ding/index3.phps
Hope this helps, and sorry for changing out from under you.
-Rick
> ID: 10615
> Updated by: sniper
> Reported By: htmlspinnr@htmlspinnr.org
> Old-Status: Open
> Status: Feedback
> Bug Type: GetImageSize related
> PHP Version: 4.0.5
> Assigned To:
> Comments:
>
> That example script of your doesn't have any getimagesize()
> calls in it. So please add one example script into this bug
> report that doesn't work.
>
> --Jani
>
>
> Previous Comments:
> --------------------------------------------------------------------------
-
>
> [2001-05-02 12:58:54] htmlspinnr@htmlspinnr.org
> Issue noted in 4.0.5 and 4.0.6-dev. Currently running 4.0.6-dev
>
> Location where "issue" can be viewed.
>
>
> http://pictures.ourjohnsonfamily.com/2001/april%2014,%202001%20-%20easter%
20eve%20and%20prego%20pics/
>
> On demo page - thumbnails in left frame should display image
> dimensions. Since 4.0.5, image info is only obtainable if image file
> has been modified in any way. If images have been pulled straight from
> digicam, information cannot be displayed.
>
> Script source can be viewed here:
> http://www.htmlspinnr.org/photodisplay.phps
>
> Find function GetDimension, this is where GetImageSize is called.
>
> Function worked properly in 4.0.4pl1, so I'm not blaming code.
>
> configure string:
> ./configure '--prefix=/usr' '--with-mysql=/usr' '--with-apxs'
> '--sysconfdir=/etc' '--with-config-file-path=/etc'
> '--enable-inline-optimization' '--enable-ftp' '--enable-ssl'
> '--enable-imap' '--with-gd' '--with-gd-dir=/usr/lib'
> '--with-jpeg'
> '--with-png' '--with-jpeg-dir' '--with-png-dir'
> '--with-freetype-dir=/usr/local/lib' '--enable-gd-native-ttf'
>
> other runtime info (incl. compile string, etc.)
> http://www.ourjohnsonfamily.com/info.php ( a file containing
> <?
> PHP_INFO ?>)
>
>
> --------------------------------------------------------------------------
-
>
>
>
> ATTENTION! Do NOT reply to this email!
> To reply, use the web interface found at
> http://bugs.php.net/?id=10615&edit=2
--
Rick Johnson - htmlspinnr@htmlspinnr.org (via SquirrelMail)
Systems Administrator - XO Communications
ICQ UID#: 1180484 - AIM/Yahoo/MSN/Xoom/etc. Screen Name: HTMLSpinnr
Our Family Website: http://www.ourjohnsonfamily.com
PGP Fingerprint: DF87 F703 1537 1E66 E148 5705 27A0 4F32 8A70 FC08