ICO-PIL Windows Icon

Extensions: .ico

This is a copy from the Pillow docs.

ICO is used to store icons on Windows. The largest available icon is read.

The save() method supports the following options:

sizes
A list of sizes including in this ico file; these are a 2-tuple, (width, height); Default to [(16, 16), (24, 24), (32, 32), (48, 48), (64, 64), (128, 128), (255, 255)]. Any sizes bigger than the original size or 255 will be ignored.

IM

IM is a format used by LabEye and other applications based on the IFUNC image processing library. The library reads and writes most uncompressed interchange versions of this format.

IM is the only format that can store all internal PIL formats.