Results 1 to 4 of 4
  1. #1
    Eric Chua is offline Member
    Join Date
    Jul 2011
    Posts
    2
    Rep Power
    0

    Default Help on reading in EXIF data in Java

    Hi,

    I'm currently working on a java program which imports in EXIF data from a photo (jpeg in format). Am I able to read in composition of the photo? (I.e. if I have 3 pictures, 2 of white backgrounds and 1 black background) Will be there any ways I can differentiate them through the reading in of EXIF data? Please advise.

    Thanks.

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,641
    Rep Power
    7

    Default

    I'm not sure what you are asking....if that data is in the metadata of the image then yes. Of course this depends upon the source of the image, I'd think that typically a jpeg would lack any sort of information in the meta data that defines the background of the image.

  3. #3
    Eric Chua is offline Member
    Join Date
    Jul 2011
    Posts
    2
    Rep Power
    0

    Default

    Hi doWhile,

    What I'm essentially asking if there's any ways to tell between 2 photos (say 1 black and 1 white), is there a meta data tag that I can read into java to differentiate between the 2 photos.

    Thanks. :)

  4. #4
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,641
    Rep Power
    7

    Default

    As I said, generally speaking - no. You will probably have to inspect the image pixels themselves

Similar Threads

  1. Writing Exif Metadata to JPEG
    By lichtemo in forum Advanced Java
    Replies: 4
    Last Post: 04-05-2014, 12:44 AM
  2. reading data using struts and jsp java
    By gurpreet.singh in forum Advanced Java
    Replies: 1
    Last Post: 03-23-2011, 06:03 AM
  3. Replies: 0
    Last Post: 11-24-2009, 02:49 PM
  4. Replies: 5
    Last Post: 08-21-2009, 12:03 PM
  5. Reading FileInput data
    By Eric in forum Advanced Java
    Replies: 1
    Last Post: 07-05-2007, 07:59 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •