Refusal to show PNG

BlitzMax Forums/BlitzMax Beginners Area/Refusal to show PNG

zcbeaton(Posted 2005) [#1]
Hello, everybody. I'm a beginner to BlitzMAX, but I've used other Blitz languages before. Anyway, I loaded in a PNG image with image dimensions of 318x221 and tried to draw it to the screen, and it didn't show. I'm using BlitzMAX 1.09, but I'm going to update it to the latest (1.14). If it matters, the file was called BARD.png. The screen resolution was 320x240.
Is there any fix to this unfortunate problem?


smilertoo(Posted 2005) [#2]
try making sure its 32bit and you have included the png module if using framework.


Dreamora(Posted 2005) [#3]
no you can't fix this. If your resolution is 320x240 then the maximum texture size is 128x128 so any texture larger than that won't work if you forgot the MIPMAP flag. And 318x221 will be a size of 512x512 (if your game really needs this low resolution: you need a TNT2 or above for this texture size I think)