01-02-2023, 09:37 PM
(01-02-2023, 09:09 PM)RhoSigma Wrote: Library Collection -> IMG-Support -> imageprocess.bm -> functions MakeGrayscale, ExtractChannels, ExtractBitfields, ShiftRGB can do same and/or similar things, but still keep it 32-bit colors.
Also your grayscale seems not to take the human color perception into account (red * 0.299, green * 0.587, blue * 0.114).
I just used the built-in QB64 256-color grayscale and _RGB mapping to translate the colors over quickly and easily.