The forums have moved to a new location, visit them at forum.goldensunhacking.net!


Share | 
 

 Image formats

View previous topic View next topic Go down 
AuthorMessage
Role
Magister
Magister
avatar

Posts : 313
Join date : 2009-10-11
Age : 30
Location : Austin, Texas

PostSubject: Re: Image formats   Sun Oct 25, 2009 4:32 pm

Atrius, any preference as to PNG vs BMP? Because honestly, I HATE bmps... they're way too huge for what you get. What would be the best format to use when it comes to keeping inserting these into the game in mind?

_________________
My programming skill is moot, so what I can do is provide reference materials for people to work with while the tools are being developed. I'll to my best to contribute! If you see an error in my reference guides, PLEASE LET ME KNOW about it so I can fix it! Thanks! ^-^

Back to top Go down
View user profile
Atrius
Admin
Admin
avatar

Posts : 90
Join date : 2009-09-10
Age : 29
Location : Earth

PostSubject: Re: Image formats   Sun Oct 25, 2009 4:46 pm

I wouldn't suggest BMPs because there's no need to use an uncompressed format when there are quite a few good losslessly compressed alternatives.

PNG is a lossless format, but has a couple quirks that can degrade the color quality slightly if you're careless about how you transfer it between people. Using the copy & paste functions to grab them off a website instead of downloading them directly is a good way to lose quality. Although not always, it often has a better compression ratio than GIF. It also allows you to use any number of colors, and has an alpha channel so pixels can be partially transparent instead of all or none (Though that doesn't make a difference for GBA graphics).

GIF doesn't have the quirks PNG does, so it's safe to copy & paste around, except, as is common with any image format, you sometimes lose the transparency doing that. Of course they can be animated, which is always nice, but are limited to a 256 color palette.
Back to top Go down
View user profile http://forums.goldensunhacking.net
Salanewt
Veteran
Veteran
avatar

Posts : 449
Join date : 2009-10-01
Age : 22
Location : Yoshi's Island

PostSubject: Re: Image formats   Mon Oct 26, 2009 6:18 pm

Atrius wrote:

GIF doesn't have the quirks PNG does, so it's safe to copy & paste around, except, as is common with any image format, you sometimes lose the transparency doing that. Of course they can be animated, which is always nice, but are limited to a 256 color palette.

I found this out the hard way when making my first emoticons. Now it is really easy, but it has a 5% chance of failing (so I do it again).

Also, I now prefer .gif files when using anything to do with images, but I am afraid that this might not work very well.

Hm, .jpgs are good for insetion into games, right? Perhaps this might have been part of the problem when trying to change the sprites in Zelda: Link to the Past...

Oh well, can we expect more portraits?

Have a nice day.
Back to top Go down
View user profile
Role
Magister
Magister
avatar

Posts : 313
Join date : 2009-10-11
Age : 30
Location : Austin, Texas

PostSubject: Re: Image formats   Mon Oct 26, 2009 6:32 pm

.jpgs are a horrible format, they won't work well at all in sprite-based games, that's for sure. ESPECIALLY with those that have a restricted palette.

_________________
My programming skill is moot, so what I can do is provide reference materials for people to work with while the tools are being developed. I'll to my best to contribute! If you see an error in my reference guides, PLEASE LET ME KNOW about it so I can fix it! Thanks! ^-^

Back to top Go down
View user profile
Atrius
Admin
Admin
avatar

Posts : 90
Join date : 2009-09-10
Age : 29
Location : Earth

PostSubject: Re: Image formats   Mon Oct 26, 2009 6:54 pm

Split the topic because half of it was image format discussion.

Anyway, when someone sends me graphics in .jpg format while I'm programming a video game I just send it right back to them, and tell them to redo it in a better file format. Jpeg is terrible for video game graphics.
Back to top Go down
View user profile http://forums.goldensunhacking.net
Charon the Ferryman
Admin
Admin
avatar

Posts : 244
Join date : 2009-10-01
Age : 24
Location : On River Styx. I also have a summer home in Limbo.

PostSubject: Re: Image formats   Mon Oct 26, 2009 7:07 pm

I think Jpgs should only be used for traditional art scans (which are usually very big in size so JPGs compromise its quality less) and photos (same as traditional art).

Wait... is it common for people to send sprites/other video game art as Jpgs? Yikes D:

_________________
Back to top Go down
View user profile
Salanewt
Veteran
Veteran
avatar

Posts : 449
Join date : 2009-10-01
Age : 22
Location : Yoshi's Island

PostSubject: Re: Image formats   Mon Oct 26, 2009 7:09 pm

Hm... Wait, I was confusing Jpegs with something else, sorry about that. Was it PNG files?

Have a nice day.
Back to top Go down
View user profile
Role
Magister
Magister
avatar

Posts : 313
Join date : 2009-10-11
Age : 30
Location : Austin, Texas

PostSubject: Re: Image formats   Mon Oct 26, 2009 7:56 pm

They're ALL my icons. PNG = format of god.

_________________
My programming skill is moot, so what I can do is provide reference materials for people to work with while the tools are being developed. I'll to my best to contribute! If you see an error in my reference guides, PLEASE LET ME KNOW about it so I can fix it! Thanks! ^-^

Back to top Go down
View user profile
Atrius
Admin
Admin
avatar

Posts : 90
Join date : 2009-09-10
Age : 29
Location : Earth

PostSubject: Re: Image formats   Mon Oct 26, 2009 7:57 pm

Charon the Ferryman wrote:
Wait... is it common for people to send sprites/other video game art as Jpgs? Yikes D:

Not if they don't enjoy being insulted to their face.
Back to top Go down
View user profile http://forums.goldensunhacking.net
Salanewt
Veteran
Veteran
avatar

Posts : 449
Join date : 2009-10-01
Age : 22
Location : Yoshi's Island

PostSubject: Re: Image formats   Mon Oct 26, 2009 8:07 pm

Hehe, lol. By the way, I think that since the images that ZNES takes are JPEGs (I think), converting them to GIFs made them look bad. I say this because, well... See the waterfalls in my signature? That is a good example of what can happen when converting them.

Have a nice day.
Back to top Go down
View user profile
Atrius
Admin
Admin
avatar

Posts : 90
Join date : 2009-09-10
Age : 29
Location : Earth

PostSubject: Re: Image formats   Mon Oct 26, 2009 8:12 pm

Either you set it to use too few colors, or whatever you used to convert it did a bad job with the palette.
Back to top Go down
View user profile http://forums.goldensunhacking.net
Salanewt
Veteran
Veteran
avatar

Posts : 449
Join date : 2009-10-01
Age : 22
Location : Yoshi's Island

PostSubject: Re: Image formats   Sat Oct 31, 2009 9:25 pm

I think that it might just be the palette, but it is hard to tell... I have to change it to 256 colours anyway if I want to animate .gifs.

Have a nice day.
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Image formats   

Back to top Go down
 
Image formats
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Image Rotator
» Tutorial: Thumbnail....24 bit Png Image Creation with Paint.net
» Image Counting
» Image Spam Thread
» Please delete my account

Permissions in this forum:You cannot reply to topics in this forum
Golden Sun Hacking Community :: The Community :: Open Discussion-
Jump to:  
Free forum | © phpBB | Free forum support | Contact | Report an abuse | Free forum