<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Fix read_png with libpng 1.6"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=63487">63487</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>cworth@cworth.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Fix read_png with libpng 1.6
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>krejzi@email.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.12.14
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>png functions
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=77910" name="attach_77910" title="Fix read_png with libpng 1.6">attachment 77910</a> <a href="attachment.cgi?id=77910&action=edit" title="Fix read_png with libpng 1.6">[details]</a></span>
Fix read_png with libpng 1.6

With libpng 1.6, png_read_update_info() needs to be called after
transformations.

<a href="http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng/libpng;a=blob;f=libpng-manual.txt;hb=HEAD#l4983">http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng/libpng;a=blob;f=libpng-manual.txt;hb=HEAD#l4983</a>

The attached patch fixes it on my side.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>