123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|581|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> savebmp?

Sun, 30 May 2010, 03:52
spinal
The default saveimage function, when saving a bitmap, e.g. SaveImage("filename.bmp") defaults to a 24bit bmp.
Is there any way to save a 16bit bmp using this function, or, does anyone have a bmp save routine floating about in their collection?

-=-=-
Check out my excellent homepage!
Sun, 30 May 2010, 04:23
Jayenkai
*shrugs*

Things to try...
1. Try bluffing your way through making your own!

2. Hunt for a quick freeware exe that can convert between 24 and 16 bit bitmaps, dump it in the folder, and get that to do it (execfile)

3. c:\program files\irfanview\i_view32.exe "c:\test.bmp" /bpp=16 /convert="c:\temp.bmp"

-=-=-
''Load, Next List!''
Sun, 30 May 2010, 06:01
bram32
You could perhaps look into the FreeImage dll+decls.
Mon, 31 May 2010, 01:46
spinal
In the end I cheated, as I only need to do it this once, for a predefined image (40x42x16bit) I just copied the header from a correct file and added the image data by hand.

-=-=-
Check out my excellent homepage!