Forum: Ruby Ruby TK and loading PNGs

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C93353784d751841e11f960e4f7a23f8?d=identicon&s=25 Austin (Guest)
on 2006-02-26 03:18
Is there anyway to load PNG files with TK?
E4f967492dbd03c526cc9b397e68021d?d=identicon&s=25 Hidetoshi NAGAI (Guest)
on 2006-02-26 05:50
(Received via mailing list)
From: Austin <fakeemail100@earthlink.net>
Subject: Ruby TK and loading PNGs
Date: Sun, 26 Feb 2006 11:19:05 +0900
Message-ID: <6b9175666942d27c949a851ef4308721@ruby-forum.com>
> Is there anyway to load PNG files with TK?

Please use 'TkImg' extension (http://sf.net/projects/tkimg).
ActiveTcl binary packages includes the extension.
When the extension is available on your Tcl/Tk,
plaese call "require 'tkextlib/tkimg'" to use on your Ruby/Tk.
# see also "ext/tk/sample/tkextlib/tkimg/demo.rb" on the Ruby source
tree.
This topic is locked and can not be replied to.