GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
BMP - HELL NOOOOOOO!!!!!!!!!
JPG - for photos, they still compress better than PNGs in that area
PNG - way to go for graphics. Just be careful with transparancy if you care about usability for IE users.
GIF - only when you need some animations. There is already an MNG-format (think animated PNGs) which is better than GIF in terms of compression and colors but it's not that widely supported.
If your going for size, gif or jpg is best. For best quality I tend to use png's for that. Try to stay away from animated gifs, they are just annoying to me and jpg will have better colors than any other if your considering size a factor, which is in most cases.
My personal list of order you should consider at all instances:
1. jpg
2. png
3. gif
Any others.. well, probably are fully supported by all browsers, especialy bmp's which just totally suck arse really when it comes to displaying in a browser.
Originally posted by david_ross I would stick with jpegs but decreasing the quality to 75% will knock a large amount of the size off and shoudln't change the images much.
yeah, but not for buttons, or graphics. PNGs are better for those. JPGs blur them and make them ugly and there most often larger.
ya it depends on the picture.
bitmaps (.bmp) are uncompressed and not really suitable for the web.
jpegs (.jpgs) are good for photos and pictures with lottsa details. (colours blending into another etc.
If the picture only has a few colours and not much detail use .gif images.
Iv forgotton exactly how each format compresses the image but if ya google for some info and you learn how each is formatted then ya can get a decent idea how each should be used. i thiink gif images store each colour in the beginning of the file and then when each couour i used say from here to here use colour #3 if that makes sense.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.