Imagination PowerVR SDK Blog

Decompressing opaque ASTC images back to RGBA, stride issue with PVRTexTool Library?


#1

Hello,

I am decompressing ASTC images (via Transcode()) to a PVRStandard8PixelType pixel type. The size of the image is 470x228 for which getDataSize() yields 428,640 bytes which is correct. The return encoding from getDataPtr() is definitely RGBA. However, when I show the image I see what appears to be a stride issue.
Semi-transparent images are fine. Is this a known issue?

Thanks,
-Dave


#2

Yes, I see the same issue. ASTC compressed textures are rendered incorrectly when decompressing.