开发者

python: how to generate a bitmap?

开发者 https://www.devze.com 2022-12-09 13:19 出处:网络
What\'s the easiest way to generate a bitmap using Python? Text support would be nice but not required.

What's the easiest way to generate a bitmap using Python?

Text support would be nice but not required.

(On Mac, I was trying to use Quartz through Python, but Snow Leopard seems to have broken its functionality. Therefore I've decided to look for a solid开发者_开发问答, simple, cross-platform solution that won't break each time the OS is updated.)


Use the Python Imaging Library:

"The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. This library supports many file formats, and provides powerful image processing and graphics capabilities."

I'm not a Mac person so I can't help with Mac specifics, but I do know it works on the Mac.

0

精彩评论

暂无评论...
验证码 换一张
取 消