Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Converting grayscale image to color
#1
Win 10/GIMP 2.10.38

Converting grayscale image to color.

I am trying to work out a way to convert a grayscale image to color.

If I open a grayscale image and convert to RGB with Image>Mode RGB, the image does not behave like other RGB color images.

For example if I then choose Colors>Color Balance and move the sliders the image color does not change where as with other RGB images the image color changes if I do this.

I've tried simply creating a new (RGB) image and copying and pasting the grayscale image to the new image. If the new image has a white background this works but if I create a new image with a transparent background it doesn't. Why is this?

I notice that if I create an image with a white background the color channels seem as expected, ie Red Green and Blue but if I create an RGB image with a transparent background the color channels don't seem to have any color. Why is this?

Is there a way I can convert a grayscale image to RGB color so I can use the sliders in Image>Color Balance to change the color of an image but maintain a transparent background?

Thanks
Reply
#2
(Today, 12:29 AM)bwestoz Wrote: Win 10/GIMP 2.10.38

Converting grayscale image to color.

I am trying to work out a way to convert a grayscale image to color.

If I open a grayscale image and convert to RGB with Image>Mode RGB, the image does not behave like other RGB color images.

It should. Is the initial image grayscale in Gimp  (title bar says "Grayscale" somewhere)? After Image > Mode > RGB the image should be converted to RGB mode (again, this should show in the title bar)

(Today, 12:29 AM)bwestoz Wrote: For example if I then choose Colors>Color Balance and move the sliders the image color does not change where as with other RGB images the image color changes if I do this.

I've tried simply creating a new (RGB) image and copying and pasting the grayscale image to the new image. If the new image has a white background this works but if I create a new image with a transparent background it doesn't. Why is this?

I notice that if I create an image with a white background the color channels seem as expected, ie Red Green and Blue but if I create an RGB image with a transparent background the color channels don't seem to have any color. Why is this?

In the Channels list the RGB color channels always appear as grayscale thumbnails of the channel so can you post a screenshot?

(Today, 12:29 AM)bwestoz Wrote: Is there a way I can convert a grayscale image to RGB color so I can use the sliders in Image>Color Balance to change the color of an image but maintain a transparent background?

Thanks

Image > Mode > RGB should do it. Can you attach the grayscale image here?
Reply
#3
If you want to apply color to a greyscale image, you might start with Colors > Desaturate > Sepia first.
Reply
#4
(11 hours ago)Ofnuts Wrote:
(Today, 12:29 AM)bwestoz Wrote: Win 10/GIMP 2.10.38

Converting grayscale image to color.

I am trying to work out a way to convert a grayscale image to color.

If I open a grayscale image and convert to RGB with Image>Mode RGB, the image does not behave like other RGB color images.

It should. Is the initial image grayscale in Gimp  (title bar says "Grayscale" somewhere)? After Image > Mode > RGB the image should be converted to RGB mode (again, this should show in the title bar)

(Today, 12:29 AM)bwestoz Wrote: For example if I then choose Colors>Color Balance and move the sliders the image color does not change where as with other RGB images the image color changes if I do this.

I've tried simply creating a new (RGB) image and copying and pasting the grayscale image to the new image. If the new image has a white background this works but if I create a new image with a transparent background it doesn't. Why is this?

I notice that if I create an image with a white background the color channels seem as expected, ie Red Green and Blue but if I create an RGB image with a transparent background the color channels don't seem to have any color. Why is this?

In the Channels list the RGB color channels always appear as grayscale thumbnails of the channel so can you post a screenshot?

(Today, 12:29 AM)bwestoz Wrote: Is there a way I can convert a grayscale image to RGB color so I can use the sliders in Image>Color Balance to change the color of an image but maintain a transparent background?

Thanks

Image > Mode > RGB should do it. Can you attach the grayscale image here?
Thanks for your reply. I've attached the image.


Attached Files Image(s)
   
Reply
#5
Nice frame. With images like that use the alpha-lock top right of the layers dock.

Put the image into RGB mode Image -> Mode -> RGB then enable the alpha lock. Up to you what you do then, bucket fill, all sorts. Remember to turn alpha-lock off when finished.

   

50 second example: https://i.imgur.com/6x9Xe3T.mp4

EDIT: A couple of notes, Copy / Paste or Open as Layer the greyscale over a RGB image and the whole thing takes on RGB. The same is true in reverse a RGB image dropped in a greyscale image and the whole is GS.
You can add the frame over a RGB image (Image -> Open as Layers), size it up (if required) and then apply the alpha lock / recolour to the frame layer.
Reply


Forum Jump: