« View all new features in
Mathematica
9
◄
previous
|
next
►
New in
Mathematica
9
›
Import and Export Formats
Import Meta Information from JPEG Images
Import an image in JPEG format with Exif information.
In[1]:=
X
Import["ExampleData/coneflower.jpg", "ImageWithExif"]
Out[1]=
In[2]:=
X
Import["ExampleData/coneflower.jpg", "ImageWithExif"]; OptionValue[Options[%], MetaInformation]
In[3]:=
X
{"Exif" -> {"ImageDescription" -> " ", "Make" -> "NIKON", "Model" -> "E950", "Orientation" -> 1, "XResolution" -> 300, "YResolution" -> 300, "ResolutionUnit" -> 2, "Software" -> "Adobe Photoshop CS3 Macintosh", "DateTime" -> "2008:08:19 11:29:05", "YCbCrPositioning" -> 2, "Compression" -> 6, "XResolution" -> 72, "YResolution" -> 72, "ResolutionUnit" -> 2, "JPEGInterchangeFormat" -> 858, "JPEGInterchangeFormatLength" -> 7300, "ExposureTime" -> 1/65, "FNumber" -> 48/5, "ExposureProgram" -> 3, "ISOSpeedRatings" -> 0, "ExifVersion" -> {48, 50, 49, 48}, "DateTimeOriginal" -> "1999:06:02 09:13:02", "DateTimeDigitized" -> "1999:06:02 09:13:02", "ComponentsConfiguration" -> {1, 2, 3, 0}, "CompressedBitsPerPixel" -> 4, "ExposureBiasValue" -> 0, "MaxApertureValue" -> 13/5, "MeteringMode" -> 5, "LightSource" -> 0, "Flash" -> 0, "FocalLength" -> 73/5, "UserComment" -> {0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32}, "FlashpixVersion" -> {48, 49, 48, 48}, "ColorSpace" -> 1, "PixelXDimension" -> 150, "PixelYDimension" -> 113, "Interoperability IFD" -> 732, "FileSource" -> 3, "SceneType" -> 1}}