Skip to content

karstenw/geosLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geosLib

geosLib is a Python library to convert GEOS geoPaint, geoWrite, Photo Album and Photo Scrap files to modern formats.

Image files can be converted to PNG.

Text formats can be converted to RTFD, HTML and TXT.

GEOS font files are rendered as PNG for each size.

Inspiration, Code Template and "broken CVT logic"

geowrite2rtf by Michael Steil. If you haven't seen his c64talk, go watch it.

Requirements

Usage:

# for geoPaint, Photo Album, Photo Scrap, geoWrite, Text Album and Text Scrap in CBM Convert files format (CVT):

python convertCVTFiles.py *.cvt


# for geos font files in any format (d64, d81, zipped, gzipped, cvt):
# the PNG files are written to a directory "./geosFonts"

python geosCollectAllFonts.py  files or folders


# to collect everything in directories "./geosExports" and "./geosFonts"

python geosConvertAll.py files or folders

To do:

  • Text Album files

  • Some differences between "Write Image V2.0" and "Write Image V2.1"

  • geoPublish format? If someone has a pointer please write up an issue.

Summary

  • Send CBM-CVT files to CBMConvertFile and cbm disk image files (.d64, .d81) to DiskImage. Look at geosFiletypeScanner's usage of geosLib.getCompressedFile() on how to handle gzip and zip files.

  • IOW: get your geos file into a VLIRFile structure. The name is misleading since SEQ files go there too. That's what any of the conversion functions in geosLib expect.

Update


python macpaintLib.py /Path/To/Folder/with/MacPaint/Files/

this will create a folder macpaintExports at the same location from where the script is started.

About

A module to convert GEOS geoWrite, geoPaint, and Photo Album files to PNG, RTF, HTML and TXT.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages