Afterimage is a Commodore 64 graphics library with a built-in support for the most common CBM file format specifications, entirely written in Scala. It supports reading, translating, displaying, converting, and writing picture data from/to miscellaneous CBM image files. Since version 0.02 it also provides functionality to import (convert) pictures directly from TIFF, BMP, DICOM, FITS, PGM, GIF, JPEG, and PNG files.
Afterimage releases are available in the The Central Repository.
You can automatically download and install this library by adding the following dependency information to your build.sbt configuration file:
libraryDependencies += "org.c64.attitude" % "afterimage" % "0.04"
Afterimage source code is available in the GitHub.
In order to compile and build this library directly from the source code type the following:
$ git clone https://github.com/pawelkrol/attitude-afterimage.git $ cd attitude-afterimage/ $ sbt clean update compile test package
The list of currently supported CBM file format specifications includes:
- Advanced Art Studio (.ocp)
- Art Studio (.aas)
- Hires Bitmap (.hpi)
- Face Painter (.fcp)
- Koala Painter (.kla)
The list of PC file format specifications suitable for conversion includes:
- TIFF (.tiff, .tif)
- BMP (.bmp, .dib)
- DICOM (.dcm)
- FITS (.fits, .fit, .fts)
- PGM (.pgm)
- GIF (.gif)
- JPEG (.jpg, .jpeg, .jpe, .jif, .jfif, .jfi)
- PNG (.png)
The list of currently writable PC file format specifications includes:
- PNG (.png)
Copyright (C) 2013-2016 by Pawel Krol.
This library is free open source software; you can redistribute it and/or modify it under the same terms as Scala itself, either Scala version 2.12.1 or, at your option, any later version of Scala you may have available.