Skip to content

Pillow 3.x removes fromstring() in favor of frombytes()#35

Open
tuomassalo wants to merge 1 commit intotimknip:masterfrom
tuomassalo:pillow-3-fix
Open

Pillow 3.x removes fromstring() in favor of frombytes()#35
tuomassalo wants to merge 1 commit intotimknip:masterfrom
tuomassalo:pillow-3-fix

Conversation

@tuomassalo
Copy link
Contributor

With Pillow 3.x, pyswf fails with certain .swf files with this error:

Exception: fromstring() has been removed. Please call frombytes() instead.

This patch aims to fix that problem, while not breaking compatibility with PIL/Pillow 1.x.

For more information on this compatibility issue, see eg. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808279

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant