<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [EFL] Jpeg image export implementation for Canvas."
   href="https://bugs.webkit.org/show_bug.cgi?id=145457#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [EFL] Jpeg image export implementation for Canvas."
   href="https://bugs.webkit.org/show_bug.cgi?id=145457">bug 145457</a>
              from <span class="vcard"><a class="email" href="mailto:gyuyoung.kim&#64;webkit.org" title="Gyuyoung Kim &lt;gyuyoung.kim&#64;webkit.org&gt;"> <span class="fn">Gyuyoung Kim</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=253960&amp;action=diff" name="attach_253960" title="Patch">attachment 253960</a> <a href="attachment.cgi?id=253960&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=253960&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=253960&amp;action=review</a>

<span class="quote">&gt; Source/WebCore/ChangeLog:20
&gt; +        * platform/image-encoders/JPEGImageEncoder.cpp:</span >

You need to explain what is modified.

<span class="quote">&gt; Source/WebCore/platform/MIMETypeRegistry.cpp:270
&gt; +#elif PLATFORM(EFL)</span >

Why can't we support image/tiff, image/bmp, image/ico ?

Besides I think GTK and EFL have used cairo backend. Thus it might be good if you change this change as below,

 #elif PLATFORM(GTK)
-    supportedImageMIMETypesForEncoding-&gt;add(&quot;image/png&quot;);
-    supportedImageMIMETypesForEncoding-&gt;add(&quot;image/jpeg&quot;);
     supportedImageMIMETypesForEncoding-&gt;add(&quot;image/tiff&quot;);
     supportedImageMIMETypesForEncoding-&gt;add(&quot;image/bmp&quot;);
     supportedImageMIMETypesForEncoding-&gt;add(&quot;image/ico&quot;);
 #elif USE(CAIRO)
     supportedImageMIMETypesForEncoding-&gt;add(&quot;image/png&quot;);
+    supportedImageMIMETypesForEncoding-&gt;add(&quot;image/jpeg&quot;);
+    supportedImageMIMETypesForEncoding-&gt;add(&quot;image/png&quot;);
 #endif

<span class="quote">&gt; Source/WebCore/platform/graphics/efl/ImageBufferEfl.cpp:4
&gt; + *  This library is free software; you can redistribute it and/or</span >

Oops. LGPL.... Please use BSD !

<span class="quote">&gt; Source/WebCore/platform/image-encoders/JPEGImageEncoder.cpp:126
&gt; +        for (const unsigned char* rowEnd = pixel + offset + compressData.image_width * 4; pixel + offset &lt; rowEnd;) {</span >

I think this change can influence on other ports. So you need to explain why you modify this code.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>