Last post May 11, 2007 11:51 AM by mariortizmmiv
Jan 02, 2007 07:06 AM|mike123|LINK
I've been trying to do some merging complex merging [ for me anyways [:)] ] with a PNG file and I'm coming to the conclusion that what I am trying to do might actually not be possible. This is a difficult one to explain but I will do my best.
I have a custom image #1 in specified dimensions, I merge an PNG image on top of it. This PNG has a specific shape on it, and the rest of the background is transparent. Merging the PNG on top of custom image #1 creates an a custom image background, however
the actual color of the shape on the PNG is not custom yet. I need both the specific shape, and the background to be their own independant custom images.
I also have another PNG that has the specific shape as a transparent, with the surrounding mass as a colored body. (inverted) When I merge this on top of the image, I can get the opposite of what is produced in the above merge. ( I can get the shape
filled with a custom image, however the background remains a colored body)
I don't really understand exactly how the PNG format works. Does "nothing" = "transparent"? Perhaps if I merged a PNG with properties of "nothing" and "transparent" I would be able to achieve my desired results. (For instance if I had custom image #1
in specified dimensions 400x400 and merged a PNG with the desired shape on top and was able to have the desired shape transparent so that it would bring up the image it was merged on top of, and the rest would overwrite as transparent I would be fixing the
problem. This I doubt is possible tho.
All the images used will be dynamically determined, thus I can't do it by hand. If I were able to, there wouldn't be a problem. I've tried visualizing ways to do this but I can't make any progress, seems like I am in and endless loop :)
Is there anyway to merge these together to create my desired results?
Thanks very much for any input. Pretty stumped here.
May 11, 2007 11:51 AM|mariortizmmiv|LINK
Hi, try wiht Control Adapters for png images
I hope that this links will help you.