我可以将图像转换为点网格吗? [英] Can I convert an image into a grid of dots?

查看:327
本文介绍了我可以将图像转换为点网格吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是一个简单的问题。

这可以:

在iOS设备上进行图像处理吗?如果有,怎么样?

be done with image processing on an iOS device? If yes, how?

推荐答案

您应该能够仅仅通过循环和在黑色和白色绘制圆,然后使用该图像来做到这一点图片的掩码。

You should be able to do this just by looping and drawing the circles in black and white, and then using that image as a mask for your image.

这是我在Google上发现的第一个关于CoreGraphics屏蔽的链接,你可以根据自己的需要调整它: http://cocoawithlove.com/2009/09/creating-alpha-masks-from-text -on.html

Here's the first link I found on Google about CoreGraphics masking, which you can probably adapt for your needs: http://cocoawithlove.com/2009/09/creating-alpha-masks-from-text-on.html

我想你可以通过自己的一些谷歌搜索来绘制很多圆圈。

I'd imagine drawing lots of circles is something you can figure out with some Googling of your own.

这篇关于我可以将图像转换为点网格吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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