https://github.com/maxleiter/kimp
KnightOS Image Manipulation Program
https://github.com/maxleiter/kimp
Last synced: 5 months ago
JSON representation
KnightOS Image Manipulation Program
- Host: GitHub
- URL: https://github.com/maxleiter/kimp
- Owner: MaxLeiter
- License: mit
- Created: 2015-10-12T07:26:49.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-24T20:10:01.000Z (over 10 years ago)
- Last Synced: 2024-10-11T13:26:35.828Z (over 1 year ago)
- Language: Assembly
- Homepage:
- Size: 238 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KIMP
KnightOS Image Manipulation Program

##Info
Just a small project for me to mess around with for KnightOS. A basic grid-based pixel-art/sprite editor. General idea is the first screen has a 'name' field and a 'size' field (#x# like 30x30), and the program would be saved in a binary file (literal 1's and 0's).
Example:
4x4 Image
[ ][x][x][ ]
[x][ ][ ][x]
[x][ ][ ][x]
[ ][x][x][ ]
would save to
0 1 1 0
1 0 0 1
1 0 0 1
0 1 1 0
If the file was opened, the program would determine the amount of numbers and calculate the square root in order to re-create the images size (wouldn't support rectangular images though, need to think of a better method for saving it). Ideally, it would use whatever format KnightOS uses (see: [kimg](https://github.com/knightos/kimg))
## Compiling
First, install the [KnightOS SDK](http://www.knightos.org/sdk).
$ knightos init
$ make
$ make run # to test
$ make package # to produce an installable package
## Installing
Use `make package` to get a package that you can install.