Images wont load completely on some sites

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
spline
Hobby Astronomer
Hobby Astronomer
Posts: 24
Joined: 2013-11-07, 16:29
Location: Canada

Images wont load completely on some sites

Unread post by spline » 2018-01-13, 12:18

Palemoon 27.6.2

Noticed this on allakhazam.com and the project 1999 wiki page, amongst others recently.

https://wiki.project1999.com/File:Npc_a ... master.png
https://wiki.project1999.com/images/Npc ... master.png

http://everquest.allakhazam.com/db/npc.html?id=3564

The first few lines of pixels load and then it stops. Rest of the page loads fine. It will even Save As the image completely, it just wont display it. Tested normally, with all addons disabled, in safe mode, and a clean Portable profile, they all show the same behavior.

Also tested in Palemoon 27.4.1 since I had that lying around, and it works no problem, even when using my current profile.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35476
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Images wont load completely on some sites

Unread post by Moonchild » 2018-01-13, 13:29

This is because of our latest update of libPNG which is more strict when it comes to images being properly encoded.
The next version of Pale Moon works around a known and common PNG encoding issue that is relatively common for web images, which will most likely solve your problem with these images and display them again. The images are still not correctly encoded, but with the workaround the decoder will not rely as much on what the image data in the PNG header says and be more forgiving to that particular type of corruption.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

spline
Hobby Astronomer
Hobby Astronomer
Posts: 24
Joined: 2013-11-07, 16:29
Location: Canada

Re: Images wont load completely on some sites

Unread post by spline » 2018-01-13, 19:53

Awesome, thanks for the informative response!

Locked