2011-09-27 90 views
2

是否可以使用Core Graphics來調整顏色級別?iOS - 以編程方式更改顏色通道級別

我想使用Gimp或其他圖形編輯器樣式中的參數化曲線來調整通道。

+0

這個問題可能會有所幫助:HTTP:/ /stackoverflow.com/questions/3278560/uiimage-implementing-an-auto-levels-algorithm – seanwolter

+0

我已經找到答案在這裏:https://forrst.com/posts/ios_image_filters_like_photoshop_for_the_UIImag-zs4 –

回答

1

您可以使用此:​​3210(如Photoshop)

如果你想操作的水平,這是你的方法,直接內置到的UIImage類:

- (UIImage*) levels:(NSInteger)black mid:(NSInteger)mid white:(NSInteger)white 
相關問題