Code for converting grayscale image to RGB image

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • srsaravanan
    New Member
    • Nov 2009
    • 2

    Code for converting grayscale image to RGB image

    i need coding for converting block and white image into RGB image
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Just save it as a colored bitmap.
    Your gray's aren't magically going to turn into colors, so I don't know what else you want

    Comment

    • srsaravanan
      New Member
      • Nov 2009
      • 2

      #3
      i have a grayscale image, i want color that...

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        Right. There is no magical way of knowing what colors your Gray pixels should be. I'm really not sure why you would think that?
        Create a new image with the same dimensions as the original, tell it to be like a 24bit bitmap or something like that. Then go transforming your grayscale image into colors that you chose.

        Comment

        Working...