Post Reply 

Copying transparent text onto another image

Mar 27, 2012, 12:13
Post: #1
Copying transparent text onto another image
I have two images open, one is a .png with a transparent background, but when I paste it onto a colored background image, it loses the text color from the original. I probably need to be doing this with layers but I can't even figure out how to get both images on the same layers dialog. Any help would be greatly appreciated!
Find all posts by this user
Quote this message in a reply
Mar 27, 2012, 14:15
Post: #2
RE: Copying transparent text onto another image
(Mar 27, 2012 12:13)gpsmapper Wrote:  I have two images open, one is a .png with a transparent background, but when I paste it onto a colored background image, it loses the text color from the original. I probably need to be doing this with layers but I can't even figure out how to get both images on the same layers dialog. Any help would be greatly appreciated!
In one of the images you can always use "File/Open as layers" to load the other image as a new layer (or as several layers for XCF or TIF files)(you can also selected several images in the file dialog, to load them all at the same time).

Cut/paste should also work...

However, with both methods, if the target image is in indexed mode (typical for a GIF), the colors of the pasted/loaded images are mapped to the closest existing colors in the color map of the target, and "closest" can still be quite far and grays are often a best match.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Mar 27, 2012, 14:31
Post: #3
RE: Copying transparent text onto another image
(Mar 27, 2012 14:15)ofnuts Wrote:  However, with both methods, if the target image is in indexed mode (typical for a GIF), the colors of the pasted/loaded images are mapped to the closest existing colors in the color map of the target, and "closest" can still be quite far and grays are often a best match.

Hey, thanks for taking the time to respond. Yeah, the target is a .gif. I thought that might have something to do with it, so I saved it as a .png. Still didn't work, but after your comment, I saved it as a .jpg, did the cut and paste of text onto it and it works! Never would have thought of that without your response. Thank you!
Find all posts by this user
Quote this message in a reply
Mar 27, 2012, 14:49
Post: #4
RE: Copying transparent text onto another image
(Mar 27, 2012 14:31)gpsmapper Wrote:  
(Mar 27, 2012 14:15)ofnuts Wrote:  However, with both methods, if the target image is in indexed mode (typical for a GIF), the colors of the pasted/loaded images are mapped to the closest existing colors in the color map of the target, and "closest" can still be quite far and grays are often a best match.

Hey, thanks for taking the time to respond. Yeah, the target is a .gif. I thought that might have something to do with it, so I saved it as a .png. Still didn't work, but after your comment, I saved it as a .jpg, did the cut and paste of text onto it and it works! Never would have thought of that without your response. Thank you!
Saving to JPG was the bad solution Smile The right solution is to go to "Image/Mode/RGB"

However... a GIF is limited to 256 colors. When you go back to RGB you allow additional colors from other images, but if you save again as GIF, the 256-colors restriction will apply again, and by default there will be a '"best fit" of your 256+ colors into the allowed 256. This may change the appearance of the GIF (and in particular may make it appear pixellated). So avoid editing GIFs and try to find the image in a better format with more colors and partial transparency (PNG, typically).

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Mar 27, 2012, 14:59
Post: #5
RE: Copying transparent text onto another image
(Mar 27, 2012 14:49)ofnuts Wrote:  Saving to JPG was the bad solution Smile The right solution is to go to "Image/Mode/RGB"

However... a GIF is limited to 256 colors. When you go back to RGB you allow additional colors from other images, but if you save again as GIF, the 256-colors restriction will apply again, and by default there will be a '"best fit" of your 256+ colors into the allowed 256. This may change the appearance of the GIF (and in particular may make it appear pixellated). So avoid editing GIFs and try to find the image in a better format with more colors and partial transparency (PNG, typically).

I'll see if I can do Image/Mode/RGB. The problem is that the background image is a gradated background for a logo and I only have access to a .gif version.
Find all posts by this user
Quote this message in a reply
Mar 27, 2012, 15:52
Post: #6
RE: Copying transparent text onto another image
(Mar 27, 2012 14:59)gpsmapper Wrote:  
(Mar 27, 2012 14:49)ofnuts Wrote:  Saving to JPG was the bad solution Smile The right solution is to go to "Image/Mode/RGB"

However... a GIF is limited to 256 colors. When you go back to RGB you allow additional colors from other images, but if you save again as GIF, the 256-colors restriction will apply again, and by default there will be a '"best fit" of your 256+ colors into the allowed 256. This may change the appearance of the GIF (and in particular may make it appear pixellated). So avoid editing GIFs and try to find the image in a better format with more colors and partial transparency (PNG, typically).

I'll see if I can do Image/Mode/RGB. The problem is that the background image is a gradated background for a logo and I only have access to a .gif version.
Convert to PNG and don't convert back to GIF then.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Image centering for printing okfhp 1 181 Aug 23, 2017 17:51
Last Post: ofnuts
  "Open Image" change default folder and thumbnail view? Dave001 1 126 Aug 15, 2017 19:56
Last Post: ofnuts
  How to wrap paragraph text in an image arun67 0 114 Aug 12, 2017 12:46
Last Post: arun67
  Change the space between lines of text ead 1 150 Jul 28, 2017 12:38
Last Post: ythgilb
  Combining gif image to static image help? littlegreendog 1 161 Jul 26, 2017 12:27
Last Post: ythgilb

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS