Re: [Gimp-developer] How to retrieve the monitor profile from inside a plug-in

2016-09-06 Thread Carmelo DrRaw
Thanks, it worked!!! The only part which is still missing is the tracking of monitor changes. I have prepared a special GIMP AppImage with the patched gmic plug-in, if anyone is interested to test it and give some feedback: https://www.dropbox.com/s/xfo6okeqhx4kv5u/gimp-2.9.5-20160906

Re: [Gimp-developer] How to retrieve the monitor profile from inside a plug-in

2016-09-06 Thread Michael Natterer
On Tue, 2016-09-06 at 16:47 +0200, Carmelo DrRaw wrote: > > > > On 06 Sep 2016, at 16:41, Michael Natterer wrote: > > > > On Tue, 2016-09-06 at 16:30 +0200, Carmelo DrRaw wrote: > > > > In GIMP git master, you would say > > > > gimp_preview_area_set_color_config (gimp_preview_get_area > > (pre

Re: [Gimp-developer] How to retrieve the monitor profile from inside a plug-in

2016-09-06 Thread Carmelo DrRaw
> On 06 Sep 2016, at 16:41, Michael Natterer wrote: > > On Tue, 2016-09-06 at 16:30 +0200, Carmelo DrRaw wrote: > > In GIMP git master, you would say > > gimp_preview_area_set_color_config (gimp_preview_get_area (preview), > gimp_get_color_configuration ());

Re: [Gimp-developer] How to retrieve the monitor profile from inside a plug-in

2016-09-06 Thread Michael Natterer
On Tue, 2016-09-06 at 16:30 +0200, Carmelo DrRaw wrote: > > > > On 06 Sep 2016, at 15:54, Michael Natterer wrote: > > > > On Tue, 2016-09-06 at 09:53 +0200, Carmelo DrRaw wrote: > > > > > > Dear experts, > > > > > > I am trying to improve the G’MIC plug-in by adding color > > > management > >

Re: [Gimp-developer] How to retrieve the monitor profile from inside a plug-in

2016-09-06 Thread Carmelo DrRaw
> On 06 Sep 2016, at 15:54, Michael Natterer wrote: > > On Tue, 2016-09-06 at 09:53 +0200, Carmelo DrRaw wrote: >> Dear experts, >> >> I am trying to improve the G’MIC plug-in by adding color management >> of the preview area. For this, I need to retrieve the GIMP monitor >> profile from inside

Re: [Gimp-developer] How to retrieve the monitor profile from inside a plug-in

2016-09-06 Thread Michael Natterer
On Tue, 2016-09-06 at 09:53 +0200, Carmelo DrRaw wrote: > Dear experts, > > I am trying to improve the G’MIC plug-in by adding color management > of the preview area. For this, I need to retrieve the GIMP monitor > profile from inside the plug-in code. What preview area do you use? In git master

[Gimp-developer] How to retrieve the monitor profile from inside a plug-in

2016-09-06 Thread Carmelo DrRaw
Dear experts, I am trying to improve the G’MIC plug-in by adding color management of the preview area. For this, I need to retrieve the GIMP monitor profile from inside the plug-in code. I have tried the following: GimpColorConfig* color_config = gimp_get_color_configuration(); if(color_co