diwas524 / compression-resizing-pil Goto Github PK
View Code? Open in Web Editor NEWWe are using PIL to resize the images thereby converting larger images to smaller ones.The optimize flag will do an extra pass on the image to find a way to reduce its size as much as possible.