[MGNLUI-6951] Editing an image always produces PNG Created: 07/Jan/19  Updated: 29/Nov/21  Resolved: 19/Nov/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2
Fix Version/s: 6.2.14

Type: Bug Priority: Neutral
Reporter: Richard Gange Assignee: Jorge Franco
Resolution: Fixed Votes: 0
Labels: VN-Testing, maintenance
Remaining Estimate: Not Specified
Time Spent: 1h 20m
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2021-11-08 at 09.43.58.png    
Issue Links:
relation
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:
Sprint: Assets Maintenance 2
Story Points: 8

 Description   

When editing an image the output of the image seems to always be PNG. Even in the case when you start with JPG.

The problem here is that the image metadata is not updated to reflect this. It would still appear to the user that the image is JPG. Only when you download the image and inspect the binary data do you see the image is in fact PNG.

I see 2 solutions:

  1. The input format should be the same as the output format.
  2. The metadata should be updated to PNG and we should make this transparent in the documentation.

Steps to reproduce:

  1. Edit this JPG image.
  2. Crop the image. Then Save.
  3. Click Download.
  4. Open the image with a text editor and observe it's encoded as PNG.

Generated at Mon Feb 12 09:41:38 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.