It's not a secret anymore!
The moose likes Swing / AWT / SWT and the fly likes how to set image properties? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "how to set image properties?" Watch "how to set image properties?" New topic
Author

how to set image properties?

hasan kama
Greenhorn

Joined: Mar 27, 2007
Posts: 4
Dear All,

i need your help to set image properties like (Title , Author , Comments ...)

Thanks.
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Author, title, comments, etc. aren't really properties of "Images" - images are just pixel data that you can display. If you need to do something like this for an application you're writing, you'd need to make a class to associate these attributes with an image - something like -



You may also be asking about EXIF data - embedded information in JPEG files - though this is mostly just a timestamp and information about the digital camera that took the picture... not anything like title and comments. There are some libraries that can access this information from JPEG files though - google - "EXIF Java"


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to set image properties?
 
Similar Threads
how to access an external file into a web application
how to set image properties?
bad reply
Loading image over text box
Loading properties file