You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 14, 2020. It is now read-only.
Copy file name to clipboardexpand all lines: README.md
+35-1
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,36 @@ Uh, so everyone seems to want instagram-style filters for images on iPhone. The
5
5
6
6
Inexplicably, there seem to be no photoshop-style interfaces for image processing on iOS. So, I made some. Badly. Please help me fix them. My lomo filter is OK, but could be a lot better. The basics seem to work.
7
7
8
+
It's like photoshop for the UIImage class!
9
+
======================
10
+
I've worked hard to mimic the photoshop color adjustment menus. Turns out these are clutch in pretty much all the best image filters you can name right now (lomo, polaroid). For example, if you want to manipulate levels, here's your method, built straight onto the UIImage class:
The problem with my curves implementation is that I didn't use the same kind of curve algorithm as Photoshop uses. Mainly, because I don't know how, and other than the name of the curve (bicubic) all the posts and documentation I simply don't understand or cannot figure out how to port to iOS. But, the curves I use (catmull-rom) seem close enough for most things.
34
+
8
35
How to integrate
9
36
======================
10
-
Copy and paste the ImageFilter.* classes into your project. It's implemented as categories on UIImage.
37
+
Copy and paste the ImageFilter.*and Curves/*classes into your project. It's implemented a Category on UIImage.
0 commit comments