I am using the Hue
filter to change the hue of an image:
CIFilter* hueFilter =
[CIFilter filterWithName:@"CIHueAdjust" <blah blah>
[NSNumber numberWithFloat:hue], nil];
I have the Hue
number I wish to use from Photoshop
, but it doesn't correspond to the results I get from iOS.
Is there a rule to change the number in PhotoShop
to the number I should use in iOS
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…