Colorizing an image?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
Jasoco
Inner party member
Posts: 3642
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Colorizing an image?

Post by Jasoco » Fri Jan 27, 2012 2:14 am

Oh joyous day again. Hopefully for cereal this time.

coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: Colorizing an image?

Post by coffee » Fri Jan 27, 2012 10:18 am

anjo wrote: coffee's trolling. It is built in.
LOL, of course I was joking with you Jasoco. And neither I or Jasoco should have doubts that Anjo wouldn't introduced the feature. But actually someone that don't know that OSX can natively screen capture windows with transparent background/alpha shadows can really think that image was photoshoped :D

BTW Anjo, you didn't answer what modes you thinking introduce so I quickily checked the commit. You are adding for now the "combine mode". However if you have the basis for introduce more modes this probably can help if you want to add later some extra options. Not all are interesting but some modes can probably help people do interesting effects.
http://www.simpelfilter.de/en/basics/mixmods.html
http://blog.deepskycolors.com/archivo/2 ... modes.html
http://photoblogstop.com/photoshop/phot ... -explained

User avatar
bmelts
Party member
Posts: 380
Joined: Fri Jan 30, 2009 3:16 am
Location: Wiscönsin
Contact:

Re: Colorizing an image?

Post by bmelts » Fri Jan 27, 2012 11:14 am

While these are all interesting, they're also all blend modes, which we already have some of. We're limited in what blend modes we can implement, though; most of the interesting ones require shaders, and the blend mode architecture we have doesn't work with shaders. (Yet?)

The relevant terminology here is color modes, which focus specifically on how the current color is applied to a given image. There is some overlap, but it's a specific case of blending with its own constraints and requirements.

coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: Colorizing an image?

Post by coffee » Fri Jan 27, 2012 11:24 am

anjo wrote:
While these are all interesting, they're also all blend modes, which we already have some of. We're limited in what blend modes we can implement, though; most of the interesting ones require shaders, and the blend mode architecture we have doesn't work with shaders. (Yet?)

The relevant terminology here is color modes, which focus specifically on how the current color is applied to a given image. There is some overlap, but it's a specific case of blending with its own constraints and requirements.
Thank your explain that. Well, at least your addition is a very welcomed improvement. :)

User avatar
Jasoco
Inner party member
Posts: 3642
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Colorizing an image?

Post by Jasoco » Fri Jan 27, 2012 9:13 pm

My kingdom for the ability to colorize images!

User avatar
Chèvre
Prole
Posts: 16
Joined: Sun Sep 16, 2012 4:53 pm
Location: France

Re: Colorizing an image?

Post by Chèvre » Sun Sep 16, 2012 5:30 pm

Hi! Sorry for necroposting; I wouldn't have known about 'combine' if it wasn't for this thread, so I think this is the best place to post.

'combine' was undocumented on the wiki, so I added a short description for it. It'd be lovely if somebody could take a look at it, because I'm not 100% sure what I wrote is understandable/accurate.

Oh, and LÖVE rocks. :)

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests