By the way the pypng-0.0.13.tar.gz  (forgotton where I got it) is 
convertable for python 3.2 and all its test
run without error ;-) ... so maybe a  usable to make a working replacement 
???

Op maandag 16 juli 2012 13:41:40 UTC+2 schreef PKHG het volgende:
>
> This 
> >>> struct.pack("8B", 137, 80, 78, 71, 13, 10, 26, 10)
> b'\x89PNG\r\n\x1a\n'
> gives an error 
> from line  (258 of my pypng.py)       outfile.write(struct.pack("8B", 137, 
> 80, 78, 71, 13, 10, 26, 10))
>
> I assume that write needs an utf-8 string but the 137 from the pack is not 
> convertable ... to utf-8
>
> So what should it be?
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pyglet-users/-/TbjK5k5J_D0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to