Now this is also available, very fast, with the same speed, for LC 6/7/8/9
on Mac using Canvas2d in a revBrowser instance (on Win revBrowser doesn't
support Canvas2d) in LC-ImageToolBox-67: Basics.
Get it via "Sample Stacks" of the LC-Toolbar or from
http://livecodeshare.runrev.com/stack/827/LCIm
Hi all.
Today I implemented this as part of LCImageToolBox89: Basics.
Get it _from LC 8/9_ via "Sample Stacks" of the LC-Toolbar or
http://livecodeshare.runrev.com/stack/826/LC-ImageToolBox89%3A-Basics
Uses Canvas2D (no webGL because of issues with some graphic cards)
in a hidden browser widget.
Yes I agree wholeheartedly with Johnathan -
I once (maybe five years ago) wanted to use ImageMagick but was put off, partly
because I wanted to put it into a commercial product and couldn’t understanding
the licensing rules: in particular, it seemed that I had to give all my users
(purchasers)
> Jonathan L. wrote:
> It would be amazing if the LC folks created an ImageMagick wrapper so that
> we could use it as an external or widget!
There is a Java interface (JMagick, see
https://www.imagemagick.org/script/api.php)
and the brand-new LiveCode FFI for Java.
> If you can find a Javascrip
It would be amazing if the LC folks created an ImageMagick wrapper so that we
could use it as an external or widget!
Sent from my iPhone
> On Mar 18, 2017, at 11:30 PM, Mike Bonner via use-livecode
> wrote:
>
> You could write a small app just to do the processing (or use a web server
> with
You could write a small app just to do the processing (or use a web server
with an lc script to process) break it into chunks, and spawn
processes/server requests to offload the work maybe. Though imagemagick
would be a pretty awesome solution if it can be made to do what you need.
On Sat, Mar 18,
You could put the entire ImageMagick set of files into custom properties, then,
when your app first opens, look to see if ImageMagick is present. If not, then
have your app save the ImageMagick files in the same folder as your app.
I have done that sort of thing before - big files, but works fi
With 10 million pixels, comparing 3 different base colors (RGB), and checking
both upper and lower bounds, that comes to 60 million comparisons. That is an
awful lot for a scripted environment.
You would need to make an external (and, frankly, the LC instructions on making
desktop externals do
I've got an app that allows the user to display an image using a variable
number of colours (2-24 colours). In addition, the user can specify upper and
lower thresholds so that all pixels below a specified value are displayed using
a colour such as black and all pixels with values above a speci