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.
Austin (Guest)
on 2006-02-26 04:18
Is there anyway to load PNG files with TK?
Hidetoshi NAGAI (Guest)
on 2006-02-26 06:50
(Received via mailing list)
From: Austin <removed_email_address@domain.invalid>
Subject: Ruby TK and loading PNGs
Date: Sun, 26 Feb 2006 11:19:05 +0900
Message-ID: <removed_email_address@domain.invalid>
> 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.