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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-17 11:21 PDT by Jason Ormand
Modified: 2019-01-08 01:56 PST (History)
10 users (show)

See Also:


Attachments

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. 

Thanks,

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
+1
Comment 3 Colin Bendell 2018-06-19 13:18:41 PDT
+1
Comment 4 Viktor Holmberg 2019-01-08 01:56:16 PST
+1