If I have a png image in a buffer (fetched from a network resource) I should be able to call directly to add_picture instead of writing it to disk and then sending a filepath to add_picture.
issue #5: add stream support to add_picture()
* add stream image scenario to 05-add-picture.feature
* add related unit tests
* clean up unit test coverage gaps to raise coverage to 99%
Added stream support to ShapeCollection.add_picture(). Signature is now:
add_picture(file, left, top, width, height)
where file can be either a path to an image file (a string) or a file-like object.