martin2k

Google
 
Web www.martin2k.co.uk

How do I change one colour to another in a picture?

Question


Home Read and add posts to the Visual Basic 6.0 Forums Download some of my programs and OCXs Read the Tips here The old style forum is still available here Contact


From: Jacobs, Phillip E.
Date: Monday 11 February 2002 4:57 PM
Subject: Question
Question: Hello, I was wondering if you could direct me to a good source for intro to intermediate level graphics editing with VB?  What I am trying to do sounds simple, but I have been unable to figure it out.  I would like to simply switch one color in a graphic to another. All the red in a graphic to blue, something like that.  Thank you for your time. -Phil

I have found a project that does this on http://www.vb-helper.com

http://www.vb-helper.com/HowTo/mostclr.zip

The source code looks quite complicated, so good luck!

You might be able to find more examples here:

http://vb.digitalroutes.co.uk/index.shtml?color

There is also a book called Visual Basic Graphics Programming from this site:

http://www.vb-helper.com/books_by_rod.html

Reply: Thank you very much Martin for your help and suggestions.  You are right about the source code, but who knows maybe I'll get lucky.  Sounds like it might be a good idea to pick up a copy of the graphics book.  Might make things a little easier.  Once again thank you very much. -Phil

Please fill in the below form if you have any comments or additional information you want to add about the above information.  If you have any Visual Basic 6.0 questions, please visit the ForumAny questions sent using this form will be ignored.

* - Mandatory

*Name: E-mail:

*Comments:

*Please type the following code (your comment will not be accepted without it):


Martin Allen 1999 - 2005.  Last updated Sunday 12 June 2005 04:39:25 PM +0100.