introprog.Image
See theImage companion object
Image represents pixel arrays backed by underlying java.awtimage.BufferedImage
Attributes
- Companion
- object
- Source
- Image.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Get color of pixel at (x, y)
.
Copy image and scale to (width, height)
.
Copy subsection of image defined by top left corner (x, y)
and (width, height)
.
Copy subsection of image defined by top left corner (x, y)
and (width, height)
.
Attributes
- Source
- Image.scala
Extract and return image pixels.
Set color of pixel at (x, y)
.
Set color of pixels by passing f(x, y)
Set color of pixels by passing f(x, y)
and return self.
Copy image and change image type to ARGB, including alpha channel
Copy image and change image type to RGB, removing alpha channel
Concrete fields
Test if alpha channel is supperted.
The height of this image.
Attributes
- Source
- Image.scala
The width of this image.
In this article