Open
Bug 1647939
Opened 4 years ago
Updated 4 years ago
Image type is decided server-side
Categories
(Firefox :: New Tab Page, enhancement, P3)
Firefox
New Tab Page
Tracking
()
NEW
People
(Reporter: mmiermans, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
image/png
|
Details |
Currently Firefox requests images from our image cache as jpeg with quality=60, which can result in jpeg artifacts. Image parameters are set client-side such that it can request the right resolution, because only the client knows the container size that the image will be shown in.
Proposal:
- The Proxy Server formats the image cache url and preserves png image types.
- The client parses
image_src
and changes the image size to 2x the container size. It only changes the resolution, not the image type. - Ad-ops / design are responsible for saving the image as jpeg or png.
Result:
- Firefox continues to choose the image resolution based on the container size.
- The server can preserve the PNG image type.
Updated•4 years ago
|
Priority: -- → P3
Comment 1•4 years ago
|
||
We will more likely adjust the JPEG compression level than allow PNGs due to them often being misused (eg: photographic content encoded as a PNG24 resulting in unnecessary weight) which can be a significant perf hit. Current JPEG compression level was vetted by multiple designers.
You need to log in
before you can comment on or make changes to this bug.
Description
•