| Deutsch English Français Italiano |
|
<slrnv7r2cs.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: is there an image package that doesn't require Tk ? Date: Thu, 27 Jun 2024 15:47:40 -0000 (UTC) Organization: A noiseless patient Spider Lines: 13 Message-ID: <slrnv7r2cs.3gvbf.avl@logic.at> Reply-To: avl@logic.at Injection-Date: Thu, 27 Jun 2024 17:47:41 +0200 (CEST) Injection-Info: dont-email.me; posting-host="8e74ff785fe80015af8937dfca316e6e"; logging-data="2930263"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/VokCAGiMjGDuvS85NXRtR" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:yXh40eeOIhQTzCUrlv3pgvyajRc= Bytes: 1329 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.