I know that HTML5 export is not quite ready yet - but I’m a patient man :)
I would like to know how it works / will work - particularly with regard to
the size of the exports.
With the old JavaScript export you had a separation between the engine and
stacks such that you could cache the engine
> On 7 Sep 2017, at 11:54 am, Monte Goulding via use-livecode
> wrote:
>
> What platform? On mac if you build a universal app you will have standalones
> twice the size of a single architecture app.
Sorry Tom
I guess I didn’t read the subject line very well
> On 7 Sep 2017, at 6:12 am, Tom Glod via use-livecode
> wrote:
>
> everything seems to be running fine.. BUT the standalone is twice the
> size.
What platform? On mac if you build a universal app you will have standalones
twice the size of a single
http://post.spmailt.com/f/a/xp5QWwMlcQSP9Swndh52_g~~/AAGp3AA~/RgRbkY6vP0EIACzYHIgHi1BXA3NwY1gEAFkGc2hhcmVkYQdoZWxsb18xYA4zNS4xNjAuMTgyLjE1NkIKAAAvW7BZvkMIqFIddXNlLWxpdmVjb2RlQGxpc3RzLnJ1bnJldi5jb20JUQQARDFodHRwOi8vcXVhbGl0eS5saXZlY29kZS5jb20vc2hvd19idWcuY2dpP2lkPTIwMzM5RwJ7fQ~~
On Wed,
Yeah...I've been trying to test my stack with versions that are past 8.14
in hopes that certain glitches are getting resolved. and they are.
everything seems to be running fine.. BUT the standalone is twice the
size.
what could be causing that? ...i've seen it a bunch of times now.
I
Dick, thanks for the feedback.
I forgot about this:
... urlEncode encodes the space as +, ...
Regards,
Thierry
Thierry Douez - http://sunny-tdz.com
Maker of sunnYperl - sunnYmidi - sunnYmage
___
On Sep 22, 2014, at 4:33 PM, Richard Gaskin ambassa...@fourthworld.com wrote:
But it really should be a one-liner
OK, Richard. Here's one.
-- given variable tFile, containing the name of a file in the default folder
-- given variable tSize, which is where to put the size of the file
get
2014-09-23 9:47 GMT+02:00
Dick Kriesel dick.krie...@mail.com:
But it really should be a one-liner
-- given variable tFile, containing the name of a file in the default folder
-- given variable tSize, which is where to put the size of the file
get matchText( the detailed files, (
Can you get the creation date, modified date and type etc. without
using the detailed files? And if so would it be faster than using the
detailed files?
I know you could get it by using NSFIlemanager. If you want the
type the detailed files is not reliable.
John Balgenorth
On Sep 23, 2014,
On Sep 23, 2014, at 1:13 AM, Thierry Douez th.do...@gmail.com wrote:
Here is a modified version of yours:
matchText(the detailed files,((?m)^ urlEncode( tFile ) ,(\d+) ),
tSize)
Hi, Thierry.
When the file name contains a space, urlEncode encodes the space as +, which
regex interprets,
Hello,
I know I can use:
put the files into field Current Files
to get the size of a file (in bytes), but is there any way to use answer file
or some other way to get the size of just one specific file?
Thanks,
Larry
___
use-livecode mailing list
Larry,
Try:
on mouseUp
answer file ?
put binfile: it into tFile
put the length of URL tFile / 1000 KB into fld myResultField
end mouseUp
Paul
On Sep 22, 2014, at 2:29 PM, la...@significantplanet.org wrote:
Hello,
I know I can use:
put the files into field Current Files
to
On 22/09/2014 22:29, la...@significantplanet.org wrote:
Hello,
I know I can use:
put the files into field Current Files
to get the size of a file (in bytes), but is there any way to use answer file
or some other way to get the size of just one specific file?
You could always do (typing
Larry wrote:
... is there any way to use answer file or some other way to get
the size of just one specific file?
on mouseUp
answer file Select a file:
if it is empty then exit to top
put FileSize(it)
end mouseUp
function FileSize pFilePath
put the directory into tSaveDir
set
To: How to use LiveCode use-livecode@lists.runrev.com
Sent: Monday, September 22, 2014 4:50 PM
Subject: Re: file size
Larry,
Try:
on mouseUp
answer file ?
put binfile: it into tFile
put the length of URL tFile / 1000 KB into fld myResultField
end mouseUp
Paul
On Sep 22, 2014, at 2:29
To be technically correct divide by 1024.
Mike
Original Message
From: la...@significantplanet.org
Sent: Monday, September 22, 2014 8:21 PM
To: How to use LiveCode
Reply To: How to use LiveCode
Subject: Re: file size
Thanks Paul and Alex and Richard,
I ended up using Paul's code
Sent: Monday, September 22, 2014 6:28 PM
Subject: Re: file size
To be technically correct divide by 1024.
Mike
Original Message
From: la...@significantplanet.org
Sent: Monday, September 22, 2014 8:21 PM
To: How to use LiveCode
Reply To: How to use LiveCode
Subject: Re: file size
Thanks Paul
If you want to do it entirely in LC and not use a shell command, you
could do this:
on mouseUp
answer file Pick a file:
if it is empty then exit to top
set the itemDelimiter to slash
put the defaultFolder into tOriginalDefault
set the defaultFolder to item 1 to -2 of it
Mike,
That's just what I thought, but it doesn't agree with the actual file size
shown in the finder, dividing by 1000 does agree with the finder.
It appears this depends on whether the system uses Binary or Decimal
calculations, it seems Apple use Decimal.
Paul
On Sep 22, 2014, at 5:28 PM
Richard,
I finally got around to trying your suggestions regarding changing an
image file's color depth. I'm not sure what the syntax is. Here's the
exact line of code:
export img myImage to file myFilePath as png
I've tried inserting as raw or even just raw just about everywhere I
can
2014-08-06 23:26 GMT+02:00 hh h...@livecode.org:
One more interesting thing with sips on MacOS that Thierry not mentioned
(because this is his daily 2nd breakfast I suppose):
Sorry Hermann, but you're wrong this time :)
I was only in my garden taking care of roses strongly watched
by one of
Richard,
After considering both Image Magick and SIPS for the Mac side of things
(even though Image Magick has command prompt for Mac) I've ended up
working within Livecode as you've suggested. It's going well. Thanks!
I'll post something tomorrow and let you know how it goes altering the
Does anybody know of a way to reduce an image's disk size from within
Livecode?
Specifically, I'd like to be able to:
1) change the file from PNG to JPEG
2) change the color depth for PNG's to 8 bit
3) change the dimensions
Regarding the last of these I know you can set it up and
I don't know fi it's the best way, but in one of my applications, I drag and
drop an image and retrieve only it's file path (e.g. : put the
dragData[files] into photoFile); then I set the filename of existing empty
images to this file path, adjust the size as needed (in reference to rectangles
Ray,
http://www.imagemagick.org/script/command-line-tools.php
on Mac, you can use sips
HTH,
Thierry
Thierry Douez - http://sunny-tdz.com
Maker of sunnYperl - sunnYmidi - sunnYmage
2014-08-06 18:18 GMT+02:00 Ray r...@linkit.com:
Does anybody
Thierry - I didn't think there was a command-line version of Image
Magick but I guess there is.
Thanks!
On 8/6/2014 1:36 PM, Thierry Douez wrote:
Ray,
http://www.imagemagick.org/script/command-line-tools.php
on Mac, you can use sips
HTH,
Thierry
Jacques - interesting. This might fit my needs. Thanks for the idea.
On 8/6/2014 1:37 PM, Jacques Hausser wrote:
I don't know fi it's the best way, but in one of my applications, I drag and drop an image and
retrieve only it's file path (e.g. : put the dragData[files] into photoFile); then I
Thierry - I didn't think there was a command-line version of Image Magick
but I guess there is.
Thanks!
You're welcome :)
I was used to work a lot with them years ago
and mainly on Linux.
I'm using successfully sips on Mac from time to time.
Regards,
Thierry
On 8/6/2014 1:36 PM,
Thierry - are you sure I need to use sips for Mac? It appears Image
Magick has command line tools for Mac also.
On 8/6/2014 1:53 PM, Thierry Douez wrote:
Thierry - I didn't think there was a command-line version of Image Magick
but I guess there is.
Thanks!
You're welcome :)
I was used to
Thierry - are you sure I need to use sips for Mac?
It appears Image Magick has command line tools for Mac also.
In between us, getting older and older, I'm sure of less and less
and I'm bored with those so sure of... :)
That said, the nice thing about sips is that it is already installed
and
Hi Ry,
Am 06.08.2014 um 19:09 schrieb Ray r...@linkit.com:
Thierry - are you sure I need to use sips for Mac? It appears Image Magick
has command line tools for Mac also.
yes, sure, but SIPS is already built-in into OS X :-)
On 8/6/2014 1:53 PM, Thierry Douez wrote:
Thierry - I didn't
I've become a Windows user and didn't realize sips was built into the
Mac OS. Thanks Klaus and Thierry. I'll look into this.
On 8/6/2014 2:14 PM, Thierry Douez wrote:
Thierry - are you sure I need to use sips for Mac?
It appears Image Magick has command line tools for Mac also.
In
One more interesting thing with sips on MacOS that Thierry not mentioned
(because this is his daily 2nd breakfast I suppose):
One can effectively use it via applescript by the image events suite and can
even modify ColorSync ICC profiles with it (am I right Thierry?).
This is not subject here
Thanks hh - I haven't gotten into the Mac side yet but this is helpful
for when I get around to it.
On 8/6/2014 6:26 PM, hh wrote:
One more interesting thing with sips on MacOS that Thierry not mentioned
(because this is his daily 2nd breakfast I suppose):
One can effectively use it via
Ray wrote:
Does anybody know of a way to reduce an image's disk size from within
Livecode?
Specifically, I'd like to be able to:
1) change the file from PNG to JPEG
import PNG; export as JPEG
2) change the color depth for PNG's to 8 bit
export target as raw... might help,
Ray-
Wednesday, August 6, 2014, 10:17:40 AM, you wrote:
I've become a Windows user
My condolences.
Nonetheless, I've always used imagemagick in commandline mode on
whatever platform. I didn't realize there was anything else.
--
-Mark Wieder
ahsoftw...@gmail.com
This communication may be
36 matches
Mail list logo