News for hackers. Stuff that matters.
Re:WebKit Limit on Retina JPG Image Display by woogley on Thursday March 22, 2012 @09:36AM (#3739593)
In case you're wondering why that is ..

> JPEG images can be up to 32 megapixels due to subsampling, which allows JPEG images to decode to a size that has one sixteenth the number of pixels. JPEG images larger than 2 megapixels are subsampled—that is, decoded to a reduced size. JPEG subsampling allows the user to view images from the latest digital cameras.

Reference: https://developer.apple.com/library/IOs/#documentation/Apple...

Re:WebKit Limit on Retina JPG Image Display by ajasmin on Thursday March 22, 2012 @03:36PM (#3741515)
Yes. libjpeg can generate scaled previews faster than decoding the whole image. Maybe that's why Apple didn't bother to implement this for png images.