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.
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 has minimal read functionality.
WriteImage has minimal read and write functionality. Subclass of ReadImage
BufferImageTrait has minimal buffered image functionality. Subclass of ReadImage and WriteImage.
BufferImage is a buffered memory based image. Implementing traits ReadImage, WriteImage and BufferImageTrait. It has minimal read and write functionality.