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
  Shaped text irhino2 1 57 Nov 14, 2017 06:15
Last Post: paynekj
  How to add a magnification segment of an image to the original size image fenpeppertree 1 72 Nov 7, 2017 17:05
Last Post: paynekj
  removing unwanted portions of selected area in an image pizzipie 1 88 Nov 2, 2017 05:31
Last Post: paynekj
  Recolor image and maintain detail awesley 1 106 Oct 29, 2017 16:48
Last Post: paynekj
  XCF Thumbnail/Preview Image DailyLunatic 6 3,899 Oct 23, 2017 11:46
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS