[argyllcms] Re: ColorMunki Smile display types

  • From: Pascal de Bruijn <pmjdebruijn@xxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Tue, 16 Jul 2013 18:04:24 +0200

On Tue, Jul 16, 2013 at 5:57 AM, Graeme Gill <graeme@xxxxxxxxxxxxx> wrote:

> Pascal de Bruijn wrote:
> > Of course all the above has been implemented for 1.5.0/1.5.1... however
> for
> > some devices -y l and -y c don't work anymore, potentially breaking
> > pre-existing scripts (when used with newer type devices).
> >
> > So I'd suggest to add semi-sensible aliases for some types to 'l' and 'c'
> > where possible. I've attached a patch which should do just that, and at
> > least it compiles. I do not however own any of the affected devices, so I
> > can't do any real testing I'm afraid.
>
> Hi Pascal,
>         there is actually a simpler way to achieve this, since the
> inst_disptypesel selector is a string, and each character is regarded
> as an alias. But the problem with either scheme is that earlier
> selectors occlude latter ones, so if a compiled in selection of (say)
> the i1d3 is given an alias 'l', then a later ccss with selector 'l'
> will be shifted to a number. I imagine this is why I removed 'l' and 'c'
> aliases from some instruments.
>
> I think I can change the code to give priority to the first selection
> characters so that this will work.
> See <http://www.argyllcms.com/Argyll_dev_src.zip>


So if I understand this properly, the only changes that matter are
illustrated in the attached patches, right?

Thanks for your assistance.

Regards,
Pascal de Bruijn

Attachment: i1disp.patch
Description: Binary data

Attachment: spyd2.patch
Description: Binary data

Other related posts: