Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python: how to generate a bitmap?

Tags:

python

bitmap

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.)

like image 413
Steph Thirion Avatar asked Nov 17 '25 19:11

Steph Thirion


1 Answers

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.

like image 61
RichieHindle Avatar answered Nov 20 '25 09:11

RichieHindle



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!