Back to problems

Image Transformation using Python Libraries

AI Coding · Anthropic · Medium

Build an image transformation pipeline Four directories: small images, big images, out, and transformations. Each JSON file in transformations lists operations to apply to an image, in order. Get the small images right first; then the same code has to handle a big image inside the processing-time limit. Python 3.11+ and numpy. 45 minutes. The six operations operation parameter grayscale — flip_horizontal — flip_vertical — scale factor blur radius rotate degrees Part 1 — fix…

Checking your access…