Re:Why "The Daily" is an Abomination (and how to fix it)
by rbritton on Saturday February 05, 2011 @11:46PM
(#2184961)
The iPad (not sure about the iPhone) also has a JPEG hardware decoder. iOS 4.2 finally provided at least some level of access to this and it makes a huge difference.
Re:Why "The Daily" is an Abomination (and how to fix it)
by ryanpetrich on Sunday February 06, 2011 @02:02PM
(#2186187)
Oh, that went public? I've been using it on the jailbreak side for ages :)
All devices back to the iPhone 3G at least have a hardware JPEG codec.
That is a myth. It is the pixel format of the CGImage that matters, not the compression format of the source file. 32bpp premultiplied CGImages are the only format that the GPU will render natively as the contents of a CALayer. Since all JPEGs decode to 24bpp and most PNGs are saved as 32bpp, it's easy to see why this would be confused. Simply copying to a 32bpp CGImage is enough to make drawing quick again.
Coincidentally, this blog post also scrolls poorly on the iPad.