Stretching a bitmap

D

David Poundall

Is it possible to import a bitmap and stretch it to fit a defined area
with wxPython? If so, could someone point me to any relevent web
reference on the subject?

Thanks in advance

David
 
D

David Poundall

I need to be able to do this on the fly within a WX frame. I think I
have found it though. There is a resize function in the image class in
the _core code of wxPython. All I have to do now is learn how to
access the bugger. Syntax anyone ??
 
L

Larry Bates

Python Imaging Library (PIL) can size bitmaps. I use
it to create thumbnails or to size bitmaps quite often.
There may be a "wxPython" built-in for this also, but
I don't know what it would be.

-Larry Bates
 

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,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top