Search found 50 matches

by i73
2016-08-24T19:09:13-07:00
Forum: Users
Topic: How to copy a PNG to another PNG alpha channel?
Replies: 22
Views: 17055

Re: How to copy a PNG to another PNG alpha channel?

I don't understand your comment about pre-multiplication. There is no pre-multiplication (by alpha, of the colour channel) in the command I gave. Perhaps it is simpler for you to supply inputs, with the desired output. From what I have been testing all day on c++, C# (BitMap, WriteableBitmap), Imag...
by i73
2016-08-24T17:51:09-07:00
Forum: Users
Topic: How to copy a PNG to another PNG alpha channel?
Replies: 22
Views: 17055

Re: How to copy a PNG to another PNG alpha channel?

Imagemagick only supports one alpha channel in IM 6. IM 7 does support more than one alpha channel, but you cannot write that out to any common image format. You can combine alpha channels from two images and apply that one alpha channel to either of the two images. Typically you extract both alpha...
by i73
2016-08-24T13:28:07-07:00
Forum: Users
Topic: How to copy a PNG to another PNG alpha channel?
Replies: 22
Views: 17055

Re: How to copy a PNG to another PNG alpha channel?

Assuming the images are the same size: convert imageA.png imageB.png -alpha off -compose CopyOpacity -composite out.png ... out.png will be given the colour channels from imageA.png, and the alpha from imageB.png. Thanks so much! This is in fact what I had before but I am missing color data on the ...
by i73
2016-08-24T12:06:38-07:00
Forum: Users
Topic: How to copy a PNG to another PNG alpha channel?
Replies: 22
Views: 17055

Re: How to copy a PNG to another PNG alpha channel?

Most colour images have 3 channels, so I'm not clear what you want to do. If both images have no alpha ("-alpha off"), the grayscale is copied to the alpha channel. Thanks for help, Yes I have a PNG with RGB and Alpha and I am trying to copy ImageA.PNG to ImageB.PNGs alpha channel. Or mer...
by i73
2016-08-24T11:37:39-07:00
Forum: Users
Topic: How to copy a PNG to another PNG alpha channel?
Replies: 22
Views: 17055

How to copy a PNG to another PNG alpha channel?

I'm looking to take one image and clone it to another images alpha channel. I have been looking around this place as well as the Examples and have only found Copy_Opacity but I think this only handles the alpha of the image and not the actual channel.

Any help would be great!