[Date Prev][Date Next][Index][Thread]
[SGT Mail Archive]
[SGT Main Page]
Re: SGT Plot as PNG Image is always "black"
*************************************************
Message from the sgt mail list.
*************************************************
Klaus,
I have not used the javax.imageio package. A couple of quick
questions, "PNG" is one of the Strings returned by
getWriterFormatNames()? The bigger issue might be that JPane.drawPage
method is for internal use. It is meant to be used for printing. You
might draw using the JPane.draw method. JPane.draw(g, 100, 200) the
100x200 is used for clipping the image.
Don
*************************************************
To remove yourself from this mailing list,
send mail to <Majordomo@epic.noaa.gov> with
"unsubscribe sgt" in the message body.