I'm a complete novice with pickle, and I have a bunch of (about 100,000) images that need to be pickled.
They are first loaded as image object, and converted to data as following:
image = {
'pixels': im.tostring(),
'size': im.size,
'mode': im.mode,
}
Now how do I pickle them into one pkl file?