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
  Need Advise on tracing image Loriblackdog 1 74 Dec 10, 2018 17:18
Last Post: paynekj
  Make every image exact same size nibla 1 102 Dec 3, 2018 09:15
Last Post: paynekj
  some image have ( your name ) for editing but how commandera 2 159 Nov 1, 2018 18:55
Last Post: commandera
  Resizing an image down without losing quality AsdAsd 1 265 Oct 22, 2018 12:34
Last Post: paynekj
  delete image benhur 1 425 Oct 22, 2018 12:34
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS