Re: is there an image package that doesn't require Tk ?

Liste des GroupesRevenir à cl tcl 
Sujet : Re: is there an image package that doesn't require Tk ?
De : avl (at) *nospam* logic.at (Andreas Leitgeb)
Groupes : comp.lang.tcl
Date : 03. Jul 2024, 17:53:15
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <slrnv8b0fr.3gvbf.avl@logic.at>
References : 1 2 3 4 5 6 7
User-Agent : slrn/1.0.3 (Linux)
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. :-)


Date Sujet#  Auteur
27 Jun 24 * is there an image package that doesn't require Tk ?17Andreas Leitgeb
27 Jun 24 +- Re: is there an image package that doesn't require Tk ?1ted@loft.tnolan.com (Ted Nolan
27 Jun 24 +- Re: is there an image package that doesn't require Tk ?1Harald Oehlmann
27 Jun 24 +- Re: is there an image package that doesn't require Tk ?1Paul Obermeier
27 Jun 24 +* Re: is there an image package that doesn't require Tk ?3greg
28 Jun 24 i+- Re: is there an image package that doesn't require Tk ?1Harald Oehlmann
28 Jun 24 i`- Re: is there an image package that doesn't require Tk ?1greg
28 Jun 24 `* Re: is there an image package that doesn't require Tk ?10Andreas Leitgeb
29 Jun 24  +- Re: is there an image package that doesn't require Tk ?1ted@loft.tnolan.com (Ted Nolan
29 Jun 24  +* Re: is there an image package that doesn't require Tk ?7greg
30 Jun 24  i`* Re: is there an image package that doesn't require Tk ?6Andreas Leitgeb
30 Jun 24  i +* Re: is there an image package that doesn't require Tk ?4greg
1 Jul 24  i i`* Re: is there an image package that doesn't require Tk ?3Andreas Leitgeb
2 Jul 24  i i `* Re: is there an image package that doesn't require Tk ?2greg
3 Jul 24  i i  `- Re: is there an image package that doesn't require Tk ?1Andreas Leitgeb
1 Jul 24  i `- Re: is there an image package that doesn't require Tk ?1Christian Gollwitzer
30 Jun 24  `- Re: is there an image package that doesn't require Tk ?1Andreas Leitgeb

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal