Solved

SAVING A picture Box to a Black & white BMP

Posted on 1997-05-14
2
395 Views
Last Modified: 2006-11-17
I need to save a picture box to a B&W bmp file. the savepicture command in vb 4 saves in color. ?
0
Comment
Question by:jorgeblanco
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
weekee earned 20 total points
ID: 1426275
You will need to picturebox to complete the tast. First use a paintpicture method with the flag set to SRCINVERT. THis will copy a duplicate b\w picture to the new picturebox. Then do a saveimage method to save the picture. THe paintpicture method can bbe found in the visual basic help file.
0
 

Author Comment

by:jorgeblanco
ID: 1426276
The only problem is that the bmp file saved is still a color bmp in black & white , so the file size is the same size i need it to be a real b&w bmp
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses
Course of the Month7 days, 13 hours left to enroll

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question