posted @ 2016-12-21 18:29
随笔分类 - UIImage
对图片的处理
摘要:Demo下载地址 一.重现问题: 拍照获得的图片,由于尺寸不对,需要拆切.但是有的图片拆切出来,方向就乱了.查找了一些质量才知道.图片还有个方向属性! imageOrientation. 二.一个图片包含两个方面的信息: 1.数据本身: 每个像素的颜色值. 2.文件头: 图片的基本信息.比如:图片的
阅读全文
摘要:github地址: https://github.com/mancongiOS/UIImage.git 方式一: 用动画展示 方式二:用UIWebView展示 其中的HTML文件
阅读全文
posted @ 2016-12-06 16:45
摘要:github地址: https://github.com/mancongiOS/UIImage.git UIImage的Category UIImage+ImageWaterPrint.h UIImage+ImageWaterPrint.m
阅读全文
posted @ 2016-12-06 16:41
摘要:github地址: https://github.com/mancongiOS/UIImage.git UIImage的category UIView+ImageScreenShot.h UIView+ImageScreenShot.m 使用:
阅读全文
posted @ 2016-12-06 16:38
摘要:github地址: https://github.com/mancongiOS/UIImage.git UIImage的Cagetory UIImage+ImageCircle.h UIImage+ImageCircle.m 使用:
阅读全文
posted @ 2016-12-06 16:34
摘要:使用 github地址: https://github.com/mancongiOS/UIImage.git
阅读全文
posted @ 2016-12-06 16:28
摘要:一.目的: 有时候我们获得到的图片我们不是我们想要的方向,需要对图片进行旋转.比如:图片旋转90度180度等. 二.实现过程. 1.获取到该UIImage. 2.开启上下文. 3.上下文的具体操作. 4. 将上下文转化为想要的UIImage 三.UIImage 的 Category UIImage+
阅读全文
posted @ 2016-12-06 16:01
浙公网安备 33010602011771号