Skip navigation
Currently Being Moderated

Read Image XMP Metadata

Aug 7, 2012 9:22 PM

Hi All,

Hope I'm not spamming  this thread to your mailbox as I felt this question asked in unrelated  forum.

 

Question: Can we read image meta data from Flex ?

 

I tried it with xmp core library and passed a jpeg file to xmpMeta object :

private function getImageMetadata(jpeg:File):void
                    {
  
                              var meta:XMPMeta = new XMPMeta(jpeg);
                              var packet:XML = meta.serializeToXML();
                              var photoshop:Namespace = XMPConst.photoshop;
                              var value:String = meta.photoshop::AuthorsPosition;
                                trace(value); // returns null, not sure why
                    }

 

Can any one help me to get the image metadata.

 

Thanks in advance

Mac

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points