Back to problems

Process Cat Images

Algorithm · Anthropic · Easy

Process a collection of cat images with Python and the Pillow library. Load each image using Pillow. Apply the requested basic transformations, such as resizing, rotating, and cropping. Save the transformed image to the specified output path. Create unit tests that verify the image-processing behavior. Use this function interface: When multiple transformations are supplied, perform them in this order: resize, rotate, then crop. The resize value is a (width, height) pair,…

Checking your access…