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).
This is the format setting.
And this is identical picture at construct folder.
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 possibility it stays with the unique dimension 390KB.
Any concept on how you can repair it?
Please ship your image to see, our facet utilizing this image check isn’t any downside.
check.png.zip (1.0 KB)
celebrations.zip (380.5 KB)
This is a png picture that has already been compressed and doesn’t must 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 want to modify to webp when attainable and if not use png as fallback.
Is there a strategy to not compress however nonetheless use the format switching?
There is at the moment no strategy 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.