Doubts about PNG 32 bit

I am trying to put this image into the game as a 24bit PNG...

Sorry, but I can't reproduce your issue. I downloaded your image, made it a background, and it worked just fine:

BOR - 0007.png

It would help if you posted your text files and log output. That would give us a better idea of what's going on.

In this particular case though, I very strongly suggest you don't use 24bit anyway. That's meant for images that suffer unacceptable color loss. The design of this image is such that it compresses to 8bit with almost no loss in quality at all. Compare original to optimized:


1635009175047.png1635009204478.png

It's up to you, but I wouldn't blow half a meg, a ton of CPU time, and lose the ability to do palette tricks for an image that looks virtually the same at 32kb.

DC
 
thanks for testing! i will send you logs tomorrow when i am at computer

I purposely made this image like that in order to get around the 256 color limit, but then i saw this thread said can use png24, so i was trying.
 
24bit PNG means we can use more colour index?

24bit png means the image doesn't have a color table at all. Each pixel has its own RGB map. It's effectively limitless color (~16 million).

There are some big drawbacks though. The obvious one is resource use, since a 24bit image will be at minimum several times the size and CPU load of an 8bit image. Also, since there's no palette, you can't do any sort of color swapping.

It's there a an option though. You can use them with bglayer, fglayer, and backgrounds.

DC
 
Hello

Unfortunately it does not load, logs attached

I even tried your bike image and it doesnt load either, so it must be some problem on my end, but i dont know what
 

Attachments

Back
Top Bottom