Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in posts by hulaohu only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
hulaohu
User Profile
Collapse
Profile Sidebar
Collapse
hulaohu
Last Activity: Mar 10 '08, 03:21 PM
Joined: Mar 10 '08
Location:
Subscriptions
1
Subscribers
0
Activities
About
Media
Subscribed
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Source
All
hulaohu only
Visitor Messages Only
Advanced
Filtered by:
Clear All
new posts
hulaohu
replied to
parameters for Image.fromstring function in pil
in
Python
Mar 10 '08, 03:21 PM
I'm not sure what to pass in for the fromstring module. But you can do something like this to save a JPEG image from string buffer:
newImage = Image.fromstrin g('L', (325, 256), cached_image_st ring)
newImage.save(f ilename, "JPEG")...
See more
|
Go to post
Leave a comment:
Post Comment
Cancel
No activity results to display
Show More
Working...
OK
OK
Cancel
👍
👎
☕
Leave a comment: