Closed
Bug 997059
Opened 11 years ago
Closed 11 years ago
[Tarako] Make image cropper in the gallery picker configurable, and disable it in tarako
Categories
(Firefox OS Graveyard :: Gaia::Gallery, defect)
Tracking
(blocking-b2g:1.3T+, b2g-v1.3 unaffected, b2g-v1.3T affected)
RESOLVED
INVALID
blocking-b2g | 1.3T+ |
Tracking | Status | |
---|---|---|
b2g-v1.3 | --- | unaffected |
b2g-v1.3T | --- | affected |
People
(Reporter: timdream, Assigned: johnhu)
References
Details
Attachments
(2 files)
Please read bug 992505, and maybe bug 996141.
Our current image cropper implementation takes too much memory and triggers OOM a lot when being used in the picker. Confirmed with Marvin offline, we decided to turn off the the image cropper in the gallery picker for tarako. John will help to make a switch for build time customization.
To workaround this missing feature the user is encouraged to use the standalone "edit" feature in Gallery app to crop the image, before going to other app and use the picker.
Flags: needinfo?(johu)
Updated•11 years ago
|
Whiteboard: [tarako_only]
Assignee | ||
Comment 2•11 years ago
|
||
Add a new config called CONFIG_NO_CROP_TOOL_IN_PICKER. When this value is true, we don't crop the image and return file-based blob reference.
This patch will only be landed to 1.3t.
Attachment #8407415 -
Flags: review?(dflanagan)
Flags: needinfo?(johu)
Reporter | ||
Comment 3•11 years ago
|
||
(In reply to John Hu [:johnhu][:johu][:醬糊小弟] from comment #2)
> This patch will only be landed to 1.3t.
We should land it on all branches since it's switchable.
Reporter | ||
Updated•11 years ago
|
Whiteboard: [tarako_only]
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(johu)
Comment 4•11 years ago
|
||
I'm not sure this makes sense. In bug 989290 I'm working on rotating images when they are picked. If the Tarako camera driver continues to use EXIF image orientation, any pick activity for a portrait mode photo will require more memory than cropping does.
So unless we can solve the EXIF orientation issue, I don't think it makes sense to remove cropping.
I'm going to see what happens with my 989290 patch before reviewing this one.
![]() |
||
Updated•11 years ago
|
status-b2g-v1.3:
--- → unaffected
status-b2g-v1.3T:
--- → affected
Assignee | ||
Comment 5•11 years ago
|
||
Flags: needinfo?(johu)
Assignee | ||
Comment 6•11 years ago
|
||
as per bug 995149 comment 17, the cropper tool works fine in 2MP limitation. We don't need to remove it.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Assignee | ||
Updated•11 years ago
|
Attachment #8407415 -
Flags: review?(dflanagan)
You need to log in
before you can comment on or make changes to this bug.
Description
•