The issue I'm having is I want to create a way that I can load one image into Ren'py but a color table determines the colors used for the image.
I.E I can start off with loading in an image like (done in photoshop)
and by editing the colors in the table (top left of the image) I can change it to look like:
Thanks for your time and suggestions guys!
Image color replacement from a color table
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Newbie
- Posts: 7
- Joined: Mon Jul 20, 2015 4:13 am
- Contact:
-
- Lemma-Class Veteran
- Posts: 2299
- Joined: Mon Feb 06, 2012 9:50 pm
- Completed: Icebound, Selenon Rising Ep. 1-2
- Projects: Selenon Rising Ep. 3-4
- Organization: Fastermind Games
- Deviantart: sundownkid
- Location: NYC
- Contact:
Re: Image color replacement from a color table
If you only want to change certain colors, you might be able to do a LiveComposite of an image with different layers and then change the hue of those layers on the fly. (I'm assuming you want more color combinations than would be feasible with separate images).
-
- Newbie
- Posts: 7
- Joined: Mon Jul 20, 2015 4:13 am
- Contact:
Re: Image color replacement from a color table
yes, The other way I could get my idea to work is to remove color channels from the image. I.E if I give a full color image, but only take the Cyan of the CMYK color out.SundownKid wrote:If you only want to change certain colors, you might be able to do a LiveComposite of an image with different layers and then change the hue of those layers on the fly. (I'm assuming you want more color combinations than would be feasible with separate images).
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: Image color replacement from a color table
Hmm, maybe you could try using im.Alphamask (http://www.renpy.org/doc/html/displayab ... .AlphaMask), im.matrix.hue (http://www.renpy.org/doc/html/displayab ... matrix.hue), or im.matrix.tint (http://www.renpy.org/doc/html/displayab ... atrix.tint).
Some threads you may find interesting: http://lemmasoft.renai.us/forums/viewto ... =8&t=26318 and http://lemmasoft.renai.us/forums/viewto ... 66#p309866
Some threads you may find interesting: http://lemmasoft.renai.us/forums/viewto ... =8&t=26318 and http://lemmasoft.renai.us/forums/viewto ... 66#p309866
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
-
- Newbie
- Posts: 7
- Joined: Mon Jul 20, 2015 4:13 am
- Contact:
Re: Image color replacement from a color table
Sadly This doesn't quiet give the results I'm after. Thanks a lot for the links through!Donmai wrote:Hmm, maybe you could try using im.Alphamask (http://www.renpy.org/doc/html/displayab ... .AlphaMask), im.matrix.hue (http://www.renpy.org/doc/html/displayab ... matrix.hue), or im.matrix.tint (http://www.renpy.org/doc/html/displayab ... atrix.tint).
Some threads you may find interesting: http://lemmasoft.renai.us/forums/viewto ... =8&t=26318 and http://lemmasoft.renai.us/forums/viewto ... 66#p309866
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot]