Posted: Tue Feb 26, 2002 2:21 am
Restored from previous forum. Originally posted by El_Choni.
Hi,
I'm coding an Xpm image viewer/converter. It loads an Xpm image file, converts it to BMP format, saves it and loads the BMP image using LoadImage(). Well, it doesn't, and that is the problem, LoadImage() fails. It seems not to like the BMP header created, or something like that. The resulting BMP file is viewable in any viewer (not really true, only PicaView can load it). This is the BMP header created:
UPDATE: Never mind, there are errors everywhere, I'll keep working.
It would be nice if anybody could point me to the problem. If I don't find a solution, I'll code a converter only (not a viewer
.
Thanks,
El_Choni
Edited by - El_Choni on 26 February 2002 03:40:52
Hi,
I'm coding an Xpm image viewer/converter. It loads an Xpm image file, converts it to BMP format, saves it and loads the BMP image using LoadImage(). Well, it doesn't, and that is the problem, LoadImage() fails. It seems not to like the BMP header created, or something like that. The resulting BMP file is viewable in any viewer (not really true, only PicaView can load it). This is the BMP header created:
UPDATE: Never mind, there are errors everywhere, I'll keep working.
It would be nice if anybody could point me to the problem. If I don't find a solution, I'll code a converter only (not a viewer
Thanks,
El_Choni
Edited by - El_Choni on 26 February 2002 03:40:52