| Deutsch English Français Italiano |
|
<slrnv85rcr.3gvbf.avl@logic.at> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Andreas Leitgeb <avl@logic.at> Newsgroups: comp.lang.tcl Subject: Re: is there an image package that doesn't require Tk ? Date: Mon, 1 Jul 2024 17:55:39 -0000 (UTC) Organization: A noiseless patient Spider Lines: 46 Message-ID: <slrnv85rcr.3gvbf.avl@logic.at> References: <slrnv7r2cs.3gvbf.avl@logic.at> <slrnv7ud1t.3gvbf.avl@logic.at> <v5odfu$3qqpt$1@dont-email.me> <slrnv83b2u.3gvbf.avl@logic.at> <v5sdp0$lrni$1@dont-email.me> Reply-To: avl@logic.at Injection-Date: Mon, 01 Jul 2024 19:55:40 +0200 (CEST) Injection-Info: dont-email.me; posting-host="4b99c451c4a1716499a82b7ed609deaa"; logging-data="1257698"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6oHCGLteaRQRqwDG6dGkQ" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:igjAhxPmSp3erlnliDV7po/AyfA= Bytes: 2396 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!