-
-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pixel Array setter doesn't work #178
Comments
I use ds.PixelData = Image.from_array(arr).tobytes() On Tue, Jan 13, 2015, 17:30 James Kerns notifications@github.com wrote:
|
I'm not saying it can't be done (I use numpy's
You explicitly have to set it with the array:
|
Setting the
pixel_array
attr does nothing.See this gist for an example:
https://gist.github.com/jrkerns/eab5f5da2335572a3f0f
In the "working with pixel data" example, pixel data is modified, not replaced.
I propose a setter method for pixel_array.
The text was updated successfully, but these errors were encountered: