Color space conversions and Magic

Mon May 17, 2021 6:56 am

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
jhinden
 
Posts: 48
Joined: Mon Nov 30, 2020 2:15 pm

Re: Color space conversions and Magic

Mon May 17, 2021 2:33 pm

Magic uses generic RGB.
Eric
Site Admin
 
Posts: 3121
Joined: Wed Apr 09, 2014 9:28 pm

Re: Color space conversions and Magic

Tue May 18, 2021 11:55 am

Thanks
jhinden
 
Posts: 48
Joined: Mon Nov 30, 2020 2:15 pm

Return to General Discussion

© 2021 Color & Music, LLC • This web site is mobile-friendly