At 09:26 AM 1/12/2004 -0800, you wrote:
>On 2004-12-01 11:15+0100 Arjen Markus wrote:
>>As for JPG or BMP output: one way to do this is to use the ImageMagick
>>toolkit, which can do truly amazing stuff converting and manipulating
>>image files. I do not know of direct support for these types in PLplot.
>Arjen, on the Unix/Linux side of things, jpeg, png, and gif devices are
>supported using gd.c and the libgd library (http://www.boutell.com/gd/).
>Apparently, that library is also available for windows. So with a bit of
>porting work to get gd.c compiled properly and linked to libgd on the
>windows side you should be able to have those three useful PLplot devices
>available also for the windows platform.
No porting is required - if you have libgd, libpng, libz, and libjpeg
installed and configured on windows, then the drivers should build without
>You might also like to have a look at Andrew Roach's djgpp platform for
>plplot. Apparently from sys/dos/djgpp/readme, there is a windows bitmap (or
>BMP) driver available there. So it sounds like there is a good chance to
>port a BMP device driver to the windows platform for PLplot in that case.
>Porting of native support of devices from Linux/Unix or djgpp to the windows
>side is worth doing in my opinion if you (or Zhiwu) have the time/energy.
The bitmap support came as a piggy-back driver to the gnusvga driver. It
had some limitations (it has to be implicitly defined as 256 colours -
truecolur don't work). It uses the grx20 library which HAS been ported to
both linux and windows; however, using this library on those platforms is
far from ideal since it really was just a DOS library ported to
linux/windows to get old DOS programs working. I toyed with the library
under windows once, and rejected it as being too poorly ported for my
needs. If someone really wanted to though, and they installed grx20 on
linux/windows, they could get a bitmap driver. Personally, I think a far
better tactic would be using PNG files and libgd - it has none of the
quirks that the grx20 driver has, and we already have the drivers working