Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: greg Newsgroups: comp.lang.tcl Subject: Re: is there an image package that doesn't require Tk ? Date: Thu, 27 Jun 2024 21:38:09 +0200 Organization: A noiseless patient Spider Lines: 26 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 27 Jun 2024 21:38:10 +0200 (CEST) Injection-Info: dont-email.me; posting-host="061d4f5bff545b32472a91ff0c1bbd5d"; logging-data="3030963"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19OUrgnZ3QlIWmacnumehJnn9YzsTLHw6M=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:JTl9l6+yxyPt286//Xb4M3mxsmU= Content-Language: de-DE In-Reply-To: Bytes: 1794 Am 27.06.24 um 17:47 schrieb Andreas Leitgeb: > 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 > > For now, I use "image photo" to scrape(simple ocr) some numbers > from it, but it only works with Tk. In the end I want to do > the processing of the image in the same cron-script that gets > the screenshot from the phone. > > If nothing else, I'd "convert" (from Imagemagick) the png to > something I can easier parse in Tcl. > Hello https://wiki.tcl-lang.org/page/Pixane via webarchives but without source code and no binaries for win 64 It works with Linux 32 and 64 bit Gregor