Deutsch   English   Français   Italiano  
<le9jquFeig3U1@mid.individual.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ted@loft.tnolan.com (Ted Nolan <tednolan>)
Newsgroups: comp.lang.tcl
Subject: Re: is there an image package that doesn't require Tk ?
Date: 29 Jun 2024 05:19:27 GMT
Organization: loft
Lines: 35
Message-ID: <le9jquFeig3U1@mid.individual.net>
References: <slrnv7r2cs.3gvbf.avl@logic.at> <slrnv7ud1t.3gvbf.avl@logic.at>
X-Trace: individual.net 3vcnlAtkbmgFY4TKNu9TbQ5xoDBZH6aT3zxxTm2Hm/hkgbXWTr
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:gylly8R3WHl/m3vAXrncdus0Me8= sha256:2JCYXPX/1d0YQfGK91OLHH6JSp92p06NarTLuAebXBc=
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Bytes: 2043

In article <slrnv7ud1t.3gvbf.avl@logic.at>,
Andreas Leitgeb  <avl@logic.at> wrote:
>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
>

I'm not pushing the package, as all I know about it is that it exists,
but that sounds like maybe you should link against the stubs library,
libtclstub86.a (on my FreeBSD) rather than libtcl86.so/libtcl86.a
-- 
columbiaclosings.com
What's not in Columbia anymore..