Package org.openjump.core.rasterimage
Class OverviewsUtils
- java.lang.Object
-
- org.openjump.core.rasterimage.OverviewsUtils
-
public class OverviewsUtils extends Object
- Author:
- AdL
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOverviewsUtils.CompressionTypestatic classOverviewsUtils.ScaleAlgorithm
-
Constructor Summary
Constructors Constructor Description OverviewsUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreateOverviews(File tiffFile, int overviewsCount)Modified from GeoTools' OverviewsEmbedder.javastatic OverviewsgetOverviews(File tiffFile, org.locationtech.jts.geom.Envelope envelope)static javax.media.jai.RenderedOpscaleAverage(ParameterBlock paramBlock, double xScale, double yScale)
-
-
-
Method Detail
-
getOverviews
public static Overviews getOverviews(File tiffFile, org.locationtech.jts.geom.Envelope envelope) throws IOException
- Throws:
IOException
-
createOverviews
public static void createOverviews(File tiffFile, int overviewsCount) throws IOException
Modified from GeoTools' OverviewsEmbedder.java- Parameters:
tiffFile- file containing the tiff imageoverviewsCount- number of overviews- Throws:
IOException- if an IOException occurs
-
scaleAverage
public static javax.media.jai.RenderedOp scaleAverage(ParameterBlock paramBlock, double xScale, double yScale)
-
-