public class QuicklookGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_VALUE_QUICKLOOKS_MAX_WIDTH |
static boolean |
DEFAULT_VALUE_QUICKLOOKS_SAVE_WITH_PRODUCT |
static String |
PREFERENCE_KEY_QUICKLOOKS_MAX_WIDTH
Preferences key for maximum quicklook width
|
static String |
PREFERENCE_KEY_QUICKLOOKS_SAVE_WITH_PRODUCT
Preferences key for saving quicklook with product or not
|
Constructor and Description |
---|
QuicklookGenerator() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
createQuickLookFromBrowseProduct(Product browseProduct) |
BufferedImage |
createQuickLookImage(Product product,
Band[] quicklookBands,
ProgressMonitor pm) |
static Band[] |
findQuicklookBands(Product product) |
static boolean |
writeImage(BufferedImage bufferedImage,
File quickLookFile) |
public static final String PREFERENCE_KEY_QUICKLOOKS_SAVE_WITH_PRODUCT
public static final String PREFERENCE_KEY_QUICKLOOKS_MAX_WIDTH
public static final boolean DEFAULT_VALUE_QUICKLOOKS_SAVE_WITH_PRODUCT
public static final int DEFAULT_VALUE_QUICKLOOKS_MAX_WIDTH
public BufferedImage createQuickLookFromBrowseProduct(Product browseProduct) throws IOException
IOException
public BufferedImage createQuickLookImage(Product product, Band[] quicklookBands, ProgressMonitor pm) throws IOException
IOException
public static boolean writeImage(BufferedImage bufferedImage, File quickLookFile)
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.