Mobile app version of vmapp.org
Login or Join
Deb5748823

: 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

@Deb5748823

Posted in: #AdobePhotoshop #Color #PhotoEditing

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Deb5748823

1 Comments

Sorted by latest first Latest Oldest Best

 

@Tiffany317

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme