Click here to Skip to main content
15,509,153 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

Convert a grayscale image into rgb color image using VB.net?
Posted

This is not a question. It's not even a sentence, unless it's a command. What you want to do is impossible, I guess that's why you didn't even attempt it before asking us to do it. If you remove colour, you can't put it back. It can't be done.
 
Share this answer
 
Converting grayscale images to RGB carries 2 meanings:
1. The direct conversion that is only possible in the sense that the resulting file will still contain gray shades, but they will be stored in RGB pixels
2. The manual user-assisted conversion where an artist takes every part or pixel of the gray image and adds color to it.

The second meaning is not really a programming question because you need a human user (or human-level artificial intelligence) to do it.

The first meaning is very easy using different tools, such as Microsoft image objects (load gray, save RGB) or common imaging toolkits like leadtools (ColorResolutionCommand class).
You can find a code sample here:
Color resolution command
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900