<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>146071</bug_id>
          
          <creation_ts>2015-06-17 11:21:49 -0700</creation_ts>
          <short_desc>Feature request jpeg 2000 accepts header</short_desc>
          <delta_ts>2024-06-05 01:08:33 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Images</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=178758</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jason Ormand">jason.ormand1</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>beidson</cc>
    
    <cc>colin</cc>
    
    <cc>dbates</cc>
    
    <cc>frik</cc>
    
    <cc>heynemann</cc>
    
    <cc>joacim.lowgren</cc>
    
    <cc>karlcow</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>nicolas</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>v</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1102597</commentid>
    <comment_count>0</comment_count>
    <who name="Jason Ormand">jason.ormand1</who>
    <bug_when>2015-06-17 11:21:49 -0700</bug_when>
    <thetext>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 &quot;image/jp2&quot; and/or &quot;image/jpeg2000&quot; in the accepts header, analogous to Google&apos;s Chrome which adds the &quot;image/webp&quot; entry in the accepts header. This would be extremely helpful so that server side image processing tools (like Thumbor) can &quot;automagically&quot; return images with the best possible encoding/compression.

Please add this header. 

Thanks,

Jason Ormand @ Vox Media</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1102606</commentid>
    <comment_count>1</comment_count>
    <who name="Bernardo Heynemann">heynemann</who>
    <bug_when>2015-06-17 11:45:59 -0700</bug_when>
    <thetext>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&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1102862</commentid>
    <comment_count>2</comment_count>
    <who name="">frik</who>
    <bug_when>2015-06-18 02:14:14 -0700</bug_when>
    <thetext>+1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1434518</commentid>
    <comment_count>3</comment_count>
    <who name="Colin Bendell">colin</who>
    <bug_when>2018-06-19 13:18:41 -0700</bug_when>
    <thetext>+1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1492572</commentid>
    <comment_count>4</comment_count>
    <who name="Viktor Holmberg">v</who>
    <bug_when>2019-01-08 01:56:16 -0800</bug_when>
    <thetext>+1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1609780</commentid>
    <comment_count>5</comment_count>
    <who name="Nicolas Hoizey">nicolas</who>
    <bug_when>2020-01-22 15:31:23 -0800</bug_when>
    <thetext>+1

Would really be useful to optimize performance for Safari</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2039808</commentid>
    <comment_count>6</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-06-05 01:08:33 -0700</bug_when>
    <thetext>This should be probably closed given that the support for JPEG2000 has been removed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>