Re: Size of Image in RAM

2017-02-07 Thread Scott Rossi via use-livecode
If your image was 256 colors, the Index > Mode menu would show Indexed Color checked, instead of RGB Color. The RGB/8 Bit you’re seeing in the Photoshop menu actually reads “8 Bits/Channel” — an RGB image is 3 channels (red, green, blue), 8 bits each, so 24 bit color. Again, if you really

Re: Size of Image in RAM

2017-02-07 Thread hh via use-livecode
Scott is right: JPEG has exactly one _color_ mode: 16M = 2^24 (seen apart of 256 gray-color mode). What you interpret as "8bit-color-mode" relates to the _compression_ mode which also explains the relation filesize vs (uncompressed) size in memory. ___

Re: Browser Widget Appears to be caching data (JavaScript)?

2017-02-07 Thread Sannyasin Brahmanathaswami via use-livecode
Are you serving this content yourself from your web server? If so there are "cb" (cache busting) methods already well worked out. e.g. logo.jpg # on disk logo-cb123455678.jpg # in the html code and mod-rewrite handles the translation back to the original image. So you can update "logo.jpg"

Re: Size of Image in RAM

2017-02-07 Thread Sannyasin Brahmanathaswami via use-livecode
@ Scott: That's not what I get if I open this image in Photoshop. (CC 2017) 575 X 1000 http://wiki.hindu.org/uploads/img37.jpg It is a JPEG, but under the mode menu it shows "RGB/8 Bit" and if I look under indexed colors it says "256" definitely not 16bit (in which case we should see

Re: Size of Image in RAM

2017-02-07 Thread Scott Rossi via use-livecode
You say the mode is 8 bit. I might be wrong, but I don’t believe JPEG supports 8 bit (256 color) images. Even if it does technically, the format is not really intended for 8 bit images, but rather 16 bit or higher. When I generate an 8 bit indexed color image in Photoshop and look at the Save

Re: Size of Image in RAM

2017-02-07 Thread Peter Bogdanoff via use-livecode
I think I can answer the Photoshop question. It seems that 1.6 Mb size is the file size for PS to do its work in the application. If you save that file as a .psd, I suspect you’ll see a file size of 1.6 Mb. I find the Save for Web dialog (in the File>Export menu) useful. You can choose the

Size of Image in RAM

2017-02-07 Thread Sannyasin Brahmanathaswami via use-livecode
I'm trying to optimize for Mobile. Photoshop is playing tricks on me given a 38K jpg; rect 3 X 5 552px w 736 px h 72 dpi (irrelevant for screen) Open in Photoshop: it indicates 1.16M in RAM, but mode is 8 bit… but but the online calculation sites for file size for that rect/bit-depth should

Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Richard Gaskin via use-livecode
Monte Goulding wrote: >> On 8 Feb 2017, at 11:02 am, Richard Gaskin wrote: >> >> Monte Goulding wrote: >> > ...You might think we don’t need to touch it but it has >> > been touched recently because of a change in the way we >> > retain object references. >> >> Now I'm curious: anything

Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Monte Goulding via use-livecode
> On 8 Feb 2017, at 11:02 am, Richard Gaskin via use-livecode > wrote: > > Monte Goulding wrote: > > >> On 8 Feb 2017, at 3:04 am, Richard Gaskin wrote: > >> > >> My Message Box replacement sets the revMessageBox redirect to empty > >> when it closes, and after

Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Richard Gaskin via use-livecode
Monte Goulding wrote: >> On 8 Feb 2017, at 3:04 am, Richard Gaskin wrote: >> >> My Message Box replacement sets the revMessageBox redirect to empty >> when it closes, and after doing so the LC IDE Message Box resumes >> normal behavior. > > Yes it does use it but it also (at least the single

Re: Nested groups

2017-02-07 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: >> On 2/7/2017 5:01 PM, J. Landman Gay via use-livecode wrote: > Curiosity question: Do multiple nested groups (3 or 4 levels deep) > affect CPU and memory performance? Are fewer nested groups easier > on the engine? ... > I'm working with a stack that has some

Re: Nested groups

2017-02-07 Thread Paul Dupuis via use-livecode
On 2/7/2017 5:19 PM, J. Landman Gay via use-livecode wrote: > On 2/7/17 4:07 PM, Paul Dupuis via use-livecode wrote: >> On 2/7/2017 5:01 PM, J. Landman Gay via use-livecode wrote: >>> On 2/7/17 2:13 PM, Richard Gaskin via use-livecode wrote: J. Landman Gay wrote: > Curiosity

Re: Nested groups

2017-02-07 Thread J. Landman Gay via use-livecode
On 2/7/17 4:07 PM, Paul Dupuis via use-livecode wrote: On 2/7/2017 5:01 PM, J. Landman Gay via use-livecode wrote: On 2/7/17 2:13 PM, Richard Gaskin via use-livecode wrote: J. Landman Gay wrote: Curiosity question: Do multiple nested groups (3 or 4 levels deep) affect CPU and memory

Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Monte Goulding via use-livecode
> On 8 Feb 2017, at 3:04 am, Richard Gaskin via use-livecode > wrote: > > I sent this a while ago, and oddly enough another message I'd sent lae came > in but this one did not. > > After thinking about this some more, I wonder: are you sure the LC IDE >

Re: Nested groups

2017-02-07 Thread Paul Dupuis via use-livecode
On 2/7/2017 5:01 PM, J. Landman Gay via use-livecode wrote: > On 2/7/17 2:13 PM, Richard Gaskin via use-livecode wrote: >> J. Landman Gay wrote: >> >>> Curiosity question: Do multiple nested groups (3 or 4 levels deep) >>> affect CPU and memory performance? Are fewer nested groups easier >>> on

Re: Nested groups

2017-02-07 Thread J. Landman Gay via use-livecode
On 2/7/17 2:13 PM, Richard Gaskin via use-livecode wrote: J. Landman Gay wrote: Curiosity question: Do multiple nested groups (3 or 4 levels deep) affect CPU and memory performance? Are fewer nested groups easier on the engine? Because they effectively deepen the message path, I'd wager

Re: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-07 Thread Paul Hibbert via use-livecode
Tiemo, I’m not sure if this will help because I’m testing on Mac, but I did a little bit of experimenting with the new ‘rawClipboardData’, it allows plain text to be copied out of LC, just to prove it, here’s a button script copied via my now modified Script Buddy plugin… on mouseUp local

Re: [OT] DevDocs.io doesn't have "LiveCode"

2017-02-07 Thread AndyP via use-livecode
Thanks for the pointer to https://devdocs.io/ I haven't come across this before...great resource - Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode TinyIDE Script editor

Re: Nested groups

2017-02-07 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > Curiosity question: Do multiple nested groups (3 or 4 levels deep) > affect CPU and memory performance? Are fewer nested groups easier > on the engine? Because they effectively deepen the message path, I'd wager there is some difference, at least in terms of

Fwd: Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Richard Gaskin via use-livecode
I sent this a while ago, and oddly enough another message I'd sent lae came in but this one did not. After thinking about this some more, I wonder: are you sure the LC IDE doesn't rely on this? My Message Box replacement sets the revMessageBox redirect to empty when it closes, and after

Nested groups

2017-02-07 Thread J. Landman Gay via use-livecode
Curiosity question: Do multiple nested groups (3 or 4 levels deep) affect CPU and memory performance? Are fewer nested groups easier on the engine? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com

Re: [OT] DevDocs.io doesn't have "LiveCode"

2017-02-07 Thread Mike Kerner via use-livecode
Part of my "attack the docs" project ( http://forums.livecode.com/viewtopic.php?f=67=28731) includes doing this, so please add your voice and your ideas over there. There are several important functions within LC that maybe should be outsourced so the team can work on what I think are more

[OT] DevDocs.io doesn't have "LiveCode"

2017-02-07 Thread Roger Eller via use-livecode
This is another place where LiveCode could receive some great exposure, if represented. A great resource for many language API docs in one convenient location. https://devdocs.io/ ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Checking out the "Resources" button in LC9

2017-02-07 Thread Richmond Mathewson via use-livecode
I'm trying to keep off the LiveCode for a day :) On Tue, Feb 7, 2017 at 3:18 PM, Thomas McGrath III via use-livecode < use-livecode@lists.runrev.com> wrote: > By the way, Happy Birthday Richmond!!! > > Hope you have a great day. > > Tom McGrath > > ___

Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Richard Gaskin via use-livecode
Monte Goulding wrote: > I’m in the midst of making the message box redirect work in all > engines (https://github.com/livecode/livecode/pull/5156 > ) and it would seem > that there’s a legacy message box behavior that could be removed from > the

Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Richard Gaskin via use-livecode
Graham Samuel wrote: > ...how would you use this feature, specifically in debugging a > standalone, and what’s wrong with it now? The revMessageBox redirect allows you to use any field to display data that would otherwise go to LC's Message Box; that is, any "put" without a specified

Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Bob Sneidar via use-livecode
what the heck is that? Bob S On Feb 6, 2017, at 19:28 , Monte Goulding via use-livecode > wrote: message box redirect ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Checking out the "Resources" button in LC9

2017-02-07 Thread Thomas McGrath III via use-livecode
By the way, Happy Birthday Richmond!!! Hope you have a great day. Tom McGrath ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Graham Samuel via use-livecode
Forgive my stupidity, but how would you use this feature, specifically in debugging a standalone, and what’s wrong with it now? TIA Graham > On 7 Feb 2017, at 07:16, J. Landman Gay via use-livecode > wrote: > > On 2/6/17 9:28 PM, Monte Goulding via

Re: Checking out the "Resources" button in LC9

2017-02-07 Thread Richmond Mathewson via use-livecode
That is interesting about the appendix! And, taking advantage of that information and someone else's observation, it might not be a bad thing if some apparently obsolete "organs" were retuned and returned to full functionality (err, did I hear a small voice softly calling "application browser" ?)