Bug 146071 - Feature request jpeg 2000 accepts header
Summary: Feature request jpeg 2000 accepts header
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2015-06-17 11:21 PDT by Jason Ormand
Modified: 2020-01-22 15:31 PST (History)
11 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jason Ormand 2015-06-17 11:21:49 PDT
In the latest versions of Safari desktop/iOS, there is no specificity in image request headers that indicates the browser supports jpeg 2000. Ideally, we would have something like "image/jp2" and/or "image/jpeg2000" in the accepts header, analogous to Google's Chrome which adds the "image/webp" entry in the accepts header. This would be extremely helpful so that server side image processing tools (like Thumbor) can "automagically" return images with the best possible encoding/compression.

Please add this header. 


Jason Ormand @ Vox Media
Comment 1 Bernardo Heynemann 2015-06-17 11:45:59 PDT
This would be really useful for us as well. Globo.com is a large portal in south america (+1B page views/mo). 

We have a big focus on speed. That's why we added Automatic WebP support for thumbor[1]. It would be awesome to have the same level of support for Safari (Mac OS, but even more pressing iOS).

This would allow us to detect if a request can receive JPEG 2000 and if so vary our cache by the Accept header.

Hope this gets implemented.

[1] http://thumbor.org
Comment 2 frik 2015-06-18 02:14:14 PDT
Comment 3 Colin Bendell 2018-06-19 13:18:41 PDT
Comment 4 Viktor Holmberg 2019-01-08 01:56:16 PST
Comment 5 Nicolas Hoizey 2020-01-22 15:31:23 PST

Would really be useful to optimize performance for Safari