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
if shows me the same error. For some reason pycairo can not read from any file-like object.
EDIT:
I just noticed, if I open a file with f=open('filename.png', 'w+b') then write and image to it, then f.seek(0) and then pass that file like object to create_from_png, it fails as well with the same error. But passing just the filename to create_from_png works just fine.
Through file normally work. E.g.:
The text was updated successfully, but these errors were encountered: