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

2017-09-06 Thread Robert Brenstein 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

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

2017-08-31 Thread Sean Cole (Pi) 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

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

2017-08-31 Thread Robert Brenstein 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:

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

2017-08-31 Thread Mark Waddingham 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.

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

2017-08-31 Thread Robert Brenstein 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

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

2017-08-31 Thread Mark Waddingham 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

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

2017-08-31 Thread Robert Brenstein 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

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

2017-08-31 Thread Mark Waddingham 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

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

2017-08-31 Thread Bob Sneidar 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

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

2017-08-31 Thread Keith Martin 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

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

2017-08-30 Thread panagiotis merakos 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 < use-livecode@lists.runrev.com> wrote: > LC 7.1.3 > > It sounds like I must

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

2017-08-30 Thread Robert Brenstein 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:

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

2017-08-30 Thread Robert Brenstein 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:

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

2017-08-30 Thread Robert Brenstein 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 <

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

2017-08-30 Thread panagiotis merakos 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 < use-livecode@lists.runrev.com> wrote: > Hi Robert, >

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

2017-08-30 Thread Sean Cole (Pi) 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

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

2017-08-30 Thread Mike Bonner 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 < use-livecode@lists.runrev.com> wrote: > I have a stack that dynamically sets the image that is displayed on