[geotk] Looking for Java APIs to create a PNG from a double[][]
Martin Desruisseaux
martin.desruisseaux at geomatys.fr
Wed Oct 17 08:30:36 PDT 2012
Hello Robert
Le 17/10/12 23:51, Robert Nix a écrit :
> As a newbie to GIS, i'm looking for information on how to use GeoTools
> (or any appropriate) APIs to convert a double[][] into a PNG.
The PNG format can not store floating point values as far as I know. You
need to either use an other file format which can store such values, or
convert those values to integers in the [0 ... 255] range by multiplying
them by some factor of your choice.
Regards,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geotoolkit/attachments/20121018/29feafc7/attachment.html>
More information about the Geotoolkit
mailing list