All Downloads are FREE. Search and download functionalities are using the official Maven repository.

geotrellis.raster.render.MultibandJpgRenderMethods.scala Maven / Gradle / Ivy

Go to download

GeoTrellis is an open source geographic data processing engine for high performance applications.

The newest version!
package geotrellis.raster.render

import geotrellis.raster._
import geotrellis.util.MethodExtensions

import spire.syntax.cfor._

trait MultibandJpgRenderMethods extends MethodExtensions[MultibandTile] {

  /**
    * Generate a JPG image from a multiband raster.
    *
    * Use this operation when you have a multiband raster of data that you want to
    * visualize with an image.
    *
    * To render with this method, you must first ensure that your tile is encoded
    * with integer data whose values range from 0 to 255.
    */
  def renderJpg(): Jpg = {
    self.color().renderJpg
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy