Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: Converting Field to gif or jpeg

Hi David,

> I see that the gif adapter facilitates conversion from a gif to a flat 
> field.  What about the other direction?  I saw on the mailing list that 
> someone was using Display.getImage() and then converting it from there.  Is 
> this the most straightforward method?
> 
> The desired image would contain just a 2d representation of the data 
> itself, no axis, units, or background.  Any thoughts?

getImage() is the most straight forward method. Don't turn axis
scales on, turn the box off with DisplayRenderer.setBoxOn(false),
and leave the background black.

Cheers,
Bill


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: