|
Re: JPEG contour plot without IDL graphics window, can this be done? [message #66682 is a reply to message #66673] |
Thu, 04 June 2009 15:46  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
J. Solbrig writes:
> Thanks, it looks like ImageMagick will do the trick. It kind of
> surprises me, though, that idl isn't able to do something like this.
> Oh well, such is life.
Oh, IDL is able to do it. I thought you were looking
for a more elegant solution. :-)
Cheers,
David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: JPEG contour plot without IDL graphics window, can this be done? [message #66683 is a reply to message #66682] |
Thu, 04 June 2009 15:16  |
J. Solbrig
Messages: 4 Registered: August 2008
|
Junior Member |
|
|
On Jun 4, 2:33 pm, David Fanning <n...@dfanning.com> wrote:
> J. Solbrig writes:
>> There must be a better way to handle this that does not require
>> opening a graphics window, copying the data from the window, then
>> outputting it to a jpeg, right? Any suggestions would be appreciated.
>
> I *definitely* recommend ImageMagick. IDL is about the
> *last* place I would go to do this. Convert your PostScript
> files directly to JPEGs. :-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Thanks, it looks like ImageMagick will do the trick. It kind of
surprises me, though, that idl isn't able to do something like this.
Oh well, such is life.
Jeremy
|
|
|
Re: JPEG contour plot without IDL graphics window, can this be done? [message #66684 is a reply to message #66683] |
Thu, 04 June 2009 14:33  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
J. Solbrig writes:
> There must be a better way to handle this that does not require
> opening a graphics window, copying the data from the window, then
> outputting it to a jpeg, right? Any suggestions would be appreciated.
I *definitely* recommend ImageMagick. IDL is about the
*last* place I would go to do this. Convert your PostScript
files directly to JPEGs. :-)
Cheers,
David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: JPEG contour plot without IDL graphics window, can this be done? [message #66685 is a reply to message #66684] |
Thu, 04 June 2009 14:25  |
Vince Hradil
Messages: 574 Registered: December 1999
|
Senior Member |
|
|
On Jun 4, 4:19 pm, "J. Solbrig" <JSolb...@gmail.com> wrote:
> So, typically is has been unnecessary for me to create anything other
> than postscript files for my data output. Now, however, because
> someone has asked for it, I need to figure out how to create jpeg
> versions of hundreds of contour plots with superimposed maps and
> colorbars.
>
> So far, I have been able to figure out one method for creating the
> jpegs, but it is much too slow considering the number of plots that
> need to be created. For the current method, I crate my image in the x-
> windows device, then use the following:
>
> write_jpeg, filename, jpeg_file, tvrd(/true), /true
>
> There must be a better way to handle this that does not require
> opening a graphics window, copying the data from the window, then
> outputting it to a jpeg, right? Any suggestions would be appreciated.
>
> - Jeremy
Write it to the z-buffer?
|
|
|