Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

And Bruce is effectively building BruceIX -- Alan Cox


devel / comp.lang.tcl / Re: Writing bar chart to file

SubjectAuthor
* Writing bar chart to fileclt.to.davebr
`- Writing bar chart to fileCecil Westerhof

1
Writing bar chart to file

<7401697945246@dlp>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=12293&group=comp.lang.tcl#12293

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: clt.to.d...@dfgh.net
Newsgroups: comp.lang.tcl
Subject: Writing bar chart to file
Date: Sun, 22 Oct 23 03:27:26 GMT
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <7401697945246@dlp>
Injection-Info: dont-email.me; posting-host="b365bdc859c104eca3bdc81fa9573c6c";
logging-data="2348618"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19dz2bYy8c6MG57KER0ENsn"
Cancel-Lock: sha1:J5WRsWcxfDGNCiofkhfFP0lCmUk=
 by: clt.to.d...@dfgh.net - Sun, 22 Oct 2023 03:27 UTC

> can't find package img::window

you need the Img package. It can be found on sourceforge.net as tkimg

package require Img loads all the additional image format handlers.

package require img::window just loads the handler for reading Tk windows

Note the capitalized "I" when loading the overall package.

The png handler is already part of Tk
I use the ...Linux64 version of the package, however the documentation appears to only be in the source package.

Dave B

Re: Writing bar chart to file

<874jiiinzp.fsf@munus.decebal.nl>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=12297&group=comp.lang.tcl#12297

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Cec...@decebal.nl (Cecil Westerhof)
Newsgroups: comp.lang.tcl
Subject: Re: Writing bar chart to file
Date: Sun, 22 Oct 2023 19:08:26 +0200
Organization: Decebal Computing
Lines: 25
Message-ID: <874jiiinzp.fsf@munus.decebal.nl>
References: <7401697945246@dlp>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="80c8815b1f10f3c7644067cb404013dd";
logging-data="2697584"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19N9E6xG0qoI9vH1U+T9i7wF0cI371/z2E="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:Es0IoSFkXo/W9jbm59ZzfzrhD5I=
sha1:dyg1z+5Lq6XDa44Dftvr/UAC6YY=
 by: Cecil Westerhof - Sun, 22 Oct 2023 17:08 UTC

clt.to.davebr@dfgh.net writes:

>> can't find package img::window
>
> you need the Img package. It can be found on sourceforge.net as tkimg
>
> package require Img loads all the additional image format handlers.
>
> package require img::window just loads the handler for reading Tk windows
>
> Note the capitalized "I" when loading the overall package.
>
> The png handler is already part of Tk
> I use the ...Linux64 version of the package, however the documentation
> appears to only be in the source package.

I already had solved it, but I also tried your approach. Works. (But
maybe because I solved the other one.) Funny: for me the two images
look exactly the same, but the one done with Img is about 25% bigger
as the one done with img::window.

--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor