Very confused: Images are shown white in Canvas
BlitzMax Forums/BlitzMax Programming/Very confused: Images are shown white in Canvas
| ||
Hello alltogether, for weeks now I'm wondering why I can't draw images to a canvas. I load JPEGs from a directory and they are shown completely white. What confuses me most is the fact, that I can draw images in a subwindow without any problems. I've now written a small piece of code that loads one of the images directly and presents it to a new window. When executing this code alone everything's working perfectly, when implementing it to my other code the image is as well plain white. What could that be? Many thanks in advance Simon System I'm working on right now: MacOS 10.5 BlitzMax 1.30 MaxGUI 1.30 |
| ||
Maybe not enough video ram, or the mipmap levels are incomplete? |
| ||
I would try a directory with just one image and work your way up. |
| ||
maybe an example would help? Perhaps you are doing something wrong and just not realizing it. I would have to agree it may be a video ram problem if your picture is huge |
| ||
are you using setcolor? it also affects images. hmm, have you tried png / bmp images? have you set the canvas graphics? SetGraphics CanvasGraphics ( Canvas:tgadget ) EDIT: @xlsior you're right, i missed it ;) |
| ||
are oyu using setcolor? it also effects images. Except a setcolor 255,255,255 would show the image in full color, not white it out... You'll only tint images with setcolor, not make them brighter. |