Initial commit of first working version
This commit is contained in:
commit
d45fdc40d7
4 changed files with 489 additions and 0 deletions
19
README
Normal file
19
README
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# MSPConvert
|
||||
|
||||
## What is MSPConvert?
|
||||
|
||||
MSPConvert is a really simple python script to convert old formats of Microsoft Paint to a format that GIMP can handle natively (XBM).
|
||||
Because both version 1 and version 2 MSP files are black and white only, each pixel is represented directly by a bit. Converting version 1 is very simple: just copy the data over.
|
||||
Version 2 implemented some simple run-length encoding, so a few extra steps are needed.
|
||||
|
||||
## Usage
|
||||
|
||||
To convert a file called EXAMPLE.MSP to EXAMPLE_converted.xbm, just run:
|
||||
`./mspconvert.py EXAMPLE`
|
||||
It should detect the version automatically, and then write the output file.
|
||||
|
||||
Then fire up GIMP, open the xbm file, and you can then export it as any other modern format (PNG, JPG, BMP etc.)
|
||||
|
||||
## License
|
||||
|
||||
The code is under Mozilla Public License v2. Feel free to modify and share as you wish -- just make sure your changes are released under the same license!
|
||||
Loading…
Add table
Add a link
Reference in a new issue