livecode changes image colors without being asked to do it

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
I have a stack that dynamically sets the image that is displayed on a
card using

        set the filename of img vImageName of stack vStackName to vFilePath

I just encountered a problem with a new batch of jpeg files. Their
colors change when they are displayed in the stack. I mean that when I
open them in Preview, the color saturation and hue are different than
when viewing the same pic in a stack.

Anything I can do to avoid that or anything I can tell the graphics
person to do differently when producing those files in AI?

RObert
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
Not sure if it will make a difference, but you might want to-- set the
resizequality of the img "imagename"  to "best"

On Wed, Aug 30, 2017 at 6:54 AM, Robert Brenstein via use-livecode <
[hidden email]> wrote:

> I have a stack that dynamically sets the image that is displayed on a card
> using
>
>         set the filename of img vImageName of stack vStackName to vFilePath
>
> I just encountered a problem with a new batch of jpeg files. Their colors
> change when they are displayed in the stack. I mean that when I open them
> in Preview, the color saturation and hue are different than when viewing
> the same pic in a stack.
>
> Anything I can do to avoid that or anything I can tell the graphics person
> to do differently when producing those files in AI?
>
> RObert
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
Hi Robert,

This is likely down to the colour space the images are embedded with.
Preview will respect the colour space whereas LC will not in some cases.
Make sure the jpg is saved with the sRGB (IEC61966-2.1) profile to maintain
the correct colour. And make sure it's not CMYK.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 30 August 2017 at 14:03, Mike Bonner via use-livecode <
[hidden email]> wrote:

> Not sure if it will make a difference, but you might want to-- set the
> resizequality of the img "imagename"  to "best"
>
> On Wed, Aug 30, 2017 at 6:54 AM, Robert Brenstein via use-livecode <
> [hidden email]> wrote:
>
> > I have a stack that dynamically sets the image that is displayed on a
> card
> > using
> >
> >         set the filename of img vImageName of stack vStackName to
> vFilePath
> >
> > I just encountered a problem with a new batch of jpeg files. Their colors
> > change when they are displayed in the stack. I mean that when I open them
> > in Preview, the color saturation and hue are different than when viewing
> > the same pic in a stack.
> >
> > Anything I can do to avoid that or anything I can tell the graphics
> person
> > to do differently when producing those files in AI?
> >
> > RObert
> > _______________________________________________
> > use-livecode mailing list
> > [hidden email]
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
@Robert which LiveCode version are you using?

CMYK images should display correctly if you are using LC >=8.1.3:

https://github.com/livecode/livecode/pull/4950

Best,
Panos
--

On Wed, Aug 30, 2017 at 3:03 PM, Sean Cole (Pi) via use-livecode <
[hidden email]> wrote:

> Hi Robert,
>
> This is likely down to the colour space the images are embedded with.
> Preview will respect the colour space whereas LC will not in some cases.
> Make sure the jpg is saved with the sRGB (IEC61966-2.1) profile to maintain
> the correct colour. And make sure it's not CMYK.
>
> Sean Cole
> *Pi Digital Productions Ltd*
> www.pidigital.co.uk
> +44(1634)402193
> +44(7702)116447
> 'Don't try to think outside the box. Just remember the truth: There is no
> box!'
> 'For then you realise it is not the box you are trying to look outside of,
> but it is yourself!'
>
> eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
> Productions Ltd is a UK registered limited company, no. 5255609
>
> On 30 August 2017 at 14:03, Mike Bonner via use-livecode <
> [hidden email]> wrote:
>
> > Not sure if it will make a difference, but you might want to-- set the
> > resizequality of the img "imagename"  to "best"
> >
> > On Wed, Aug 30, 2017 at 6:54 AM, Robert Brenstein via use-livecode <
> > [hidden email]> wrote:
> >
> > > I have a stack that dynamically sets the image that is displayed on a
> > card
> > > using
> > >
> > >         set the filename of img vImageName of stack vStackName to
> > vFilePath
> > >
> > > I just encountered a problem with a new batch of jpeg files. Their
> colors
> > > change when they are displayed in the stack. I mean that when I open
> them
> > > in Preview, the color saturation and hue are different than when
> viewing
> > > the same pic in a stack.
> > >
> > > Anything I can do to avoid that or anything I can tell the graphics
> > person
> > > to do differently when producing those files in AI?
> > >
> > > RObert
> > > _______________________________________________
> > > use-livecode mailing list
> > > [hidden email]
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > >
> > _______________________________________________
> > use-livecode mailing list
> > [hidden email]
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
In reply to this post by Rick Harrison via use-livecode
resizequality is set to best…

On 30 Aug 2017, at 15:03, Mike Bonner via use-livecode wrote:

> Not sure if it will make a difference, but you might want to-- set the
> resizequality of the img "imagename"  to "best"
>
> On Wed, Aug 30, 2017 at 6:54 AM, Robert Brenstein via use-livecode <
> [hidden email]> wrote:
>
>> I have a stack that dynamically sets the image that is displayed on a
>> card
>> using
>>
>>         set the filename of img vImageName of stack vStackName to
>> vFilePath
>>
>> I just encountered a problem with a new batch of jpeg files. Their
>> colors
>> change when they are displayed in the stack. I mean that when I open
>> them
>> in Preview, the color saturation and hue are different than when
>> viewing
>> the same pic in a stack.
>>
>> Anything I can do to avoid that or anything I can tell the graphics
>> person
>> to do differently when producing those files in AI?
>>
>> RObert
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
In reply to this post by Rick Harrison via use-livecode
Thanks for pointing me in the right direction. The images are indeed
CMYK. The stack is used to produce a PDF file and the printing shop
requested CMYK. I just checked that last year we had indeed used sRGB
not CMYK.

RObert

On 30 Aug 2017, at 16:03, Sean Cole (Pi) via use-livecode wrote:

> Hi Robert,
>
> This is likely down to the colour space the images are embedded with.
> Preview will respect the colour space whereas LC will not in some
> cases.
> Make sure the jpg is saved with the sRGB (IEC61966-2.1) profile to
> maintain
> the correct colour. And make sure it's not CMYK.
>
> Sean Cole
> *Pi Digital Productions Ltd*
> www.pidigital.co.uk
> +44(1634)402193
> +44(7702)116447
> 'Don't try to think outside the box. Just remember the truth: There is
> no
> box!'
> 'For then you realise it is not the box you are trying to look outside
> of,
> but it is yourself!'
>
> eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
> Productions Ltd is a UK registered limited company, no. 5255609
>
> On 30 August 2017 at 14:03, Mike Bonner via use-livecode <
> [hidden email]> wrote:
>
>> Not sure if it will make a difference, but you might want to-- set
>> the
>> resizequality of the img "imagename"  to "best"
>>
>> On Wed, Aug 30, 2017 at 6:54 AM, Robert Brenstein via use-livecode <
>> [hidden email]> wrote:
>>
>>> I have a stack that dynamically sets the image that is displayed on
>>> a
>> card
>>> using
>>>
>>>         set the filename of img vImageName of stack vStackName to
>> vFilePath
>>>
>>> I just encountered a problem with a new batch of jpeg files. Their
>>> colors
>>> change when they are displayed in the stack. I mean that when I open
>>> them
>>> in Preview, the color saturation and hue are different than when
>>> viewing
>>> the same pic in a stack.
>>>
>>> Anything I can do to avoid that or anything I can tell the graphics
>> person
>>> to do differently when producing those files in AI?
>>>
>>> RObert
>>> _______________________________________________
>>> use-livecode mailing list
>>> [hidden email]
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
In reply to this post by Rick Harrison via use-livecode
LC 7.1.3

It sounds like I must venture into LC8-land or see whether I manage to
get by with sRGB yet…

RObert

On 30 Aug 2017, at 16:07, panagiotis merakos via use-livecode wrote:

> @Robert which LiveCode version are you using?
>
> CMYK images should display correctly if you are using LC >=8.1.3:
>
> https://github.com/livecode/livecode/pull/4950
>
> Best,
> Panos
> --
>
> On Wed, Aug 30, 2017 at 3:03 PM, Sean Cole (Pi) via use-livecode <
> [hidden email]> wrote:
>
>> Hi Robert,
>>
>> This is likely down to the colour space the images are embedded with.
>> Preview will respect the colour space whereas LC will not in some
>> cases.
>> Make sure the jpg is saved with the sRGB (IEC61966-2.1) profile to
>> maintain
>> the correct colour. And make sure it's not CMYK.
>>
>> Sean Cole
>> *Pi Digital Productions Ltd*
>> www.pidigital.co.uk
>> +44(1634)402193
>> +44(7702)116447
>> 'Don't try to think outside the box. Just remember the truth: There
>> is no
>> box!'
>> 'For then you realise it is not the box you are trying to look
>> outside of,
>> but it is yourself!'
>>
>> eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
>> Productions Ltd is a UK registered limited company, no. 5255609
>>
>> On 30 August 2017 at 14:03, Mike Bonner via use-livecode <
>> [hidden email]> wrote:
>>
>>> Not sure if it will make a difference, but you might want to-- set
>>> the
>>> resizequality of the img "imagename"  to "best"
>>>
>>> On Wed, Aug 30, 2017 at 6:54 AM, Robert Brenstein via use-livecode <
>>> [hidden email]> wrote:
>>>
>>>> I have a stack that dynamically sets the image that is displayed on
>>>> a
>>> card
>>>> using
>>>>
>>>>         set the filename of img vImageName of stack vStackName to
>>> vFilePath
>>>>
>>>> I just encountered a problem with a new batch of jpeg files. Their
>> colors
>>>> change when they are displayed in the stack. I mean that when I
>>>> open
>> them
>>>> in Preview, the color saturation and hue are different than when
>> viewing
>>>> the same pic in a stack.
>>>>
>>>> Anything I can do to avoid that or anything I can tell the graphics
>>> person
>>>> to do differently when producing those files in AI?
>>>>
>>>> RObert
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> [hidden email]
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> [hidden email]
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
I suggest you try LC 8.x anyway, since LC 7.x is no longer maintained.

Moreover you'll find many many new features in LC 8.x :)

Best,
Panos
--


On Wed, Aug 30, 2017 at 3:33 PM, Robert Brenstein via use-livecode <
[hidden email]> wrote:

> LC 7.1.3
>
> It sounds like I must venture into LC8-land or see whether I manage to get
> by with sRGB yet…
>
> RObert
>
>
> On 30 Aug 2017, at 16:07, panagiotis merakos via use-livecode wrote:
>
> @Robert which LiveCode version are you using?
>>
>> CMYK images should display correctly if you are using LC >=8.1.3:
>>
>> https://github.com/livecode/livecode/pull/4950
>>
>> Best,
>> Panos
>> --
>>
>> On Wed, Aug 30, 2017 at 3:03 PM, Sean Cole (Pi) via use-livecode <
>> [hidden email]> wrote:
>>
>> Hi Robert,
>>>
>>> This is likely down to the colour space the images are embedded with.
>>> Preview will respect the colour space whereas LC will not in some cases.
>>> Make sure the jpg is saved with the sRGB (IEC61966-2.1) profile to
>>> maintain
>>> the correct colour. And make sure it's not CMYK.
>>>
>>> Sean Cole
>>> *Pi Digital Productions Ltd*
>>> www.pidigital.co.uk
>>> +44(1634)402193
>>> +44(7702)116447
>>> 'Don't try to think outside the box. Just remember the truth: There is no
>>> box!'
>>> 'For then you realise it is not the box you are trying to look outside
>>> of,
>>> but it is yourself!'
>>>
>>> eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
>>> Productions Ltd is a UK registered limited company, no. 5255609
>>>
>>> On 30 August 2017 at 14:03, Mike Bonner via use-livecode <
>>> [hidden email]> wrote:
>>>
>>> Not sure if it will make a difference, but you might want to-- set the
>>>> resizequality of the img "imagename"  to "best"
>>>>
>>>> On Wed, Aug 30, 2017 at 6:54 AM, Robert Brenstein via use-livecode <
>>>> [hidden email]> wrote:
>>>>
>>>> I have a stack that dynamically sets the image that is displayed on a
>>>>>
>>>> card
>>>>
>>>>> using
>>>>>
>>>>>         set the filename of img vImageName of stack vStackName to
>>>>>
>>>> vFilePath
>>>>
>>>>>
>>>>> I just encountered a problem with a new batch of jpeg files. Their
>>>>>
>>>> colors
>>>
>>>> change when they are displayed in the stack. I mean that when I open
>>>>>
>>>> them
>>>
>>>> in Preview, the color saturation and hue are different than when
>>>>>
>>>> viewing
>>>
>>>> the same pic in a stack.
>>>>>
>>>>> Anything I can do to avoid that or anything I can tell the graphics
>>>>>
>>>> person
>>>>
>>>>> to do differently when producing those files in AI?
>>>>>
>>>>> RObert
>>>>> _______________________________________________
>>>>> use-livecode mailing list
>>>>> [hidden email]
>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>>
>>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> [hidden email]
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>
>>>> _______________________________________________
>>> use-livecode mailing list
>>> [hidden email]
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
In reply to this post by Rick Harrison via use-livecode
On 30 Aug 2017, at 15:31, Robert Brenstein via use-livecode wrote:

> The stack is used to produce a PDF file and the printing shop
> requested CMYK

A slight aside – please forgive me.

I teach publishing and have worked in the print industry (among others)
since the 1980s. It's now the norm for printers to accept PDFs with
embedded RGB images and do the colour conversion to CMYK in the final
RIP stage as it's printed. This means that the actual conversion is done
with settings that are most appropriate to the actual print method and
device, not a generic 'make it CMYK' process. I've seen print projects
go expensively wrong because of inappropriate CMYK conversion settings.

This is often known as an RGB workflow – although 'Hybrid workflow' is
more accurate, as it's just imported images that are left in their
native colour model; colour swatches should still be specified using the
colour model of the intended output process.

Having said this, the bottom line is always "ask your printer and follow
their advice," not least because if something goes wrong with the colour
repro they can't blame you. ;)

k

---

Keith Martin
Senior Lecturer, LCC (University of the Arts London)
President, http://IVRPA.org
http://PanoramaPhotographer.com
http://thatkeith.com
+44 (0)7909541365

---
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
Not only that, but a PDF can have embedded objects, each with their own ICC profile. For instance, a logo should be using a saturation intent and absolute colorimetric profile to make sure the color remains constant. Think Home Depot Orange. A photograph however might need perceptual intent with relative colorimetric.

A high end print controller like a Fiery or Creo can honor these embedded profiles to give you just the right output that you expect. Livecode should be able to print these kinds of PDFs because it's the pint controller that handles the RIP. I would not expect LC to be able to CREATE these PDFs however.

Bob S


> On Aug 31, 2017, at 04:36 , Keith Martin via use-livecode <[hidden email]> wrote:
>
> On 30 Aug 2017, at 15:31, Robert Brenstein via use-livecode wrote:
>
>> The stack is used to produce a PDF file and the printing shop requested CMYK
>
> A slight aside – please forgive me.
>
> I teach publishing and have worked in the print industry (among others) since the 1980s. It's now the norm for printers to accept PDFs with embedded RGB images and do the colour conversion to CMYK in the final RIP stage as it's printed. This means that the actual conversion is done with settings that are most appropriate to the actual print method and device, not a generic 'make it CMYK' process. I've seen print projects go expensively wrong because of inappropriate CMYK conversion settings.
>
> This is often known as an RGB workflow – although 'Hybrid workflow' is more accurate, as it's just imported images that are left in their native colour model; colour swatches should still be specified using the colour model of the intended output process.
>
> Having said this, the bottom line is always "ask your printer and follow their advice," not least because if something goes wrong with the colour repro they can't blame you. ;)
>
> k
>
> ---
>
> Keith Martin
> Senior Lecturer, LCC (University of the Arts London)
> President, http://IVRPA.org
> http://PanoramaPhotographer.com
> http://thatkeith.com
> +44 (0)7909541365

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
In reply to this post by Rick Harrison via use-livecode
Hi Robert,

Are you able to file a bug with the offending image?

The engine does handle colour profiles in many cases so there may be an issue with that kind of profile (if the image has one).

Of course, if the image does not have a profile then it might the engine isn't using an appropriate default.

Warmest Regards,

Mark.

Sent from my iPhone

> On 30 Aug 2017, at 13:54, Robert Brenstein via use-livecode <[hidden email]> wrote:
>
> I have a stack that dynamically sets the image that is displayed on a card using
>
>    set the filename of img vImageName of stack vStackName to vFilePath
>
> I just encountered a problem with a new batch of jpeg files. Their colors change when they are displayed in the stack. I mean that when I open them in Preview, the color saturation and hue are different than when viewing the same pic in a stack.
>
> Anything I can do to avoid that or anything I can tell the graphics person to do differently when producing those files in AI?
>
> RObert
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
Mark, if you follow the thread, you will find that I hit a known problem
and it was remedied in a newer version of LC8. The comment/tip from
Keith is quite useful since the files I produce are printed by different
print shops in different countries. The shop I use locally accepts files
with sRGB but warns that color might be slightly off due to conversion
to CMYK.

RObert

On 31 Aug 2017, at 17:07, Mark Waddingham via use-livecode wrote:

> Hi Robert,
>
> Are you able to file a bug with the offending image?
>
> The engine does handle colour profiles in many cases so there may be
> an issue with that kind of profile (if the image has one).
>
> Of course, if the image does not have a profile then it might the
> engine isn't using an appropriate default.
>
> Warmest Regards,
>
> Mark.
>
> Sent from my iPhone
>
>> On 30 Aug 2017, at 13:54, Robert Brenstein via use-livecode
>> <[hidden email]> wrote:
>>
>> I have a stack that dynamically sets the image that is displayed on a
>> card using
>>
>>    set the filename of img vImageName of stack vStackName to
>> vFilePath
>>
>> I just encountered a problem with a new batch of jpeg files. Their
>> colors change when they are displayed in the stack. I mean that when
>> I open them in Preview, the color saturation and hue are different
>> than when viewing the same pic in a stack.
>>
>> Anything I can do to avoid that or anything I can tell the graphics
>> person to do differently when producing those files in AI?
>>
>> RObert
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
On 2017-08-31 17:46, Robert Brenstein via use-livecode wrote:
> Mark, if you follow the thread, you will find that I hit a known
> problem and it was remedied in a newer version of LC8. The comment/tip
> from Keith is quite useful since the files I produce are printed by
> different print shops in different countries. The shop I use locally
> accepts files with sRGB but warns that color might be slightly off due
> to conversion to CMYK.

That's why I was intrigued - I inferred that your fix was to use an sRGB
profile in the JPEGs rather than CMYK.

However, there still sounds like an issue somewhere - the engine should
cope with CMYK, so assuming there is a profile in the JPEG for CMYK it
should display similar to Preview. I know CMYK JPEGs are a bit gnarly so
having an example which doesn't work quite right might help them work a
little better and more consistent generally.

Of course, I could have misunderstood entirely!

Warmest Regards,

Mark.

--
Mark Waddingham ~ [hidden email] ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
As Panos wrote: CMYK images should display correctly if you are using LC
 >=8.1.3:
I am using 7.1.3. This is what I meant that this was a known problem.
I just fetched 8.1.6 to check but I won’t habe time to do it until
next week.

Robert

On 31 Aug 2017, at 17:55, Mark Waddingham via use-livecode wrote:

> That's why I was intrigued - I inferred that your fix was to use an
> sRGB profile in the JPEGs rather than CMYK.
>
> However, there still sounds like an issue somewhere - the engine
> should cope with CMYK, so assuming there is a profile in the JPEG for
> CMYK it should display similar to Preview. I know CMYK JPEGs are a bit
> gnarly so having an example which doesn't work quite right might help
> them work a little better and more consistent generally.
>
> Of course, I could have misunderstood entirely!
>
> Warmest Regards,
>
> Mark.
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
On 2017-08-31 18:22, Robert Brenstein via use-livecode wrote:
> As Panos wrote: CMYK images should display correctly if you are using
> LC >=8.1.3:
> I am using 7.1.3. This is what I meant that this was a known problem.
> I just fetched 8.1.6 to check but I won’t habe time to do it until next
> week.

Oops - I missed that email of Panos's - I thought something like this
sounded familiar.

Anyway, keep us posted on how you get on - hopefully that fix will solve
the problem for you.

Warmest Regards,

Mark.

--
Mark Waddingham ~ [hidden email] ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
I just tested this in LC 8.1.6 and it shows the same problem as 7.1.3. I
filed a bug report for the team to check into this, including the files.
Bug 20316.

Robert

On 31 Aug 2017, at 18:25, Mark Waddingham via use-livecode wrote:

> On 2017-08-31 18:22, Robert Brenstein via use-livecode wrote:
>> As Panos wrote: CMYK images should display correctly if you are using
>> LC >=8.1.3:
>> I am using 7.1.3. This is what I meant that this was a known problem.
>> I just fetched 8.1.6 to check but I won’t habe time to do it until
>> next week.
>
> Oops - I missed that email of Panos's - I thought something like this
> sounded familiar.
>
> Anyway, keep us posted on how you get on - hopefully that fix will
> solve the problem for you.
>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ [hidden email] ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
Hi Robert

I have looked at this and it is reacting this way because a correct
CMYK colorspace profile has not been embedded into the jpeg file.
LiveCode, therefore, has no idea how to interpret the colors and
handles them in an almost raw state oversaturating them. Adding the
closest profile to its natural state helps, in this instance, US Web
Coated (SWOP) v2.

I've attached another source jpg to test with which has this embedded profile.

http://quality.livecode.com/show_bug.cgi?id=20316


Sean Cole
*Pi Digital Productions Ltd*

'Don't try to think outside the box. Just remember the truth: There is no
box!'
'For then you realise it is not the box you are trying to look outside of,
but it is yourself!'

eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 1 September 2017 at 00:11, Robert Brenstein via use-livecode <
[hidden email]> wrote:

> I just tested this in LC 8.1.6 and it shows the same problem as 7.1.3. I
> filed a bug report for the team to check into this, including the files.
> Bug 20316.
>
> Robert
>
>
> On 31 Aug 2017, at 18:25, Mark Waddingham via use-livecode wrote:
>
> On 2017-08-31 18:22, Robert Brenstein via use-livecode wrote:
>>
>>> As Panos wrote: CMYK images should display correctly if you are using
>>> LC >=8.1.3:
>>> I am using 7.1.3. This is what I meant that this was a known problem.
>>> I just fetched 8.1.6 to check but I won’t habe time to do it until next
>>> week.
>>>
>>
>> Oops - I missed that email of Panos's - I thought something like this
>> sounded familiar.
>>
>> Anyway, keep us posted on how you get on - hopefully that fix will solve
>> the problem for you.
>>
>> Warmest Regards,
>>
>> Mark.
>>
>> --
>> Mark Waddingham ~ [hidden email] ~ http://www.livecode.com/
>> LiveCode: Everyone can create apps
>>
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: livecode changes image colors without being asked to do it

Rick Harrison via use-livecode
Thanks Sean. I finally had time to check your file and indeed it
displays correctly in 8.1.6.

It still displays wrong in 7.1.3, but it displays differently than the
file without profile, so this must be the profile issue that was fixed
in 8.1.3.

In other words, my problem is with the way jpeg file were generated. It
would be nice if LC handled such files like Preview does or at least
returned a warning that profile is missing.

Robert

On 1 Sep 2017, at 2:34, Sean Cole (Pi) via use-livecode wrote:

> Hi Robert
>
> I have looked at this and it is reacting this way because a correct
> CMYK colorspace profile has not been embedded into the jpeg file.
> LiveCode, therefore, has no idea how to interpret the colors and
> handles them in an almost raw state oversaturating them. Adding the
> closest profile to its natural state helps, in this instance, US Web
> Coated (SWOP) v2.
>
> I've attached another source jpg to test with which has this embedded
> profile.
>
> http://quality.livecode.com/show_bug.cgi?id=20316
>
>
> Sean Cole
> *Pi Digital Productions Ltd*
>
> 'Don't try to think outside the box. Just remember the truth: There is
> no
> box!'
> 'For then you realise it is not the box you are trying to look outside
> of,
> but it is yourself!'
>
> eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
> Productions Ltd is a UK registered limited company, no. 5255609
>
> On 1 September 2017 at 00:11, Robert Brenstein via use-livecode <
> [hidden email]> wrote:
>
>
>> I just tested this in LC 8.1.6 and it shows the same problem as
>> 7.1.3. I
>> filed a bug report for the team to check into this, including the
>> files.
>> Bug 20316.
>>
>> Robert
>>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode