livecode changes image colors without being asked to do it

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

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 a

RE: OT: error messages

2017-08-30 Thread Ralph DiMola via use-livecode
In 1975 a few of us were huddled around the console of an IBM 1130 trying to figure out the new command line text editor(Cytos). The error messages were less than helpful(much less) so at one point in frustration we typed "f*** you". Cytos replied "Same to you" and we all fell on the floor laughing

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 Digi

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 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 < use-livecode@l

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: Hi

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 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 venture

Group mouseup

2017-08-30 Thread Ralph DiMola via use-livecode
I must be missing something obvious. Why can't I get a mouseup message sent to a group when clicking in a group where there is no control at the clicked location? Or is this intended behavior? Thanks Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net Phone

Re: Group mouseup

2017-08-30 Thread Bob Sneidar via use-livecode
Edit the script of the group. If mouseUp is not one of the listed handlers that can be added, then a group does not receive the message directly. If it DOES, then set the background color of the group to 255.255.254. Otherwise it's transparent/unclickable. Otherwise just add an (almost) transpar

Re: Group mouseup

2017-08-30 Thread Bob Sneidar via use-livecode
I just checked. The group does not receive mouseUp from the engine. (It doesn't receive closeField either just as an aside. ;-) So I think the almost transparent button at the back of the group will have to be your only option. Bob S > On Aug 30, 2017, at 08:44 , Bob Sneidar via use-livecode

Re: Group mouseup

2017-08-30 Thread Bob Sneidar via use-livecode
I take that back. Just a transparent button will do. You do not have to mess with the background color. Bob S > On Aug 30, 2017, at 08:52 , Bob Sneidar via use-livecode > wrote: > > I just checked. The group does not receive mouseUp from the engine. (It > doesn't receive closeField either

Re: Group mouseup

2017-08-30 Thread Mike Kerner via use-livecode
That seems like a better idea, anyway, since if you ungroup the objects, wouldn't you lose the script? On Wed, Aug 30, 2017 at 11:55 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > I take that back. Just a transparent button will do. You do not have to > mess with the b

RE: Group mouseup

2017-08-30 Thread Ralph DiMola via use-livecode
Worked, Thanks! Another observation. If an image is in a group and you click on a transparent location in the image the mouseup does not make to the group. It guess it makes sense for some applications but also does not make sense for others. Ralph DiMola IT Director Evergreen Information Service

Re: Group mouseup

2017-08-30 Thread Mike Bonner via use-livecode
You could place another transparent button over the top of the image to catch clicks if necessary. On Wed, Aug 30, 2017 at 10:12 AM, Ralph DiMola via use-livecode < use-livecode@lists.runrev.com> wrote: > Worked, Thanks! > > Another observation. If an image is in a group and you click on a > tran

Does exporting a snapshot from a rect work on mobile?

2017-08-30 Thread Jonathan Lynch via use-livecode
I am getting all black in the image, but I checked and the rect is the correct rect. Sent from my iPhone ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preference

LC and OneSignal

2017-08-30 Thread Jose Enrique Montero via use-livecode
Hello Dan ! Could you implement it via API onesignal? pushNotificationRegistered in livecode and post like https://documentation.onesignal.com/reference#add-a-device ? best regard Jose Montero ___ use-livecode mailing list use-livecode@lists.ru

Re: Does exporting a snapshot from a rect work on mobile?

2017-08-30 Thread Paul Hibbert via use-livecode
I just ran a quick test and it works OK for me using LC8.1.6 on MacOS Sierra 10.12.6, build for iOS10 and tested on iPhone 5s running iOS10.3.3 HTH Paul > On Aug 30, 2017, at 7:00 PM, Jonathan Lynch via use-livecode > wrote: > > I am getting all black in the image, but I checked and the rec