Background

If I'm wrong, someone please tell me why.

Neither of you are really "wrong". In this case if we took fixie's example of the 10px jpg file and cropped it to 1 px and in width it would be exactly the same as long as we didn't recompress it. However saving a 1px slice straight out of photoshop might end up with banding because of the way photoshop is sampling and encoding the compression of the pixels in the JPG, as fixie pointed out.

This wouldn't happen with a 24 bit PNG and fixie is incorrect in saying browsers render PNGs differently. They are all exactly the same unless we are talking about PNGs with transparency in the case of IE6. Since we're not dealing with transparency in this example, there would be no difference from browser to browser. The 1px wide PNG would also probably look better than a JPG and might even be smaller in file size, depending on the compression level of the JPG.
 


This wouldn't happen with a 24 bit PNG and fixie is incorrect in saying browsers render PNGs differently. They are all exactly the same unless we are talking about PNGs with transparency in the case of IE6. Since we're not dealing with transparency in this example, there would be no difference from browser to browser. The 1px wide PNG would also probably look better than a JPG and might even be smaller in file size, depending on the compression level of the JPG.

PNG color oddities in IE - Easy! Reader
I was thinking of this problem. It's not a transparency issue, it's a color issue. It appears on some ie7 versions as well, not only ie6.
 
PNG color oddities in IE - Easy! Reader
I was thinking of this problem. It's not a transparency issue, it's a color issue. It appears on some ie7 versions as well, not only ie6.

Yea color rendering of 24bit pngs are not exactly correct on IE7 and lower. You could put a png (24bit) box of the exact same hex value as the background and you'd definitely notice a subtle shading difference. Usually why if you're gona use png as design elements you'd either use 8bit, or you stay consistent with your design elements being the same file type.

Personally I think we need to force ourselves to drop some backward compatibility for the sake of pushing browsers and providers forward. Kinda why we're still fighting a 10 year old browser on the market :p
 
Personally I think we need to force ourselves to drop some backward compatibility for the sake of pushing browsers and providers forward. Kinda why we're still fighting a 10 year old browser on the market :p

Thank god that's finally starting to change. IE6 is on it's way out with a bunch of big companies dropping support.
 
Thanks to academia and 3rd world countries, we are still stuck supporting the fucker.
(Last projects tho, we are going to stop soon)

::emp::
 
Whoever said browsers don't render 24-bit PNGs differently has never dealt with the colour matching problems in Firefox 3.latest...

And fixie was right about the image thing, but only because he used a jpeg, and Photoshop - like has been said - compressed it funny. Use PNGs for graphics, jpegs for photos.