You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Screen().img got renamed to Screen()._img and is now also missing from the docs. #142
The field was always intended to be internal, hence the missing docs. What you are doing makes sense though, so we can expose the field either directly or with a property. Care to make a PR?
Activity
ddemidov commentedon Mar 11, 2016
The field was always intended to be internal, hence the missing docs. What you are doing makes sense though, so we can expose the field either directly or with a property. Care to make a PR?
ddemidov commentedon Mar 11, 2016
It looks like the change came with the switch from old boost-based implementation to the new pure python one.
ensonic commentedon Mar 11, 2016
Yep, I'll make a PR. Shall we just expose img like we expose draw or add a proxy method for img.paste()?
ddemidov commentedon Mar 11, 2016
Is there anything else potentially useful in the
Imageinteface besidespaste()? I have little experience with the Pillow library.ensonic commentedon Mar 14, 2016
Here is the reference: https://pillow.readthedocs.org/en/3.0.0/reference/Image.html. I can't think of anything else I would need from there right now. I think it is unfortunate that draw does not have a method to blit an image.
ddemidov commentedon Mar 14, 2016
I think just exposing the image field would be both easier and future proof :).
Expose Screen._img as Screen.image.