Re: [AD] Native image loader/OS X

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2010-08-26, at 12:46 PM, Evert Glebbeek wrote:
> Clearly, something somewhere has a notion that the bitmap should be a certain size (or be displayed using a certain DPI) which is typically not what we want. Doing some background reading I found that you can query the actual pixel size of an image "representation". I modified the loader so that it now does this and sure enough that fixes the issue.

Yeah, I've run into this. If your PNG is not 72 dpi it will load at a different size with the os x and iphone native loaders.





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/