I was curious if it was in the realm of possibility for the PokeMMO client to support APNG battle sprites for use with mods instead of just GIF? It would make a tremendous difference in creating sprites for use with the client that would have smooth edges while simultaneously decreasing the size of files for sprites which is always a positive.
For those unaware the problem with the GIF format in this regard is that it only supports 1 bit transparency which means that a pixel can only be either completely transparent or not transparent. What that means for GIF's being used in PokeMMO is that sprites edges will tend to look blocky and jagged. Where as APNG would not only allow us to reduce the file size of sprites but it would also let us do some smoothing of the edges on sprites. This can be achieved because APNG has a better quality compression algorithm and supports 8 bit transparency which means pixels can be varying degrees of transparent which looks better to the human eye.
Just throwing that out there because while upscaling back sprites for my own custom mod, using waifu2x, I found that while the PNG's had smooth edges the GIF would inevitably have jagged edges. I've worked around it to some extent by semi-flattening the image's semi transparent pixels to a shade of gray but that's not an ideal solution. Mod creators would have a much higher degree of freedom in improving this games graphics if they could use APNG instead of just GIF.
Question
Kenjitamura
I was curious if it was in the realm of possibility for the PokeMMO client to support APNG battle sprites for use with mods instead of just GIF? It would make a tremendous difference in creating sprites for use with the client that would have smooth edges while simultaneously decreasing the size of files for sprites which is always a positive.
For those unaware the problem with the GIF format in this regard is that it only supports 1 bit transparency which means that a pixel can only be either completely transparent or not transparent. What that means for GIF's being used in PokeMMO is that sprites edges will tend to look blocky and jagged. Where as APNG would not only allow us to reduce the file size of sprites but it would also let us do some smoothing of the edges on sprites. This can be achieved because APNG has a better quality compression algorithm and supports 8 bit transparency which means pixels can be varying degrees of transparent which looks better to the human eye.
Just throwing that out there because while upscaling back sprites for my own custom mod, using waifu2x, I found that while the PNG's had smooth edges the GIF would inevitably have jagged edges. I've worked around it to some extent by semi-flattening the image's semi transparent pixels to a shade of gray but that's not an ideal solution. Mod creators would have a much higher degree of freedom in improving this games graphics if they could use APNG instead of just GIF.
Link to comment
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now