On Mar 27, 2012, at 10:59 AM, Andreas Mayer wrote: > > Am 27.03.2012 um 19:29 schrieb David Duncan: > >> Simplest solution is to save the scale along side the image itself > > That's what I just implemented. But I still think PNG images should retain > the scale factor. Why saving that information elsewhere when the format > explicitly supports this?
Primarily because people abuse the resolution field, and as such it cannot be trusted for this particular function. In a perfect world, we would only ever see 72 (1x) or 144 (2x) in the resolution field, but instead the value tends to be practically random. -- David Duncan _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com