473,327 Members | 1,979 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

JPEG metadata

Does anyone aware of any program/apps/scripts that has the ability to
modify/add/create/delete metadata in any image type such as JPEG, GIF, PNG,
etc.

Question for the experts, is it wise to store information in the image file
instead of the database? Thanks
Jul 17 '05 #1
1 3998
Useko Netsumi wrote:
Does anyone aware of any program/apps/scripts that has the ability to
modify/add/create/delete metadata in any image type such as JPEG, GIF, PNG,
etc.

Yes. There is a specification to embed such information, it's called
EXIF (google it). Typically it's used by digital cameras but I don't
know much more about it then that. And YES again, PHP has a module you
can compile in which provides exif functionality.
Question for the experts, is it wise to store information in the image file
instead of the database? Thanks

It's a case of horses for courses. From a data modelling and design
point of view, if the metadata has a 1:1 relationsip with the image
instance entity, then sure, why not. From a performance point of view,
it is OK unless you want to search for images using the metadata (which
you probably do). From a maintanence point of view, it's great because
you don't even have to write database code or ensure access to a
database. Same applies for persisting information elsewhere like flat
files or XML.

Ideally, if the system is to have medium to high complexity, you will
want to use a hybrid approach. Keep everything in the database but
persist the metadata to the image files anyway so that when the get
copied around, the metadata goes with them. Windows XP uses it, and many
many other photo album programs use it.

I've had a pet project for an online PHP image gallery which uses XML
flat files to persist metadata. It reads the exif data from images when
they are uploaded and keeps it in the XML file associated with that
image. This is an example of a hybrid approach. I've not tried writing
exif data though.

It all depends on how complex your application will be.
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: helmi03 | last post by:
does anyone know how to get/set jpg or other image types metadata using Python. I had search in vault of parnassus and PIL, but only can read the EXIF. Long live Python!
1
by: Brett Selleck | last post by:
I would like to start collecting Metadata on my XML schemas. I have searched the web for a method of automatically extracting Metadata from an XSD file and have come up empty handed. Basically what...
1
by: Santhu | last post by:
What is the difference between METADATA and MANIFEST and where do they get stored? Thank you
2
by: EP | last post by:
I'm looking for a method by which to access Windows files metadata and have not been able to find anything in the standard modules or via Google - what is the standard approach? Shamefully I...
1
by: Reginald Johnson | last post by:
I'm trying display a popup on the mouseover of a jpeg image. I'm thinking of trying to populate the popup with text obtained from the image metadata. However, I haven't been able to find any...
0
by: Jack Wu | last post by:
Hi I've spent a good majority of my day trying to figure out how to have PIL 1.1.5 working on my OSX 10.3.9_PPC machine. I'm still stuck and I have not gotten anywhere. Could somebody please...
1
by: toggy | last post by:
Hi all, I am a relative novice to programming and just finding my way around VB express. I do this just out of personal interest and struggle to find projects to code any learning i have...
8
by: infoseekar | last post by:
Does anyone know what's the right code to read IPTC metadata. I have the code to read EXIF metadata and it gives me alot of information which I don't need. How do I modify this code so it only...
4
by: kl2ish | last post by:
Hello Everyone, I am doing a college project. I am completely new to c# and i am creating an app which clicks a picture and categorizes it . Now i am trying to store this category in the jpeg image...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.