r/ComputerCraft • • Jun 18 '21

A custom image incoder/decoder that works with any size monitor

Post image
64 Upvotes

8 comments sorted by

3

u/CiroGarcia Jun 18 '21

How do you detect whether you are using 1 or more monitors?

2

u/Jess_tastic_ Jun 19 '21

I use multiple computer with were pre configured

2

u/LinearNoodle Jun 18 '21

Isn't that just juroku?

3

u/Jess_tastic_ Jun 19 '21

I wasn't aware there where img renderer so I wrote my own, so no

2

u/LinearNoodle Jun 19 '21

Oh interesting, mind sharing it?

2

u/Jess_tastic_ Jun 19 '21

Sure I'll try to set up an github page for it

2

u/Jess_tastic_ Jun 20 '21

2

u/LinearNoodle Jun 20 '21

wait. I just realized you don't even change palette colors or use drawing characters so yea you do it completely differently from juroku. Juroku converts the image to a 16 color image using the colors that best suit the image, then uses term.setPaletteColor to change palette to that. However, palette colors change the entire screen so it's rather limiting when you want to display images with an interface around it.

Either way, great job on this, it looks fantastic and good job on the program. I suggest using drawing characters by for example using the blittle API to get a much higher quality image. If you want, you could also add an option to change the palette for more accurate colors, although then you probably just turn into juroku. Nice work, could see this being preferable over juroku in a lot of situations !