comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Creating JPEG files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Creating JPEG files [message #32429] Wed, 09 October 2002 07:45
m_jewison is currently offline  m_jewison
Messages: 1
Registered: October 2002
Junior Member
I have a short program which generates a 2D plot using a standard call
to the PLOT procedure, displaying to the X-windows device. I would
like to also have this plot dumped to a JPEG file for display on a web
page. Although the plot looks just fine on the screen, when I issue
the following command:

WRITE_JPEG, JPEG_File, TVRD()

the resultant JPEG file has very little contrast (i.e. it's basically
near-black on black). I know the WRITE_JPEG procedure is better
suited to images rather than plots, but is there (a) a better way to
create a JPEG file of a plot rather than what I'm doing, or (b)
another file format which IDL supports that would do a good job of
creating a web-compatible image format? I used to use the WRITE_GIF
format until IDL dropped support for it.

Many thanks.

- Mike
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Where is Martin Schultz's web page?
Next Topic: Re: Creating JPEG files

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:40:37 PDT 2025

Total time taken to generate the page: 0.00550 seconds