Sujet : Re: is there an image package that doesn't require Tk ?
De : avl (at) *nospam* logic.at (Andreas Leitgeb)
Groupes : comp.lang.tclDate : 01. Jul 2024, 18:55:39
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <slrnv85rcr.3gvbf.avl@logic.at>
References : 1 2 3 4 5
User-Agent : slrn/1.0.3 (Linux)
greg <
gregor.ebbing@gmx.de> wrote:
Am 30.06.24 um 21:05 schrieb Andreas Leitgeb:
So, please, let me know where you got 0.46 from.
https://sourceforge.net/projects/graphicsmagick/files/
>
Download Latest version
GraphicsMagick-1.3.43.tar.xz
in
GraphicsMagick-1.3.43.tar.xz
is TclMagick 0.46
Thanks, now I got it :-)
make
./configure
make install
(/usr/lib/TclMagick0.46)
package require TclMagick
I got this too, now, so it seems like the stubs-thing was
fixed in this 0.46 :-)
set wand [magick create wand]
Yes, the extension seems to work in principle, but it seems
like graphicsmagick dropped the "-copy" feature from "convert",
which I'd have had good use for... Also I got it into seg-
faults a couple of times, as well, but maybe my commands were
just bad.
Querying "pixels" just didn't do anything visible with an
empty "map"-argument, and segfaulted with whatever else I
tried for that argument. Maybe I read the docs not well enough..
My current solution involves "-copy" to copy certain "far-off"
parts of the image into a more central part, then only convert
the smaller region around the central parts to bmp3 format.
I might try this TclMagick 0.46 with original imagemagick,
to see if that gives me a "copy" subcommand for $wand.
And I've yet to study the docs better to see how "pixel" is
really to be used.
Thanks 2 all!