: How to create an art asset that can be dynamically colored in software? Specifically, I have a bunch of photographic crayon images. I would like to remove the color from one to produce a neutral
Specifically, I have a bunch of photographic crayon images. I would like to remove the color from one to produce a neutral image that I can load into an iPhone app that I'm writing and dynamically color. The crayon images have dark regions (shadows) and light regions (shine) which I would like to preserve. I will be dynamically coloring it with many different colors, ranging from white to rainbow colors to black.
My first inclination is to turn the image into a grayscale image and then somehow turn the color channel into an alpha channel, and change the color of all pixels to black. Then I could use it as a mask. However, this would only preserve the shadows, and I would lose all the highlights.
Any ideas?
More posts by @Deb5748823
1 Comments
Sorted by latest first Latest Oldest Best
I'm entirely unfamiliar with iOS/Objective C coding capabilities, but it seems to me that the problem is not one of masking. For arbitrary color selection inside the app, you'd need to work in Lab, HSB or HSV, if that's possible to do, changing the H or the a and b values programmatically.
In Photoshop, you would do this by adding a Hue/Saturation layer and shifting the Hue slider, or by adding a solid color layer and changing its blend mode to Hue or Color. Apply a mask to isolate the effect to a particular part of the image, but the mask is just white on black. That's how it would work in your app, too, I suspect, if you are considering a specific set of colors, rather than arbitrary, user-definable colors.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.