Closed Bug 846015 Opened 11 years ago Closed 11 years ago

Gallery picker activity strips EXIF data from photos

Categories

(Firefox OS Graveyard :: Gaia::Gallery, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: brion, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20130226 Firefox/21.0
Build ID: 20130226042022

Steps to reproduce:

Since <input type="file"> is not supported in the browser yet, I'm experimenting with using MozActivity and the 'pick' activity to support uploading photos to Wikipedia in Firefox OS.

					var activity = new MozActivity({
						name: "pick",
						data: {
							type: ["image/jpeg"]
						}
					});



Actual results:

Page showing original file with EXIF metadata, copied off the phone via USB mass storage:
http://leuksman.com/mw/index.php/File:From_firefoxos.jpg#metadata

Page showing photo as retrieved through Gallery picker and uploaded in-browser:
http://leuksman.com/mw/index.php/File:Lead_Photo_For_DonateImage0-06756212175868148.jpg#metadata

Note the original version has EXIF data, while the picker version does not. They're also different file sizes, which indicates that the photo's been recompressed.


Expected results:

Likely related to bug 798684 "Editing a photo strips it of EXIF data" though in theory I'm not trying to edit it, just pick it...

EXIF data should be preserved in the picked file. If not cropped, it also shouldn't be recompressed.
I'm not sure what the actual steps to repro this using the UI.   Please clarify.
Flags: needinfo?(brion)
I'm having trouble reproducing it now, going ahead and closing out until I can make a reliable test case.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(brion)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.