from PIL import Image
img = Image.open('image.eps')
rgb_img = img.convert('RGB')
rgb_img.save('image.jpg')
1. "OSError: Unable to locate Ghostscript on paths"
2. "FileNotFoundError: [Errno 2] No such file or directory: 'gs'"
from PIL import Image
eps_image = Image.open("eps_image_path")
eps_image.load(scale=10)
eps_image.save("save_path_image")
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.