|
GDI Contact sheet |
Ariesnl
Member #2,902
November 2002
|
Not an allegro problem, but I think my best chances are here ;-) I'm trying to make a function (in a DLL) that grabs pictures from a directory I got this working by creating a big image ( rows and columns of the images are known) and blitting or stretchblitting ( when reducing the resolution) the images in the bigger picture. But for some reason it now produces an invalid bitmap that cannot be read. and GDI is not giving any errormessages. Does anyone know about a good tutorial how to do this, or a better way ? Perhaps one day we will find that the human factor is more complicated than space and time (Jean luc Picard) |
Edgar Reynaldo
Major Reynaldo
May 2007
|
If you want to torture yourself and use GDI instead of Allegro go ahead and float your boat but I can't help you much. Is the image too big? My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Ariesnl
Member #2,902
November 2002
|
I know.. I'd love to use allegro for this.. but I cannot... Perhaps one day we will find that the human factor is more complicated than space and time (Jean luc Picard) |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Are all the image formats you're trying to use supported by GDI? Have you checked all the return values? Show code if you can. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Peter Hull
Member #1,136
March 2001
|
Do you mean GDI or GDI+ or the managed interface to GDI+ (the stuff in System.Drawing)? I don't think this can be relevant, but I remember having difficulty with bitmaps in GDI+ because the library was holding the bitmap files open after I'd loaded from them. Code please!
|
|