Paint

Post Reply
User avatar
desertfish
Posts: 1038
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

General - CX16 Paint

Post by desertfish »

Here's the release of the bitmap PAINT program. It loads and saves files in the BMX file format. It supports 320x240 256 color bitmap 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.
paint.png
paint.png (54.44 KiB) Viewed 487 times
Try It Now!
Attachments
paint.zip
(109.62 KiB) Downloaded 12 times
Last edited by desertfish on Wed Apr 24, 2024 5:24 pm, edited 3 times in total.
User avatar
desertfish
Posts: 1038
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Re: Paint

Post by desertfish »

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.
User avatar
desertfish
Posts: 1038
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Re: Paint

Post by desertfish »

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
mortarm
Posts: 226
Joined: Tue May 16, 2023 6:21 pm

Paint Tweaks

Post by mortarm »

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.
User avatar
desertfish
Posts: 1038
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Re: Paint

Post by desertfish »

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.
Post Reply