Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If quicklooks cannot be written with the product or the user prefers not to, then quicklooks will be written to a centralized database in .snap/ for fast loading in the future.

 

Adding Quicklooks to a Product

If a product comes with a preview image or browse image, the reader should add it to the product as follows:

product.getQuicklookGroup().add(new Quicklook(product, Quicklook.DEFAULT_QUICKLOOK_NAME, qlFile));

An RGB can be created by passing the array Bands or by creating new virtual bands as follows:

product.getQuicklookGroup().add(new Quicklook(product, "Pauli", pauliBands));