In article <ZMdEo.20322$>,
Knute Johnson <> wrote:
> John's right, ignore my post please
.
OP: I would argue that Knute is also right on two counts:
1) The docs are your friend, and
2) the setPixel* methods of WritableRaster to which he referred may
offer some insight.
Note how the final parameter of each is a primitive array containing the
samples that comprise a given pixel. In this example [1], the
BufferedImage returned by createImage() happens to be compatible with
TYPE_INT_ARGB, so four bytes are required for each sample.
It might be helpful to elaborate on the source of your double[] in order
to minimize the effort to render it.
[1]<https://sites.google.com/site/drjohnbmatthews/raster>
--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>