Re: JPNG

2017-08-11 Thread hh via use-livecode
@Mark *** Thanks for your expertise. I couldn't do that this perfectly. *** One of the reasons for posting this JPNG stack is to show the power of LC: The essential code of compressing PNG -> JPNG and decompresing PNG -> JPNG is both less than 10 *essential* lines of code, using comfortable LC to

Re: JPNG

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 10:41, Richmond Mathewson via use-livecode wrote: It may not, but the stack does export images with a .lcjpng suffix . . . and the question is what for? Perhaps so it can be loaded again by code which knows how to decompress them as images in LiveCode? After all you have to *stor

Re: JPNG

2017-08-11 Thread Richmond Mathewson via use-livecode
On 8/11/17 11:13 am, Mark Waddingham via use-livecode wrote: On 2017-08-11 09:29, Richmond Mathewson via use-livecode wrote: In theory that sounds both impressive and useful . . . But, what, apart from your stack can read the format/compression method properly. I think Hermann's suggestion

Re: JPNG

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 09:29, Richmond Mathewson via use-livecode wrote: In theory that sounds both impressive and useful . . . But, what, apart from your stack can read the format/compression method properly. I think Hermann's suggestion is a bespoke way of reducing resource size for built apps and t

Re: JPNG

2017-08-11 Thread Richmond Mathewson via use-livecode
In theory that sounds both impressive and useful . . . But, what, apart from your stack can read the format/compression method properly. Also, for the sake of argument: LiveCode can export images in the .PNG, .JPG, .GIF and the (horribly obscure ?) .PBM formats. Can your stack export a JPNG