开发者

overlap image to another image - iphone

I at all开发者_运维知识库, I have a question, there is a way for overlap an image to another image?overllapping 2 image and save it? After take it from my album, how can apply this filter?


Ok, then you should easily achieve what you want like this:

imageViewOnTop .backgroundColor = [UIColor clearColor]; //This sets your backgroung to transparent. 
imageViewOnTop.opaque = NO;
[imageViewBehind addSubview:imageViewOnTop];
[imageViewOnTop release];

imageViewOnTop being your "Hat", and imageViewBehind being your "Head". NOTE: your images should have an ALPHA capable image format like PNG, so only the Hat is visible and covering your Head, not the whole imageView Rectangle . Hope its clear enough!


Oh you wanted to save your compiled image to the roll, then you should do this:

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜