Charpacker
charpack(bitmap, ret=None)
Charpacks a given bitmap
It is possible to continue a charpacking by supporting a tuple of a character list and a screen as the second parameter.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
bitmap |
Bitmap instance
|
the c64 bitmap to charpack |
required |
ret |
Tuple[List[Char], Screen]
|
optional charpack result for continuing |
None
|
Returns:
Type | Description |
---|---|
Tuple[List[Char], Screen]
|
The obtained characters and the screen |
main(arguments=None)
Loads an image file, charpacks it, saves the obtained screen and character set and shows the original image, its bitmap representation, and the charpacking result.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
arguments |
List[str]
|
The command line arguments |
None
|
Options
- --file/-f <IMAGE_FILE_TO_LOAD>: the image to charpack
- --screen-output/-s <SCREEN_OUTPUT_FILENAME>: the name of the file to write the screen to
- --charset-output/-c <CHARSET_OUTPUT_FILENAME>: the name of the file to write the charset
- charpacker
- charpack()
- main()
Table of contents