It was previously not possible to pickle ants images, so things like deepcopy failed. This PR adds basic pickle support via numpy. I had some random segfaults in some early versions of this PR but I believe the current version works well... something to keep an eye on anyways.
coverage: 81.373% (+0.02%) from 81.352%
when pulling d96a99774a01dd1c328fa148519d1c16dd767261 on pickle-images
into 6d99b60464e69bd17a1e5de5b901d814222da97b on master.
It was previously not possible to pickle ants images, so things like
deepcopy
failed. This PR adds basic pickle support via numpy. I had some random segfaults in some early versions of this PR but I believe the current version works well... something to keep an eye on anyways.Example: