Class OverviewsUtils
java.lang.Object
org.openjump.core.rasterimage.OverviewsUtils
- Author:
- AdL
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
Constructor Details
-
OverviewsUtils
public OverviewsUtils()
-
-
Method Details
-
getOverviews
public static Overviews getOverviews(File tiffFile, org.locationtech.jts.geom.Envelope envelope) throws IOException - Throws:
IOException
-
createOverviews
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)
-