BitmapInputImage

class toasty.pipeline.BitmapInputImage(unique_id, cachedir)[source]

Bases: toasty.pipeline.InputImage

An abstract base class for an input image whose data are stored as an RGB bitmap that we will read into memory all at once using the PIL module.

This ABC implements the _process_image_data() method on the parent InputImage ABC but adds a new abstract method _load_bitmap()