为照片添加相框 [英] Adding picture frame to a photo

查看:42
本文介绍了为照片添加相框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在制作一个为照片添加相框的应用程序.我想知道如何让我的保存"按钮将两个图像(照片和相框)保存为一个图像.现在它只保存其中一个图片.

I am making an app that adds a picture frame to a photo.I would like to know how to have my Save button save both Images (the photo, and the frame) as one Image.Right now it only saves one of the images.

在界面构建器中,我有保存加载到 ImageView 中的图像的保存操作,框架 ImageView 覆盖该图像.

In interface builder I have the save action saving the image that is loaded into an ImageView, with the frame ImageView overlaying that image.

我想将两张照片合并为一张,这样保存动作就可以将图片与相框一起保存.

I'd like to merge the two photos as one, so the save action can save the image with the frame.

谢谢!

推荐答案

在这可能需要使用 iphone 中的遮罩,其中图像的不必要的东西会自动移除并附加到框架中.

In this may need to use the masking in the iphone where the unnecessary thing of the image is automatically remove and attach with the frame.

我认为这有助于最适合您的应用程序

I think this help to implement best for the your applications

因此您也可以参考以下链接以获取下载和教程以及来源.

So you can refer the following link for Download and tutorial and Source also.

参考链接

这篇关于为照片添加相框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆