Re: Image File Size Reduction

2014-08-08 Thread Ray
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

Re: Image File Size Reduction

2014-08-07 Thread Ray
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

Re: Image File Size Reduction

2014-08-06 Thread Thierry Douez
2014-08-06 23:26 GMT+02:00 hh : > 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 my cat.. > One

Re: Image File Size Reduction

2014-08-06 Thread Mark Wieder
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 un

Re: Image File Size Reduction

2014-08-06 Thread Richard Gaskin
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 as raw..." might help,

Re: Image File Size Reduction

2014-08-06 Thread Ray
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 apples

Re: Image File Size Reduction

2014-08-06 Thread hh
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

Re: Image File Size Reduction

2014-08-06 Thread Ray
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 between

Re: Image File Size Reduction

2014-08-06 Thread Klaus major-k
Hi Ry, Am 06.08.2014 um 19:09 schrieb Ray : > 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 think there

Re: Image File Size Reduction

2014-08-06 Thread Thierry Douez
> 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 an

Re: Image File Size Reduction

2014-08-06 Thread Ray
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 w

Re: Image File Size Reduction

2014-08-06 Thread Thierry Douez
> 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, Th

Re: Image File Size Reduction

2014-08-06 Thread Ray
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

Re: Image File Size Reduction

2014-08-06 Thread Ray
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 -

Re: Image File Size Reduction

2014-08-06 Thread Thierry Douez
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 : > Does anybody know of a way

Re: Image File Size Reduction

2014-08-06 Thread Jacques Hausser
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

Image File Size Reduction

2014-08-06 Thread Ray
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 ta