• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to set image properties?

 
hasan kama
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

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

Thanks.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic