add pillow base class designed to allow you do filtering in python