Re: RLE images

2014-07-15 Thread Thierry Douez
2014-07-15 1:06 GMT+02:00 J. Landman Gay

 If anyone has definitive knowledge, please say. Otherwise I'll go with this.


might be you are looking for paintCompression.

Thierry

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RLE images

2014-07-15 Thread J. Landman Gay

On 7/15/2014, 1:53 AM, Thierry Douez wrote:

2014-07-15 1:06 GMT+02:00 J. Landman Gay


If anyone has definitive knowledge, please say. Otherwise I'll go with this.



might be you are looking for paintCompression.


Thanks, I'd forgotten about that. It's exactly what I need.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RLE images

2014-07-14 Thread J. Landman Gay
It used to be that any image imported into a stack, regardless of the 
original format, was converted to RLE. Is that still the case, or are 
they now saved as the original jpg, png, etc. ?


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RLE images

2014-07-14 Thread Richmond

On 14/07/14 23:42, J. Landman Gay wrote:
It used to be that any image imported into a stack, regardless of the 
original format, was converted to RLE. Is that still the case, or are 
they now saved as the original jpg, png, etc. ?




Well?

If there is a way to tell what format an embedded image in a stack is in 
one could work this out.


Yup: I know that does not answer your question, and is pretty darn 
circular; but . . .


I remember posting a question about this in about 2002 (!!!) as I 
was then working on a
commercial project in Scotland for teaching High School kids a sort of 
dumbed-down Music
theory and history (the one who was the dumbest was me as the company 
didn't pay me any more
than 10% of what I had been promised). I remember that although I was 
converting
all my images into GIFs they were bloating when imported into 
Livecode/RR 2.0.1; and that was
explained to me on the Use-List because of the conversion into an 
internal format.


If RLE is what I think it is (Run-length encoding) then it is an 
antiquated Windows 3-ish sort of

bitmap which has gone the way of the dinosaurs everywhere else.

Richmond.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RLE images

2014-07-14 Thread Richmond

On 14/07/14 23:42, J. Landman Gay wrote:
It used to be that any image imported into a stack, regardless of the 
original format, was converted to RLE. Is that still the case, or are 
they now saved as the original jpg, png, etc. ?




Whoops: it's 2006 all over again:

http://lists.runrev.com/pipermail/use-livecode/2006-October/088594.html

Richmond.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RLE images

2014-07-14 Thread Richmond

On 14/07/14 23:42, J. Landman Gay wrote:
It used to be that any image imported into a stack, regardless of the 
original format, was converted to RLE. Is that still the case, or are 
they now saved as the original jpg, png, etc. ?



http://lists.runrev.com/pipermail/use-livecode/2003-June/017402.html

part of which runs:

Open the paint tools in RR and use the eraser to click each image, 
then, immediately click undo: this converts all images into internal 
bitmap format. However this means that the files grow to about twice 
their original size.


So . . .  presumably if that still goes on the way to check is:

find out an imported image's size,

do the 'thing' with the eraser,

find out the imported image's size again:

if it has doubled then it is probably now RLE.

However; the conversion to RLE format was NOT automatic, and only 
necessary for display on Macintosh systems; presumably Os 9, 10.1, 10.2 
and 10.3.


At the moment imported images seem to display on Mac OS systems (10.5, 
10.5, 10.7, et al)

without any eveidence of internal conversion.

Richmond.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RLE images

2014-07-14 Thread J. Landman Gay

On 7/14/2014, 4:06 PM, Richmond wrote:

On 14/07/14 23:42, J. Landman Gay wrote:

It used to be that any image imported into a stack, regardless of the
original format, was converted to RLE. Is that still the case, or are
they now saved as the original jpg, png, etc. ?



Well?

If there is a way to tell what format an embedded image in a stack is in
one could work this out.


I only need to know if the conversion is still happening. My client is 
going through hoops converting all their images to jpg to save space in 
the stack. If everything is being converted to RLE anyway then it 
doesn't matter what they send me, it's all ending up the same way 
internally, so they don't need to bother.


But I think this changed a while ago, and if so, then we need to import 
jpgs. But I can't remember.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RLE images

2014-07-14 Thread J. Landman Gay

On 7/14/2014, 4:24 PM, Richmond wrote:


Open the paint tools in RR and use the eraser to click each image,
then, immediately click undo: this converts all images into internal
bitmap format. However this means that the files grow to about twice
their original size.

So . . .  presumably if that still goes on the way to check is:

find out an imported image's size,

do the 'thing' with the eraser,

find out the imported image's size again:

if it has doubled then it is probably now RLE.


Good suggestion, it doesn't double but it grows by about 1/3. So it 
appears images are saved into the stack in the original format.


If anyone has definitive knowledge, please say. Otherwise I'll go with this.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode