12-bit palette script for Aseprite

These files might not work on the most current version of the Commander X16, or these may be held over from the previous forum. To find previous versions of the emulator, so you can test old programs, please visit Our GitHub Page
Post Reply
izb
Posts: 31
Joined: Thu May 21, 2020 10:04 am

12-bit palette script for Aseprite

Post by izb »


Aseprite script that converts the current palette into a 12-bit (4096 colour) palette, i.e. 4-bits per channel.




To install in Aseprite, go to File -> Scripts -> Open scripts folder




Then drop the script into that folder and restart Aseprite. You might also want to assign a hotkey to the script via Edit -> Keyboard Shortcuts. 




It's also useful for things like creating gradients. Just create a gradient in the normal way, then run the script, and each colour in the palette will be nudged into the closest CX16 colour.



Corrected the palette conversion to use the colours from the emulator, which are slightly brighter.



12-bit Palette Quantize.lua

Attachments

[The extension lua has been deactivated and can no longer be displayed.]

12-bit palette script for Aseprite
12-bit palette script for Aseprite
quant-sshot.PNG (42.72 KiB) Viewed 684 times
Post Reply