The indexing of the byte array was wrong, which is why the images
produced had that funky spiral shape (which wasn't real). The polar
mapping was also incorrect (the tracks were mapped to cylinders and vice
versa).
Besides correcting these issues, improve the output by:
- Point scaling the source vertically by 3x to produce better-defined
tracks
- Overlaying a "venetian blinds" pattern to add gaps between tracks
- Resizing horizontally to 3072 pixels to reduce aliasing
- 2x oversampling on the polar conversion again to reduce aliasing
Added ability for Linux and Windows to run this script. Now everyone can use this!
Added friendly and instructive error message for when pypng is not installed.
Fixed bugs that prevented the proper printing output.
Fixed the try/except/finally's to be try/except's.
Fixed inconsistent space and tab indentation which will fail with Python 3.
Fixed sys.exit(0) to exit with code of 1, which indicates an error to the shell.
Added the shebang to the first line so that the script can be run on its own.
Fixed the ImageMagick command line to be more compatible running under Windows shell.