Attempted fox for PNG

This commit is contained in:
Inusaito Sayori
2014-11-20 12:21:35 -05:00
parent 5a045db751
commit 8b658bd628
2 changed files with 9 additions and 34 deletions

View File

@@ -252,6 +252,7 @@ void LLPngWrapper::normalizeImage()
// Read out the image meta-data
void LLPngWrapper::updateMetaData()
{
png_set_interlace_handling(mReadPngPtr); // <alchemy/>
png_read_update_info(mReadPngPtr, mReadInfoPtr);
mWidth = png_get_image_width(mReadPngPtr, mReadInfoPtr);
mHeight = png_get_image_height(mReadPngPtr, mReadInfoPtr);