Buffer Image
Central to Shapelogic Scala is minimal generic image traits and classes. This is about the main image class BufferImage and a few traits that it implements.
Image Trait
There are 3 image trait. They are all minimal generic.
- ImageShape non generic image dimentions
- ReadImage image that you can read from
- WriteImage Image that you can write to
- BufferImageTrait BufferImage trait
They are Simulacrum type classes. This means that it is easy to wrap these around many image classes.
ReadImage
ReadImage has minimal read functionality.
WriteImage
WriteImage has minimal read and write functionality. Subclass of ReadImage
BufferImageTrait
BufferImageTrait has minimal buffered image functionality. Subclass of ReadImage and WriteImage.
Image Classes
- BufferImage
BufferImage
BufferImage is a buffered memory based image. Implementing traits ReadImage, WriteImage and BufferImageTrait. It has minimal read and write functionality.