(06-17-2023, 06:11 PM)Jersey Wrote:(06-17-2023, 06:02 PM)Ayydan Wrote: I'm excited to see the output results! My input is actually pretty easy to work with, I just feed in a 1D array of uint8's that represent the image. The optimal modification for asciiplay would be if you could support yuv colour, so that way I could send grayscale, or append the chrominance signals to choose between colour and no colour
If you're just inputting a 1D array of uint8_t, that's basically when I'm doing as well.
I copy the entire image data over and can just index into the array to get the info I need. Since the image is scaled, I'll probably grab the luminance value of the scaled "pixel" around it and average that value.
As for your 1D array, it's just the greyscale values yeah?
Exactly, just grayscale values, which is why tuv would be so handy, because in theory I could just input 3 1d arrays with the same parameters each storing one of the components
Yours truly,
Ayydan
Ayydan