Deutsch   English   Français   Italiano  
<slrnv8b0fr.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: Wed, 3 Jul 2024 16:53:15 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <slrnv8b0fr.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> <slrnv85rcr.3gvbf.avl@logic.at>
 <v61uh0$1qi1d$1@dont-email.me>
Reply-To: avl@logic.at
Injection-Date: Wed, 03 Jul 2024 18:53:16 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="840f8569fa25659792f9f88e30723f57";
	logging-data="2400301"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19r+2Uyhde84ETPNGcaus3X"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:tlhbLDvk3Zk1sw9oIPZv0pLK9DI=
Bytes: 1691

A big THANK YOU!!

greg <gregor.ebbing@gmx.de> wrote:
>> 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..

>   set extracted_pixels [$wand GetPixels 10 5 80 10 "RGB" char]

This was the key...

Seeing "GetPixels" at work got me trying again...

I now just load the original pic into (GraphicsMagick-powered)
TclMagick0.46 and use GetPixels for the rectangles I need to
examine...

and it became like *5 times faster* than my previous approach
with calling "convert" and parsing it's output. :-)