← 返回 anthropic 的题目列表Image Transformation using Python Libraries
类型:online_judge
Given four folders: small images, big images, out, and transformations. Your task is to perform six types of transformations on images using Python libraries: grayscale, flip horizontally, flip vertically, scale, blur, and rotate. The first three transformations require no parameters, while the last three do. Test your transformations on images in the small images folder and save the results to the out folder. Each JSON file contains one or more transformations, which must be applied sequentially to each image. After successful testing on small images, perform the same operations on images in the big images folder within the specified processing time.
Example
Input
small_images/1.jpg transformations/t1.json