Class QuicklookGenerator
java.lang.Object
org.esa.snap.core.datamodel.quicklooks.QuicklookGenerator
Generates Quicklook images
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateQuickLookFromBrowseProduct(Product browseProduct, ProgressMonitor pm) createQuickLookImage(Product product, Band[] quicklookBands, ProgressMonitor pm) static Band[]findQuicklookBands(Product product, ProgressMonitor pm) static booleanwriteImage(BufferedImage bufferedImage, File quickLookFile)
-
Field Details
-
PREFERENCE_KEY_QUICKLOOKS_SAVE_WITH_PRODUCT
Preferences key for saving quicklook with product or not- See Also:
-
PREFERENCE_KEY_QUICKLOOKS_MAX_WIDTH
Preferences key for maximum quicklook width- See Also:
-
DEFAULT_VALUE_QUICKLOOKS_SAVE_WITH_PRODUCT
public static final boolean DEFAULT_VALUE_QUICKLOOKS_SAVE_WITH_PRODUCT- See Also:
-
DEFAULT_VALUE_QUICKLOOKS_MAX_WIDTH
public static final int DEFAULT_VALUE_QUICKLOOKS_MAX_WIDTH- See Also:
-
-
Constructor Details
-
QuicklookGenerator
public QuicklookGenerator()
-
-
Method Details
-
createQuickLookFromBrowseProduct
public BufferedImage createQuickLookFromBrowseProduct(Product browseProduct, ProgressMonitor pm) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
createQuickLookImage
public BufferedImage createQuickLookImage(Product product, Band[] quicklookBands, ProgressMonitor pm) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
findQuicklookBands
public static Band[] findQuicklookBands(Product product, ProgressMonitor pm) throws InterruptedException - Throws:
InterruptedException
-
writeImage
-