I'm working on some python programming and I need some help as to how to double the size of a picture using the image module.... any ideas?!
c_shaft05
0
Junior Poster in Training
Recommended Answers
Jump to PostIs the picture you are loading smaller than what you want to display? If yes, the quality will suffer quite a bit! The program has to make up missing information.
Are you using the Python Image Library PIL for this?
Jump to PostI worked on this for a while and put the code into the Python snippet section:
http://www.daniweb.com/code/snippet396.htmlHope you find it constructive for your needs.
Jump to PostNice project c_shaft05 you do much thinking here!
Jump to PostI remember in school they talked about DIB (device indepentant bitmaps) to be best for stretching/enlarging. Was C class for graph artists.
All 14 Replies
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
c_shaft05
0
Junior Poster in Training
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
c_shaft05
0
Junior Poster in Training
bumsfeld
413
Nearly a Posting Virtuoso
c_shaft05
0
Junior Poster in Training
bumsfeld
413
Nearly a Posting Virtuoso
c_shaft05
0
Junior Poster in Training
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
c_shaft05
0
Junior Poster in Training
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
c_shaft05
0
Junior Poster in Training
c_shaft05
0
Junior Poster in Training
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.