|
-
Apr 19th, 2004, 01:16 AM
#1
Thread Starter
New Member
save(or convert) image in monochrome bitmap [RESOLVED]
Hello friends!
i'm facing a little problem and hope you guys can help.
SITUATION
i have a monochrome bitmap file called abc.bmp
i called this file in VB6 using loadpicture() and put it in a picture box. After manipulated the picture (invert and flip vertical) to another picturebox( called picBmp2), i've called the savepicture method in VB6---SavePicture(picBmp2.Image, "c:\modified.bmp")
to save the modified picture.
the problem is :
Windows did save the file but in 24-bit bitmap. But what i desired is only a 1-bit monochrome bitmap file. The original file is also in monochrome mode. This image file will send to a thermal printer(black and white) to print out. Now i can only open the MSPAINT and manually save as monochrome the modified 24-bit bitmap. It would be great if i can straight get a monochrome bitmap.
some data:
original file---- monochrome bitmap 462 bytes
bitmapOffset=62 bytes
after save-----24 bit bitmap 6454 bytes
bitmapOffset=54 bytes
Please help.
Thank you very much.
Last edited by ahfatt; Apr 28th, 2004 at 03:34 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|