Here's the release of the bitmap PAINT program. It loads and saves files in the BMX file format. It supports editing and saving of 320x240 256 color bitmap images, and loading of arbitrary sized 2, 4, 16 or 256 color BMX images.
Source code (prog8) is here.
The program is quite usable although an UNDO feature, and a Zoom feature, should really be added in some future update.
Try It Now!
test images included are called: robospider, bmxrider, desertfish
Paint
- desertfish
- Posts: 1096
- Joined: Tue Aug 25, 2020 8:27 pm
- Location: Netherlands
Paint
- Attachments
-
- paint.zip
- (110.06 KiB) Downloaded 27 times
Last edited by desertfish on Fri Oct 25, 2024 8:25 pm, edited 7 times in total.
- desertfish
- Posts: 1096
- Joined: Tue Aug 25, 2020 8:27 pm
- Location: Netherlands
Re: Paint
removed, the example files are inside the main zip file
Last edited by desertfish on Wed Apr 24, 2024 5:19 pm, edited 1 time in total.
- desertfish
- Posts: 1096
- Joined: Tue Aug 25, 2020 8:27 pm
- Location: Netherlands
Re: Paint
I've updated the paint program with a small bugfix in the save routine (it forgot to set the color depth correctly, making the resulting bmx file unable to load again).
Also the example images are now inside the zip file with the paint.prg itself, so you can try to load them in the "try it now" in the web emulator as well! Their names are: (type in lowercase):
robospider
bmxrider
desertfish
Also the example images are now inside the zip file with the paint.prg itself, so you can try to load them in the "try it now" in the web emulator as well! Their names are: (type in lowercase):
robospider
bmxrider
desertfish
Paint Tweaks
Based on my experience with the online emulator, I have a few suggestions for currently established features:
- Don't use transparency within the Palette and Cord. boxes.
- When "Claer"ing an image, reset the default palette and pointer color.
- A less chunky pointer will improve pixel placement accuracy. Crosshairs ae good.
- Remove the "Zoom" command until it's implemented to avoid confusion.
- A way to change pointer color so it doesn't get lost in the image.
- desertfish
- Posts: 1096
- Joined: Tue Aug 25, 2020 8:27 pm
- Location: Netherlands
Re: Paint
Updated the zip file in the first post:
* fixed an error in one of the included demo images
* paint now uses a crosshair cursor for drawing instead of the hand.
* fixed an error in one of the included demo images
* paint now uses a crosshair cursor for drawing instead of the hand.
- desertfish
- Posts: 1096
- Joined: Tue Aug 25, 2020 8:27 pm
- Location: Netherlands
Re: Paint
Updated the zip file in the first post:
- much faster flood fill routine implemented.
- much faster flood fill routine implemented.
- desertfish
- Posts: 1096
- Joined: Tue Aug 25, 2020 8:27 pm
- Location: Netherlands
Support for loading other color depth images
Paint can now load 2, 4, 16 color images as well. (1,2,4 bpp).
Editing and saving is still always in 256 colors.
Editing and saving is still always in 256 colors.