Bug 146071

Summary: Feature request jpeg 2000 accepts header
Product: WebKit Reporter: Jason Ormand <jason.ormand1>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, beidson, colin, dbates, frik, heynemann, joacim.lowgren, mcatanzaro, nicolas, sabouhallawa, viktor.holmberg
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=178758

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
Comment 5 Nicolas Hoizey 2020-01-22 15:31:23 PST
+1

Would really be useful to optimize performance for Safari