Thanks to visit codestin.com
Credit goes to github.com

Skip to content

EXFJpeg populateImageData breaks some values in EXIF #10

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Read and populate metadata from jpg file (iOS SDK 4.3)
EXFJpeg* jpegScanner = [[EXFJpeg alloc] init];
[jpegScanner scanImageData: jpegData];
EXFMetaData* exifMetaData = jpegScanner.exifMetaData;
NSMutableData* newJpegData = [[NSMutableData alloc] init];
[jpegScanner populateImageData:newJpegData :exifMetaData];


What is the expected output? What do you see instead?
This shound not change any EXIF/JFIF etc value.
How ever it seems it breaks some values in metadata.
Wrong  values are in the following tags:
ApertureValue, FNumber, FocalLength, ShutterSpeedValue

Correct values are in:
ColorSpace, Exif version, Pixel X/Y dimension and few more

Missing values:
ExposureProgra, ISO, SUbkect Are

I also noticed that some values are moved to other tags:
FocalLength moved to FNumber
ApertureValue moved to ExposureTime





What version of the product are you using? On what operating system?
0.9




Original issue reported on code.google.com by [email protected] on 12 Apr 2011 at 12:04

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions