bluescan / tacentview

An image and texture viewer for tga, png, apng, exr, dds, pvr, ktx, ktx2, astc, pkm, qoi, gif, hdr, jpg, tif, ico, webp, and bmp files. Uses Dear ImGui, OpenGL, and Tacent. Useful for game devs as it displays information like the presence of an alpha channel and querying specific pixels for their colour.
ISC License
378 stars 36 forks source link

Animated webp breaks or crashes on open with some files but not others #96

Closed Crystalwarrior closed 1 year ago

Crystalwarrior commented 1 year ago

ex.zip attached are two animated webp files, one I could open and one I couldn't. First time I opened the "Confused.webp" example file as I installed the program, it displayed broken rows but could read animation just fine, however on subsequent launches the program just crashes (happened after I opened the "Shy.webp", it stopped letting me open the other file)

bluescan commented 1 year ago

Thanks for the example files. I can repo... I'll follow up

bluescan commented 1 year ago

The crash is fixed at f81d55c1735ceb7fdb93b8bba3b813d0c39287bc but the files don't yet look correct. Tacent's webp loading code while demuxing still needs a little attention.

bluescan commented 1 year ago

Fixed in 65922ccc537d61871d4c5324b252a8f3b8382b58 Also look for 'Override Background' in the WebP properties window. Attached is a zip with the change as it is not released yet. tacentview_1.0.36.zip