How to set a spriteframe using extracted png from downloaded zip

I’m using jszip to extract the zip file, the only issue I’m getting is when I’m creating a sprite using uint8array it’s displaying distorted garbage image. Cocos version 3.6.2

git Repo link: https://github.com/harpinder-chicmic/ZipExtractor.git


It is recommended to use base64 to convert the display.

1 Like

wow, great! That’s the way things supposed to be!

@Koei thanks buddy.