by kenrikm · 14y ago · 0 comments
What I'm curious about, maybe someone here has the answer is if there would be a significant performance gain from using Core Graphics over just loading a PNG?
Conventional wisdom, especially for small images, it is much more efficient to draw them with Core Graphics than use a image, more so if there is transparency in the image.
This will even be true for non-ios systems. Microsoft has said for years, that generating a 16x16 image is faster than getting it from disk (depending on complexity and disk speeds).
Plus, code does tend to be more compact (again, within reason), so it is less that has to be loaded when your application starts.
Only if you're willing to release an update. There's something to be said about having it already ready for any future resolutions, now.