Deutsch English Français Italiano |
<v5ll8s$37idd$1@dont-email.me> 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: Harald Oehlmann <wortkarg3@yahoo.com> Newsgroups: comp.lang.tcl Subject: Re: is there an image package that doesn't require Tk ? Date: Fri, 28 Jun 2024 08:29:49 +0200 Organization: A noiseless patient Spider Lines: 34 Message-ID: <v5ll8s$37idd$1@dont-email.me> References: <slrnv7r2cs.3gvbf.avl@logic.at> <v5kf31$2sftj$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 28 Jun 2024 08:29:49 +0200 (CEST) Injection-Info: dont-email.me; posting-host="62ad14c5327c746d1c242dc7abe6364e"; logging-data="3393965"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19YsjCEDlO34TVrtacoor1M" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:QiON5STatLKfFA6AHuYnMgA2A6Q= Content-Language: en-GB In-Reply-To: <v5kf31$2sftj$1@dont-email.me> Bytes: 2052 Am 27.06.2024 um 21:38 schrieb greg: > 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 Yes, as there is no standard package, there are many solutions. That is why I would like the image command from Tk as a loadable package for TCL. Thanks, Harald