Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Need Canvas Tag Help

6 views
Skip to first unread message

alk...@gmail.com

unread,
Jan 12, 2007, 12:04:51 AM1/12/07
to
Hi, is there a Windows based program, free or commercial, that converts
or helps create images and stuff in open-source <canvas> complicant
code tags? I am more interested in self generating this code with some
kind of tool that works with <canvas> tags as best as possible. Can
someone please help with this? :-) Sincere, Tasha

Pavan

unread,
Jan 12, 2007, 6:33:12 AM1/12/07
to
hi,
U can use following set of commands.
set strImg [image create photo -file $fileName];
set itemID [$can_widget create image $x $y -anchor nw -image $strImg];
By knowing the image widht and height u can shrink or zoom in the
image...
I think this is what u r looking...

regard's
Pavan

Christian Gollwitzer

unread,
Jan 12, 2007, 8:10:47 AM1/12/07
to

pstoedit can convert .eps and .pdf-Files into series of canvas commands.
It isn't "Windows-based", but you can run it under Windows:

pstoedit input.eps output.tk

Christian

Robert Heller

unread,
Jan 12, 2007, 9:50:04 AM1/12/07
to

ImageMagicK is (freely) available for Cgywin, which in turn is (freely)
available. There is also GIMP, also freely available (the GIMP is
basically a Photoshop replacement, so might be overkill).

>
>

--
Robert Heller -- 978-544-6933
Deepwoods Software -- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and Database
hel...@deepsoft.com -- Contract Programming: C/C++, Tcl/Tk

Chris Cox

unread,
Jan 12, 2007, 6:30:42 PM1/12/07
to

Some examples of the Tk produced from eps files are here:
http://www.ntlug.org/~ccox/impress/impress/examples/cowden.tcl
(this will display if you have the tcl plugin installed)

Others that were converted from eps:
http://www.ntlug.org/~ccox/impress/impress/examples/nozzle.tcl
http://www.ntlug.org/~ccox/impress/impress/examples/warbird.tcl

I have not tried to use pstoedit under Windows.

By default results produced by pstoedit are executable
programs (not just raw canvas commands, but easily converted).
The files produced will load straight into ImPress.

0 new messages