2022-05-08 18:48:24 +02:00
|
|
|
# qb64-include
|
|
|
|
|
A collection of functions and sub routines.
|
|
|
|
|
|
2022-05-09 12:40:42 +02:00
|
|
|
## [atob.bm](https://github.com/visionmercer/qb64-include/blob/main/atob.bm)
|
|
|
|
|
ASCII to Base64 encoding
|
|
|
|
|
|
2022-05-08 18:48:24 +02:00
|
|
|
## [Bool.bi](https://github.com/visionmercer/qb64-include/blob/main/bool.bi)
|
|
|
|
|
A header file containing the constants "False" and "True"
|
|
|
|
|
|
2022-05-09 12:40:42 +02:00
|
|
|
## [btoa.bm](https://github.com/visionmercer/qb64-include/blob/main/btoa.bm)
|
|
|
|
|
Base64 to ASCII decoding
|
|
|
|
|
|
2022-05-08 18:48:24 +02:00
|
|
|
## [ConsoleColor.bm](https://github.com/visionmercer/qb64-include/blob/main/consolecolor.bm)
|
|
|
|
|
Change color of terminal text with escape sequences.
|
|
|
|
|
If terminal emulator supports it, true color is possible.
|
|
|
|
|
|
|
|
|
|
## [Grayscale.bm](https://github.com/visionmercer/qb64-include/blob/main/grayscale.bm)
|
|
|
|
|
Convert an image to grayscale.
|
|
|
|
|
|
|
|
|
|
## [Lerp.bm](https://github.com/visionmercer/qb64-include/blob/main/lerp.bm)
|
|
|
|
|
Computes the linear interpolation between two values by an amount between 0 and 1.
|
|
|
|
|
|
|
|
|
|
## [LoadHexPalette.bm](https://github.com/visionmercer/qb64-include/blob/main/loadhexpalette.bm)
|
|
|
|
|
load an array of RGB colors stored as hexadecimal in a file.
|
|
|
|
|
|
|
|
|
|
## [Max.bm](https://github.com/visionmercer/qb64-include/blob/main/max.bm)
|
|
|
|
|
Returns the larger of two numbers
|
|
|
|
|
|
|
|
|
|
## [Min.bm](https://github.com/visionmercer/qb64-include/blob/main/min.bm)
|
|
|
|
|
Returns the smaller of two numbers
|
|
|
|
|
|
|
|
|
|
## [Negative.bm](https://github.com/visionmercer/qb64-include/blob/main/negative.bm)
|
|
|
|
|
Convert an image to the negative color.
|
|
|
|
|
|
|
|
|
|
## [NoFrame.bi](https://github.com/visionmercer/qb64-include/blob/main/noframe.bi)
|
|
|
|
|
Start Windows program with no frame
|
|
|
|
|
|
|
|
|
|
## [SaveAnsi.bm](https://github.com/visionmercer/qb64-include/blob/main/saveansi.bm)
|
|
|
|
|
Save "Screen 0" to an .ans file.
|
|
|
|
|
|
2022-05-21 00:22:14 +02:00
|
|
|
## [SaveBinaryPBM.bm](https://github.com/visionmercer/qb64-include/blob/main/savebinarypbm.bm)
|
|
|
|
|
Save a monochrome image to pbm file.
|
|
|
|
|
|
2022-05-10 22:46:09 +02:00
|
|
|
## [SaveHexPalette](https://github.com/visionmercer/qb64-include/blob/main/savehexpalette.bm)
|
2022-05-10 22:48:29 +02:00
|
|
|
Save an array of colors to file
|
2022-05-10 22:46:09 +02:00
|
|
|
|
2022-05-08 18:48:24 +02:00
|
|
|
## [Solarize.bm](https://github.com/visionmercer/qb64-include/blob/main/solarize.bm)
|
|
|
|
|
Solarize image
|
|
|
|
|
|
|
|
|
|
## [Truncate.bm](https://github.com/visionmercer/qb64-include/blob/main/truncate.bm)
|
|
|
|
|
Truncate given value to a value between 0 and 255
|