| Deutsch English Français Italiano |
|
<le5ieiFqebuU1@mid.individual.net> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!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: 27 Jun 2024 16:31:14 GMT Organization: loft Lines: 22 Message-ID: <le5ieiFqebuU1@mid.individual.net> References: <slrnv7r2cs.3gvbf.avl@logic.at> X-Trace: individual.net p+MTSkU5dObfxLisYOJt9Am0ZrirDhqczf7p/vEgUSjZaZkXUf X-Orig-Path: not-for-mail Cancel-Lock: sha1:kaFSu032ym2Wq3OXANRL68piGuE= sha256:T0LgdAy/1rrTjrwKjn+QW89bCnOd2c4KAlirgDnRgnQ= X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Bytes: 1455 In article <slrnv7r2cs.3gvbf.avl@logic.at>, 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 > >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. > It's not clear to me if this still works, but there is: https://wiki.tcl-lang.org/page/TclMagick -- columbiaclosings.com What's not in Columbia anymore..