C
carl.manaster
I'm new to Java and exploring JAI. I'm opening grayscale TIF images
with
RenderedImage image = JAI.create("fileload", filename);
, getting an editable raster with
WritableRaster raster = image.copyData(null);
, and changing a pixel with
raster.setSample(points.x, points.y, 0, 0);
So far, so good.
Now, how do I get my raster into an image and save that image to a new
TIF?
If I'm barking up the wrong tree altogether, of course, please let me
know.
Thanks,
--Carl
with
RenderedImage image = JAI.create("fileload", filename);
, getting an editable raster with
WritableRaster raster = image.copyData(null);
, and changing a pixel with
raster.setSample(points.x, points.y, 0, 0);
So far, so good.
Now, how do I get my raster into an image and save that image to a new
TIF?
If I'm barking up the wrong tree altogether, of course, please let me
know.
Thanks,
--Carl