`Writer` rejects info dict with `physical` key
A PNG with a pHYs
chunk will generate (when read) an info
dict that has a physical
key.
Passing this to a Writer
fails though:
drj@cha:~/prj/pypng$ python3 code/pipcat alert.png
Traceback (most recent call last):
File "code/pipcat", line 47, in <module>
main(sys.argv)
File "code/pipcat", line 44, in main
return cat(png.binary_stdout(), [open(n, 'rb') for n in argv[1:]])
File "code/pipcat", line 37, in cat
w = png.Writer(width, height, **tinfo)
TypeError: __init__() got an unexpected keyword argument 'physical'
Edited by D Jones