Packages

c

geotrellis.raster.render.Implicits

withSinglebandRenderMethods

implicit class withSinglebandRenderMethods extends ColorMethods with JpgRenderMethods with PngRenderMethods with AsciiRenderMethods

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. withSinglebandRenderMethods
  2. AsciiRenderMethods
  3. PngRenderMethods
  4. JpgRenderMethods
  5. ColorMethods
  6. MethodExtensions
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new withSinglebandRenderMethods(self: Tile)

Value Members

  1. def asciiDraw(): String

    Return ascii art of this raster.

    Return ascii art of this raster.

    Definition Classes
    AsciiRenderMethods
  2. def asciiDrawDouble(significantDigits: Int = Int.MaxValue): String

    Return ascii art of this raster.

    Return ascii art of this raster. The single int parameter indicates the number of significant digits to be printed.

    Definition Classes
    AsciiRenderMethods
  3. def asciiDrawRange(colMin: Int, rowMin: Int, colMax: Int, rowMax: Int): String

    Return ascii art of a range from this raster.

    Return ascii art of a range from this raster.

    Definition Classes
    AsciiRenderMethods
  4. def color(colorMap: ColorMap): Tile
    Definition Classes
    ColorMethods
  5. def renderAscii(palette: Palette = AsciiArtEncoder.Palette.WIDE): String
    Definition Classes
    AsciiRenderMethods
  6. 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.

    Definition Classes
    JpgRenderMethods
  7. def renderJpg(colorMap: ColorMap): Jpg
    Definition Classes
    JpgRenderMethods
  8. def renderJpg(colorRamp: ColorRamp, settings: Settings): Jpg
    Definition Classes
    JpgRenderMethods
  9. def renderJpg(colorRamp: ColorRamp): Jpg
    Definition Classes
    JpgRenderMethods
  10. 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).

    Definition Classes
    JpgRenderMethods
  11. def renderJpg(): Jpg
    Definition Classes
    JpgRenderMethods
  12. def renderPng(colorRamp: ColorRamp): Png
    Definition Classes
    PngRenderMethods
  13. def renderPng(colorMap: ColorMap): Png
    Definition Classes
    PngRenderMethods
  14. def renderPng(colorEncoding: PngColorEncoding): Png

    Generate a PNG from a raster of color encoded values.

    Generate a PNG from a raster of color encoded values.

    Use this operation when you have created a raster whose values are already encoded color values that you wish to render into a PNG.

    Definition Classes
    PngRenderMethods
  15. def renderPng(): Png

    Generate a PNG from a raster of RGBA integer values.

    Generate a PNG 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 PNG. If you have a raster with data that you wish to render, you should use RenderPng 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).

    Definition Classes
    PngRenderMethods
  16. val self: Tile
  17. def toBufferedImage: BufferedImage
    Definition Classes
    ColorMethods