t

geotrellis.raster.render

JpgRenderMethods

trait JpgRenderMethods extends MethodExtensions[Tile]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JpgRenderMethods
  2. MethodExtensions
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def self: Tile
    Definition Classes
    MethodExtensions

Concrete Value Members

  1. def renderJpg(colorMap: ColorMap, settings: Settings): Jpg

    Generate a JPG image from a raster.

    Generate a JPG image from a raster.

    Use this operation when you have a raster of data that you want to visualize with an image.

    To render a data raster into an image, the operation needs to know which values should be painted with which colors. To that end, you'll need to generate a ColorBreaks object which represents the value ranges and the assigned color. One way to create these color breaks is to use the geotrellis.raster.stats.op.stat.GetClassBreaks operation to generate quantile class breaks.

  2. def renderJpg(colorMap: ColorMap): Jpg
  3. def renderJpg(colorRamp: ColorRamp, settings: Settings): Jpg
  4. def renderJpg(colorRamp: ColorRamp): Jpg
  5. def renderJpg(settings: Settings): Jpg

    Generate a JPG from a raster of RGBA integer values.

    Generate a JPG from a raster of RGBA integer values.

    Use this operation when you have created a raster whose values are already RGBA color values that you wish to render into a JPG. If you have a raster with data that you wish to render, you should use RenderJpg instead.

    An RGBA value is a 32 bit integer with 8 bits used for each component: the first 8 bits are the red value (between 0 and 255), then green, blue, and alpha (with 0 being transparent and 255 being opaque).

  6. def renderJpg(): Jpg