title: How to convert n number of images (in jpg format) to .p (pickle) format?
body: <p>I have a folder <strong>abc</strong> with images in <code>.jpg</code> format. I need to convert these images to single <code>xyz.p</code> (pickled) file. How to pickle these images?</p>