aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes how to set image properties? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
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.
 
 
subject: how to set image properties?