Post Reply 

Put png image on top of another png image

Aug 13, 2013, 16:13 (This post was last modified: Aug 13, 2013 16:23 by dbuske.)
Post: #1
Put png image on top of another png image
I am making a AGS PNG character. I want to open the character image and add a separate mask image over the eyes of the character.
I was unable to get the png mask onto the other character png.
Please help?
It is a photo and not a drawn image. I can't just draw the mask on.
By mask I mean an actual mask and not a mask in Gimp.
Find all posts by this user
Quote this message in a reply
Aug 13, 2013, 16:42
Post: #2
RE: Put png image on top of another png image
I found a short tutorial on channels. I will report back
Copying a selection (or any channel/mask) across images
It is sometimes useful to transfer a selection/channel/mask across images (for selections, as a first step, save your selection to a channel ("Select/Save to channel")).
Drag & drop:
Drag the required channel from the Channels list of the source image and drop it on the canvas of the target image: this creates a monochrome layer on the target image
In the Channels list of the target image, duplicate any color channel if you need a channel or right click and "Channel to selection"
Delete dropped layer
Direct cut-and-paste:
In the source image:
Open the Channels list, and select the channel
"Edit/Select all" (or "Edit/Select none", both work)
"Edit/Copy"
In target image:
Open the Channels list, and create a new channel. It should be selected (in blue)
"Edit/Paste"
A "floating selection" layer appears in the Layers list.
Right click and "Anchor layer": this anchors the floating selection it in the new channel.
Via file (so you can save a selection and reuse it later...)
In source image:
open Channels list, and select the saved selection
"File/Save as...", and save as PNG
You should get a warning that you are saving a channel and not a layer. Confirm.
In target image:
"File/Open as layers", and load your saved selection.
Make all layers invisible except the loaded selection
In channels dialog, duplicate any of the Red, Green or Blue channels (you can also directly use "Channel to selection")
Discard or hide the loaded layer, restore visibility of other layers
Find all posts by this user
Quote this message in a reply
Aug 13, 2013, 18:29
Post: #3
RE: Put png image on top of another png image
The tutorial didn't work.

I found an easier way.
Load the mask photo
Load the character
make the mask the proper size
copy the mask.
Paste the mask onto the enlarged character face and eyes.
make the character the right size. Mask is resized as part of the whole combined photo.
save with the word mask added to the original name
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Change Print screen Image Settings dddemauro26 0 21 Yesterday 03:05
Last Post: dddemauro26
  exporting png to PDF problem switched 1 37 Sep 20, 2018 09:31
Last Post: switched
  Error Message "¬†gimp-image-set-resolution¬†" quand 2 216 Sep 8, 2018 19:35
Last Post: quand
Exclamation URGENT! How do I restore layers or a previously saved version of a saved xcf image? Txsweetcheeks1981 3 4,280 Aug 24, 2018 14:15
Last Post: paynekj
  How do I save a image into a press quality PDF? Komodo 1 84 Aug 23, 2018 15:02
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS