简体   繁体   English

如何制作图像拼贴并将图像保存到照片库

[英]How to make Collage of Images and save image to Photo Gallery

I am new to Image editing and i am working on a Collage Tool which can add images according to different collage shapes and make them one image and save it to Photo gallery.. I have seen the following links but i cant achieve what i want.. 我是图像编辑的新手,我正在使用“拼贴工具”,该工具可以根据不同的拼贴形状添加图像并将它们制作为一张图像并将其保存到“照片库”。.我看过以下链接,但我无法实现我想要的。 。

Collage of images with different shapes and How to make collage of images according to different shapes 不同形状 的图像的拼贴以及如何根据不同形状制作图像的拼贴

See this question to get a headstart. 查看此问题以获取领先优势。 Basically I use some CG calls and CGRects to arrange a series of images into a photo collage. 基本上,我使用一些CG调用和CGRects将一系列图像排列到照片拼贴中。 To save to the photo library, just do a search on SO for that topic or try using UIImageWriteToSavedPhotosAlbum function. 要保存到照片库,只需在SO上搜索该主题,或尝试使用UIImageWriteToSavedPhotosAlbum函数。 Read the quick help or the full documentation in Xcode to get tips on how to use the class. 阅读Xcode中的快速帮助或完整文档,以获取有关如何使用该类的提示。 You can also Cmd-click on any type to read Apple's detailed comments on how to use specific classes in their APIs. 您也可以Cmd单击任何类型以阅读Apple关于如何在其API中使用特定类的详细注释。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM