Liste des Groupes | Revenir à cl tcl |
Andreas Leitgeb <avl@logic.at> wrote:I'd like it to open a .png file (screenshot from an android>
phone) extract five rectangular regions from it, and convert
them to something similar to Tk's [$image data] - e.g. a list
of lists of colors
Thanks to all who answered...
>
Unfortunately, I haven't yet succeeded with any of the suggestions.
>
That's where I got stuck with each:
>
Gerald Lester:
http://www.graphicsmagick.org/TclMagick/doc/TclMagick.html
Ted Nolan:
https://wiki.tcl-lang.org/page/TclMagick
>
I got it to configure it
(--with-magick=/usr/lib/x86_64-linux-gnu/ImageMagick-6.9.11/bin-q16/MagickWand-config)
compile and install "apparently" successfully, but "package require TclMagick"
spews out:
couldn't load file "/usr/local/lib/TclMagick0.45/libTclMagick.so":
/usr/local/lib/TclMagick0.45/libTclMagick.so: undefined symbol:
tclStubsPtr
>
Les messages affichés proviennent d'usenet.