NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

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: