![]() Necessarily required to handle all the weird cases. To be limited to what is common to most image formats and is not Image loader to get things into an SDL_Surface. Third, my interpretation of SDL_image is that it is a simple, opaque Sizes were 10x larger, we never kept up with security issues, and the WeĪbandoned libpng, libjpeg, libtiff, etc. Second, I think ImageIO is the right thing to use on Mac and iOS. So, I disagree with this, though I can sympathize with the argument upįirst, I don't know how to get ImageIO (it's not CoreImage) to handleĨ-bit color palette images. We're a bit tight on memory so we need to use the smallest ![]() I was expecting to get a SDL_surface with a palette Get a surface with full 32 bits for each pixel. ![]() When I load a PNG with 8-bit colormap using IMG_load I Since PNG recently was mentioned on the list, I want ask IMO, this is the way SDL_Image should be distributed for the Mac. If you wantĪ pre-built Universal Binary version, you can download Aleph One and Look for SDL_Image, there are instructions how to fix it. Which is essential to the library being in any way usable. There's a define you can set to tell SDL_Image not to use CoreImage, I ended up ditching SDL_Image and going with a hacked version of Seanīarrett's STB_Image for this very reason. ![]() Support for 8-bit PNGs does not always do what libpng does. In graphics loading facilities to load PNGs instead of libpng, and OS X's SDL_Image and 8 bit PNGs on OS X - by default, SDL_Image uses OS X's built What platform are you on? There are some very interesting issues with ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |