Python Forum
Error message with PIL putpixel
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error message with PIL putpixel
#2
I think it has to be

newpicture = picture.putpixel(picture, (x,y), (116, 208, 241))
But don't you modifying the pixel in place using putpixel method? Why do you assign the return to an object?
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
Error message with PIL putpixel - by louloudevinci - Mar-30-2018, 03:23 PM
RE: Error message with PIL putpixel - by wavic - Mar-30-2018, 03:31 PM
RE: Error message with PIL putpixel - by wavic - Mar-30-2018, 04:09 PM
RE: Error message with PIL putpixel - by wavic - Mar-30-2018, 05:02 PM
RE: Error message with PIL putpixel - by nilamo - May-08-2018, 07:46 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020