Previous topicNext topic

Color space conversions and Magic

Questions, comments, feedback, etc.
Post Reply
jhinden
Posts: 48
Joined: Mon Nov 30, 2020 2:15 pm

Color space conversions and Magic

Post by jhinden »

I'm wondering how color space is handled in Magic. I'm assuming everything happens in the SRGB color space or is it module dependent?

The reason I'm asking is because I've recently made some modules to convert to linear srgb and back though they don't seem to be working properly. If I write the linear to srgb and srgb to linear conversion all within the module itself it appears to work fine.

For example:
I have two solid color modules that feed a gradient module that take an external input.
I'd like to insert an srgb to linear module between then two and a linear to srgb module after the gradient.

Can I expect this to work? Any information as to how color spaces work in Magic between modules would be appreciated.

Thanks
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: Color space conversions and Magic

Post by Magic »

Magic uses generic RGB.
jhinden
Posts: 48
Joined: Mon Nov 30, 2020 2:15 pm

Re: Color space conversions and Magic

Post by jhinden »

Thanks
Post Reply