I've been noticing that many sites have been using a single png file for their buttons and icons. Is this really necessary? Does it really help reduce the overall size and loading times of the website? Is it something that's easy to do?
angelwatt, c'mon this isn't about nailing what the OP has right on the head.
the OP has not given us any feedback yet. you sir live a world of hypothesis.
i love to use lots of PNGs, but never do because I get large types of files 104kb vs 28kb on a 300x168 image.
i love to use lots of PNGs, but never do because I get large types of files 104kb vs 28kb on a 300x168 image.
there is a lot more content in each of these posts than just a solution to the original question. personally, i don't care why JPGs are smaller than PNGs. what I care about is what most people care about, and that is how the image looks. knowing why can only take you so far. i can inqure in depth about these things, or i can slap an image onto a page and call it a day.
Let's keep in mind that we are in web design & development, and not design and graphics. sure, these matters overlap (they are both in 'visual media') but what is important here is the context of the post. it is about putting graphics on the web and either loading them together as one big file, or separate as smaller files.
if you go the big file route with sprites, you may as well pick a compression that saves as much detail as possible. if you go the separate file route, loading up lots of small files, aim for regular gifs or jpegs.
thanks everyone for providing your feedback on my questions. i have one more thing to ask regarding png's, and it's in relation to web browsers. how compatible are browsers when using png files? i remember once using a png with transparency, and it displayed the empty space as white background when using ie6. i really don't bother coding for ie6 anymore, and have not used png files since then (mostly stuck to jpegs and gif's), so i'm wondering if there are other popular browsers that might give me problems when using png's.
thanks again.
so i'm wondering if there are other popular browsers that might give me problems when using png's.
If you're in a thread talking about sprites, and no one has mentioned http requests (the REASON for using sprites), then the people talking probably don't know what they're talking about.
How has no one brought this up?
If you're in a thread talking about sprites, and no one has mentioned http requests (the REASON for using sprites), then the people talking probably don't know what they're talking about.
How has no one brought this up?