Post Ay83h38OCEIeZCxqJE by [email protected] | |
More posts by [email protected] | |
Post #Ay4V4UQ6poWhyzoYfA by [email protected] | |
0 likes, 0 repeats | |
What's the best way to transform a 256 colour image to a 64 colour one wher… | |
Post #Ay4V4UWqQlukJsxwA4 by [email protected] | |
0 likes, 1 repeats | |
@mjg59 The color reduction in pngquant might help. It has a flag to disable dit… | |
Post #Ay4VuVGivOG1fnE6HA by [email protected] | |
0 likes, 1 repeats | |
@mjg59If the colors are fixed and you are not dithering it should be relatively… | |
Post #Ay4YhgJopVTG2eFgGm by [email protected] | |
0 likes, 1 repeats | |
@mjg59 I had $agent write up that algorithm and tried it out and it seems to wo… | |
Post #Ay4dQTHgXOxWSprniC by [email protected] | |
0 likes, 0 repeats | |
@adamhotep reducing to a number of arbitrary colours is a pretty well solved pr… | |
Post #Ay4dQTO49g3ymcqteq by [email protected] | |
0 likes, 0 repeats | |
@mjg59 yes, that's why I'm proposing you reduce down to 32 colors, then… | |
Post #Ay4dQTTjoabH4DVQUy by [email protected] | |
0 likes, 0 repeats | |
@adamhotep well, I'm going to need to do this 1200 times a second so I agre… | |
Post #Ay4dQTaTPXzJP6enzs by [email protected] | |
0 likes, 1 repeats | |
@mjg59 You could populate the other 32 colors randomly (half vs double). No mat… | |
Post #Ay4l8W3IJ7QHTA5Jho by [email protected] | |
0 likes, 0 repeats | |
@mjg59 I suggest ImageMagick. Look for "remap" in the following page … | |
Post #Ay4l8WA1u4oJo3EhCi by [email protected] | |
0 likes, 0 repeats | |
@tanavit that doesn't seem to allow the expression of the palette split con… | |
Post #Ay4l8WG3XfdC6k3Vb6 by [email protected] | |
0 likes, 0 repeats | |
@mjg59 I would try the following procedure : - quantize original image to 32 c… | |
Post #Ay4l8WLjCaAUOKi2RE by [email protected] | |
0 likes, 0 repeats | |
@tanavit hmm that's an interesting one | |
Post #Ay4l8WSomDq6kK1hUO by [email protected] | |
0 likes, 1 repeats | |
@mjg59 @tanavit You're doing that for each line, right?There are probably m… | |
Post #Ay4nAHxDtU0AEVDZsO by [email protected] | |
0 likes, 1 repeats | |
@mjg59 Graphic Converter can reduce color depth to a palette of your choice. I … | |
Post #Ay83h38OCEIeZCxqJE by [email protected] | |
0 likes, 0 repeats | |
@mjg59 how fast do you need the algorithm to be? I have some existing code that… | |
Post #Ay83h3FpkYFqwIRmue by [email protected] | |
0 likes, 0 repeats | |
@gsuberland 600 times a second (only 320 pixels per iteration, though) | |
Post #Ay83h3MDMpMJG5QsrI by [email protected] | |
0 likes, 0 repeats | |
@mjg59 @gsuberland oh, see, when I sent you my python scripts for color convers… | |
Post #Ay83h7Uryaeu65Vqu8 by [email protected] | |
0 likes, 0 repeats | |
@0xabad1dea @mjg59 @gsuberland and this is why we find lots of FPGAs in old vid… | |
Post #Ay83hXg6dR5zISyC1o by [email protected] | |
0 likes, 0 repeats | |
@mjg59 absolutely no warranty implied, but this is a script I hacked together w… | |
Post #AyQHs2JEV51ZOfRpkO by [email protected] | |
0 likes, 0 repeats | |
@tanavit @http a palette applies to whatever you choose to apply it to | |
Post #AyQHs60wj0m0t6vHnc by [email protected] | |
0 likes, 0 repeats | |
@mjg59 oof, ok, that makes things a lot harder. | |
Post #AyQHsXy4nH7BaJnODI by [email protected] | |
0 likes, 0 repeats | |
@http @tanavit I can change the entire palette per line so I think caring about… | |
Post #AyQHsbhCvvzx99vyTY by [email protected] | |
0 likes, 0 repeats | |
@rgov ooh! | |
Post #AyQHsqy49XOcVmw9Kq by [email protected] | |
0 likes, 0 repeats | |
@mjg59 Is this format a pre defined pallet or a pallet you get to define in rgb? | |
Post #AyQHsr5VhrLossQ5wG by [email protected] | |
0 likes, 0 repeats | |
@doctormo I get to define within those constraints | |
Post #AyQHsrCxGBJ1Fxu2Xg by [email protected] | |
0 likes, 0 repeats | |
@mjg59 So you can have 32 colors in uint8[3] RGB, and a further 32 colors which… | |
Post #AyQHsrIytm7tYeiqw4 by [email protected] | |
0 likes, 0 repeats | |
@doctormo yup | |
Post #AyQHsrQ4TPnVue2VzE by [email protected] | |
0 likes, 0 repeats | |
@mjg59 Likely the format is designed so the second set of colors can be used fo… | |
Post #AyQHsrW670cODKrKNc by [email protected] | |
0 likes, 0 repeats | |
@doctormo ehb, or extra-halfbrite - it's an artifact of the hardware design… | |
Post #AyQHtJEL4d3AAMlXaS by [email protected] | |
0 likes, 0 repeats | |
@mjg59 Best match I could find was this project:https://github.com/asahala/Bitc… |