Deutsch   English   Français   Italiano  
<v5kber$2rt5f$1@dont-email.me>

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

Path: ...!feed.opticnetworks.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Paul Obermeier <obermeier@poSoft.de>
Newsgroups: comp.lang.tcl
Subject: Re: is there an image package that doesn't require Tk ?
Date: Thu, 27 Jun 2024 20:36:06 +0200
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <v5kber$2rt5f$1@dont-email.me>
References: <slrnv7r2cs.3gvbf.avl@logic.at>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 27 Jun 2024 20:36:12 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="00f313b339e9216e1b1b0c72b6627c10";
	logging-data="3011759"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+v18aisVTr9VdfQvmpd/H1hX9QOjEc/C4="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:COQK27v1wmv9Aqhn+WgaCwUjaJw=
In-Reply-To: <slrnv7r2cs.3gvbf.avl@logic.at>
Bytes: 1731

You may look at tclgd (https://github.com/flightaware/tcl.gd).
A working version is part of BAWT.

Paul


Am 27.06.2024 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.
>