mirror of
https://github.com/option8/RetroConnector.git
synced 2025-02-20 12:28:56 +00:00
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.
Reads a 140k DSK file, typically an Apple II 5 1/4'' disk image, and produces a PNG visual representation of the data on the disk.
Requires ImageMagick: http://www.imagemagick.org/ and python PNG module: https://pypi.python.org/pypi/pypng
See a demo on YouTube here: https://www.youtube.com/watch?v=Hg_jUEV1-g8&list=PL_8ByM2n4E2ta4gRfhW2ejIn5EfgVbXfS&index=8