[PNG Homepage]
I'm posting this because I think many people are not familiar with Portable Network Graphics and are therefore afraid of it.
The Mana World uses the Portable Networks Graphics format for all sprites.
One thing that I would like to make clear is that PNGs are lossless. They use zlib compression (like in gzip).
It will not mess up your image to compress it.
Another thing to make clear is that PNGs support full 24 and 32bit color. You will not lose colors upon saving.
PNG graphics can be optimized up to 256 colors, good for pixel art. It requires some tweaking to do losslessly,
but it saves space when you know how.
Unlike GIF, PNG has an entire alpha channel. Images can have areas that are partially see-through.
Fully compressed PNG files do not benefit any from being put in compressed archives. They go nicely in non-compressed tape archives (tar). You can mount tape archives and browse the images inside, or change the .tar suffix to .cbt for viewing in comic book readers.
The best speed to compression ratio is 6. PNGs that are fully compressed (9) are slower to unpack. I don't know how this affects gameplay. Nine is best for larger files that will take some time to display anyhow.
PNG is best for icons and sprites, not photos. It replaces the need for unanimated gif, and .bmp (don't rely on MSPaint for it's .png support though)
I hope this helps avert paranoia about the PNG format. I'll try to answer any questions if asked.
About the PNG Format
About the PNG Format
Last edited by bcs86 on 05 Mar 2010, 04:24, edited 1 time in total.
Re: About the PNG Format
I've made this a sticky. The platform (mana) supports many different formats, but TMW has chosen to only use PNG for world data (other formats are needed for other, special areas, like program icon). Other projects can do what they want, like use GIF or JPEG or whatever. But TMW will only accept PNG (except for those aforementioned special images).
Re: About the PNG Format
It was also suggested to use TGA for some images in the past. TGA supports everything PNG supports. The difference is that TGA files are not as small as PNG but it is considerably faster to unpack resulting in reduced load times on systems with slow CPUs.
But for TMW I would still advise to stick to a single image format to make life easier for contributors and maintainers.
But for TMW I would still advise to stick to a single image format to make life easier for contributors and maintainers.
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Re: About the PNG Format
* Added information about compression in the 7th paragraph.
Re: About the PNG Format
I've relied heavily on Png's, and never been let down, for the better half of my spriting career.
Two thumbs up.
Two thumbs up.
- Freeyorp101
- Archivist Prime
- Posts: 766
- Joined: 04 Nov 2008, 09:17
- Location: New Zealand
Re: About the PNG Format
You seriously bumped a year old thread just to say that?New wrote:I love pixel art.
---Freeyorp
(09:58:17) < tux9th> Freeyorp: your sig on the forums is kind of outdated
- yubabax116
- Warrior
- Posts: 268
- Joined: 05 Apr 2011, 21:20
- Location: Elsewhere
Re: About the PNG Format
If you look at most of his posts he does it to many.
▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬
♩ ♪ ♫ ♬ ♭ ♮ ❤Quiet And Enj0:00Y The Music ❤ ♩ ♪ ♫ ♬ ♭
Yubaba
Chicka-Maria
▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬
♩ ♪ ♫ ♬ ♭ ♮ ❤Quiet And Enj0:00Y The Music ❤ ♩ ♪ ♫ ♬ ♭
Yubaba
Chicka-Maria
▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬