Drawing a grid on a picture

J

Jive Dadson

Hello folks. I know precisely zero about image processing. I want to
draw a grid of lines one or two pixels wide on a picture (.jpg, .png, or
whatever). [I want to transfer a sketch of the picture to a canvas (for
oil painting), using the "grid method."]

I figure this is probably a very easy thing to do, but I can't seem to
find the documentation I need. It all seems to assume you already know
something. I have wxPython installed. I also have the wxPython demo.
The section "Using Images/Image" looked promising. It just shows how to
read a picture and display it as a bitmap.

Can someone show me how, or point me in the right direction?

Thanks a lot.
 
J

Jive Dadson

I also found a reference to something called PIL. Maybe that's the
ticket. If so, where can I find it (with documentation)? Thanks.
 
S

Sybren Stuvel

Jive Dadson enlightened us with:
I also found a reference to something called PIL. Maybe that's the
ticket. If so, where can I find it (with documentation)? Thanks.

Just google for PIL and Python.

Sybren
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top