Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #1  
Old 03-27-2005, 09:04 AM
dpbeatley Offline
pp regular
 
Join Date: Mar 2005
Location: New York
Posts: 34
EXIF DATA AND GD LIBRARY RESIZE

My EXIF data gets lost when using the hacked version of admin index.php by utoks. This hack will resize images (and make wallpaper) to a specified size- for example 600px wide.

I noticed that images resized with the GD library lose their EXIF metadata. Does anyone know if the GD library IS CAPABLE of preserving the EXIF data? The utoks hack was neat in that I didn't have to manually resize my images down to my blog's maxium width. Otherwise, it's back to the manual stuff. BTW, ACDSEE does preserve the EXIF data using its resize tool - for those that would like to know.

Cheers
Reply With Quote
  #2  
Old 03-28-2005, 10:22 AM
reflejandome Offline
pixelpost guru
 
Join Date: Mar 2005
Posts: 124
Send a message via MSN to reflejandome Send a message via Yahoo to reflejandome
Re: EXIF DATA AND GD LIBRARY RESIZE

Quote:
Originally Posted by dpbeatley
My EXIF data gets lost when using the hacked version of admin index.php by utoks. This hack will resize images (and make wallpaper) to a specified size- for example 600px wide.

I noticed that images resized with the GD library lose their EXIF metadata. Does anyone know if the GD library IS CAPABLE of preserving the EXIF data? The utoks hack was neat in that I didn't have to manually resize my images down to my blog's maxium width. Otherwise, it's back to the manual stuff. BTW, ACDSEE does preserve the EXIF data using its resize tool - for those that would to know.

Cheers
I think there is a problem with version 1 of GD . Version 2 dont have it, you can search it in forums
__________________
reflectingmyself photoblog :: reflejandome fotoblog [ http://www.reflejandome.com ]
Reply With Quote
  #3  
Old 03-28-2005, 05:17 PM
dpbeatley Offline
pp regular
 
Join Date: Mar 2005
Location: New York
Posts: 34
Hi thanks for the info. However, I believe ver 2 of the GD lib still has the problem. Here is my install info via pixelpost admin page:

Quote:
PHP-version 4.3.10

MySQL version 4.0.23-standard

GD-lib bundled (2.0.28 compatible)

Server software Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a PHP-CGI/0.1b

EXIF Your php was compiled with exif-enabled. This means you can add additional exif-information to your images such as camera model, aperture, exposure time and more.
There are certain tags to add to your templates for this. Check pixelpost homepage to learn more.
Have you used this hack and do you see the problem? If not, then what version of the GD lib are you using?

Thanks again!
Reply With Quote
  #4  
Old 03-28-2005, 08:52 PM
reflejandome Offline
pixelpost guru
 
Join Date: Mar 2005
Posts: 124
Send a message via MSN to reflejandome Send a message via Yahoo to reflejandome
I haver apache 2 and php version 5, not 4, the GDI is the same as you.
This is the information of GD

[gd] => Array
(
[GD Support ] => Array
(
[0] => enabled
)

[GD Version ] => Array
(
[0] => bundled (2.0.28 compatible)
)

[FreeType Support ] => Array
(
[0] => enabled
)

[FreeType Linkage ] => Array
(
[0] => with freetype
)

[FreeType Version ] => Array
(
[0] => 2.1.9
)

[GIF Read Support ] => Array
(
[0] => enabled
)

[GIF Create Support ] => Array
(
[0] => enabled
)

[JPG Support ] => Array
(
[0] => enabled
)

[PNG Support ] => Array
(
[0] => enabled
)

[WBMP Support ] => Array
(
[0] => enabled
)

[XBM Support ] => Array
(
[0] => enabled
)

)

I hope it can be useful
__________________
reflectingmyself photoblog :: reflejandome fotoblog [ http://www.reflejandome.com ]
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 03:41 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs