Webmaster Key - Discussion Forums


Welcome, Guest. Please login or register.
Did you miss your activation email?
February 08, 2012, 06:26:30 PM

Login with username, password and session length
Welceome to Forums!

Important information for guests and new members:

In order to understand the full benefits of becoming an active member of this forum, please review the following information on guest and new member restrictions. These forum changes have been prompted by an overwhelming and unreasonable amount of bot postings and incoherent guest spam messages. We wish to prevent these events from happening in the future and make our community a more comfortable place for all of our members.

For guests:

Guests are not allowed to open new topics, polls, or posts attachments.
If you wish to open up new discussions on this forum, we encourage you to register.

For new members:

New members with less than five posts are not allowed to modify additional profile information such as avatars, contact information, biographies, and signatures. However, new members are encouraged to post their own topics or reply to topics initiated by other members. Become active on the forums and 5 posts should be an easy task!

We are a diverse community with members from all over the world. We encourage new ideas and interesting conversation. Do not be afraid to post webmaster/computer-related questions or problems, as our active members are always willing to help when they are able. Interested? Join us.

+ Webmaster Key Forums
|-+ General Discussion
| |-+ Tech Corner
| | |-+ JPEG PNG GIF Image Size Code
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Stumble Upon! Digg It! del.icio.us! Add to Technorati! ReddIt!  Send this topic Print
Author Topic: JPEG PNG GIF Image Size Code  (Read 2680 times)
Andy
Administrator
Veteran
*****
Posts: 5 752



« on: October 19, 2006, 03:39:07 PM »

I have worked out how to extract this info from image files if people badly want to know. Most are easy except for JPEG. For some reason, the JFIF(JPEG) spec is missing alot of info. The Exif version of Jpeg is easy to understand though, this includes lots of digital-camera specific data.
Report to moderator   Logged

SensoVision
Administrator
Veteran
*****
Posts: 5 857


I'm proud user of Debian GNU/Linux OS


WWW
« Reply #1 on: October 19, 2006, 04:44:31 PM »

Andy, what language you've used to extract this data? I've develop small script for extracting EXIF from JPEG in PHP to implement it into photo gallery but decide not include it first version of software to make release happen faster.
What about other image formats, I thought that only RAW and JPEG contain such information or I'm wrong and some other formats have text data as well?
Report to moderator   Logged

Denis
Andy
Administrator
Veteran
*****
Posts: 5 752



« Reply #2 on: October 20, 2006, 08:51:39 AM »

You are right as regards the simple web image formats. The code I have developed is only to get the dimensions of the image. I am using this code in my web dev software to help make the img html include width and height parameters. I am not looking at the Exif data at all. I am using RealBasic btw offline.

btw I think PHP has some functions to get EXIF data easily from a JPEG file. But it needs to be enabled in the php installation.

http://www.php.net/exif
« Last Edit: October 20, 2006, 08:55:42 AM by Andy » Report to moderator   Logged

SensoVision
Administrator
Veteran
*****
Posts: 5 857


I'm proud user of Debian GNU/Linux OS


WWW
« Reply #3 on: October 20, 2006, 08:39:06 PM »

Quote
btw I think PHP has some functions to get EXIF data easily from a JPEG file. But it needs to be enabled in the php installation.

http://www.php.net/exif
exactly, this library I've used to extract EXIF data, it's pretty easy to do.
Report to moderator   Logged

Denis
Pages: [1] Go Up Stumble Upon! Digg It! del.icio.us! Add to Technorati! ReddIt!  Send this topic Print 
+ Webmaster Key Forums
|-+ General Discussion
| |-+ Tech Corner
| | |-+ JPEG PNG GIF Image Size Code

Jump to:  
« previous next »


Our Partners
RelmaxTOP Ranking System Web Hosting RelmaxTOP Ranking System
Staff Sites
12Noon[12Noon Gallery] Andy[Urgentclick]
Tamuril[Tamuril's Digital Art Exhibit] Sensovision
Powered by MySQL Powered by PHP We are hosted by Relmax Inc. |Our Privacy Policy | Sitemap
Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
Forum design by Tamuril © 2005.
Valid XHTML 1.0! Valid CSS!