Isotropix Forums

About Image View and Color Space

Clarisse Scripting related topics

About Image View and Color Space

Unread postby lijieerkalei » Wed Sep 26, 2018 5:49 am

HI,
I'm a junior Clarisse TD, I'd like to ask some questions.

1. How do I get Color Space name from the Image View by Python?
When I use script to save images, I want to get the Color Space used in the Image View, not this:

ix.application.get_default_display_color_space_name()

2. How do I add lut to the Color Manager, I can't find the corresponding API.

Thanks.
lijieerkalei
 
Posts: 1
Joined: Wed Sep 26, 2018 4:46 am

Re: About Image View and Color Space

Unread postby bvaldes » Mon Oct 01, 2018 10:15 am

Hello,

1. Unfortunately the widgets are not accessible through python. So you can't get this data.

2. The color manager window is not accessible in python too. You should create a feature request if you need it: https://www.isotropix.com/user/feature

Why do you need the Color Manager? Inside of Clarisse, you can import OCIO files that contain luts and color spaces. They will be available inside of your widget once loaded (go to preferences>color management>OCIO config file). That could help you to do what you need.

Sorry for the inconvenience, best regards
Benoit VALDES
Isotropix
Clarisse QA
User avatar
bvaldes
 
Posts: 287
Joined: Mon Sep 26, 2016 10:44 am

Re: About Image View and Color Space

Unread postby stheroux » Tue Dec 04, 2018 6:02 pm

Hi Benoit,

About point 2. Is that still the case ? If so, was there a feature request created already ? I could not find it.

Thanks
Sylvain
stheroux
 
Posts: 68
Joined: Thu Jan 15, 2015 9:23 pm

Re: About Image View and Color Space

Unread postby bvaldes » Wed Dec 05, 2018 9:49 am

Hi,

Yes this is still the case, that didn't be updated since October 1st. For now there is no way to access to any button in a widget except the option button in the 3dView or the ImageView (because they are attribute of a widget item). I don't know when it will be available but there are several entries in our bug tracker to allow an access to the widgets through python.

Sorry for the inconvenience.

Regards,
Benoit VALDES
Isotropix
Clarisse QA
User avatar
bvaldes
 
Posts: 287
Joined: Mon Sep 26, 2016 10:44 am

Re: About Image View and Color Space

Unread postby stheroux » Wed Dec 05, 2018 2:45 pm

Hi Benoit,

Yes sorry only noticed the date after my post. I know you guys are fast but not that fast!
We have a workaround for ou use-case through config file for now.

Thanks
Sylvain
stheroux
 
Posts: 68
Joined: Thu Jan 15, 2015 9:23 pm


Return to Scripting