Home Game Development Cocos Creator 2.4.8 – Asset format measurement – Cocos Creator

Cocos Creator 2.4.8 – Asset format measurement – Cocos Creator

0
Cocos Creator 2.4.8 – Asset format measurement – Cocos Creator

[ad_1]

Hi, after I do a construct, the generated photographs within the construct folder are bigger than the unique picture with the identical format.
As an exemple, I’ve this png picture with a measurement of 390KB (earlier than construct).
image

This is the format setting.

And this is similar picture at construct folder.
image

If I modify the PNG high quality to 99 it solely scale back 2KB, and at high quality 1 it will get a lot bigger.
Without any format possibility it stays with the unique measurement 390KB.

Any concept on the best way to repair it?

Please ship your image to see, our facet utilizing this image check isn’t any drawback.
check.png.zip (1.0 KB)

celebrations.zip (380.5 KB)

This is a png picture that has already been compressed and doesn’t have to be compressed utilizing the Compress Textures function in CocosCreator.
Compressing a texture that has already been compressed might end in a bigger picture.

Yes, however I would like to change to webp when doable and if not use png as fallback.
Is there a technique to not compress however nonetheless use the format switching?

There is presently no technique to cease the compression. For modifications to the useful resource loading course of, you may take into account modifying the engine’s image-asset script.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here