Subject: Re: How to create bitmaps files with TK/BLT ? - DN [1]
"George A. Howlett" <ghowlett@fast.net> - 04 Jun 2000 - comp.lang.tcl
a.zuur@marlab.ac.uk wrote:
> My questions are:
> Is it technically possible to generate high quality bmp/gif/jpeg/..
> files from graphs generated with BLT? And how much time would it take
> someone to add this to BLT?
Metafiles, like PostScript, are resolution-independent.
I've added code to the graph's "snap" operation to generate Aldus placable
metafiles (.wmf) or Win32 enhanced metafiles (.emf).
.graph snap -format emf myFile.emf ;# Enhanced metafile
.graph snap -format wmf myFile.wmf ;# Aldus Placable metafile
In addition, you can send the metafile right to the clipboard (it always
generates enhanced metafiles for the clipboard. Windows will do the
conversion on the paste).
.graph snap -format emf CLIPBOARD ;# Copies metafile to clipboard
So far WMF and EMF files can be read by Office 2000 (Powerpoint
and Word) under NT (haven't tried Office 97 or Windows 95 yet).
An old version of Framemaker (5.0) could not read any WMF file,
so I may need to do a bit more work.
--gah
Last modified
2000-07-20
2000-07-20
(195.108.246.52)
Note: you are looking at
the snapshot of an old wiki
- much of this information
is likely to be very outdated
