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

Cocos Creator 2.4.8 – Asset format dimension – Cocos Creator

0
Cocos Creator 2.4.8 – Asset format dimension – Cocos Creator

[ad_1]

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

This is the format setting.

And this is similar picture at construct folder.
image

If I alter the PNG high quality to 99 it solely cut back 2KB, and at high quality 1 it will get a lot bigger.
Without any format choice it stays with the unique dimension 390KB.

Any thought on tips on how to repair it?

Please ship your image to see, our aspect utilizing this image take a look at is not any downside.
take a look at.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 characteristic in CocosCreator.
Compressing a texture that has already been compressed might lead to a bigger picture.

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

There is at the moment no method to cease the compression. For modifications to the useful resource loading course of, you would possibly take into account modifying the engine’s image-asset script.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here