Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • Announcements

    • Lizzy Trickster

      Latest Stable OpenComputers Version   11/26/16

      The latest released version of OpenComputers is version 1.7.1 for MC 1.7.10, 1.10.2, 1.11.2 & 1.12.1. See more information here! Beta/Dev builds can be found at the Jenkins Build Server (ci.cil.li)
asie

ChenThread Image Format - High quality images on OpenComputers

Recommended Posts

I've spent a fair amount of time trying to get the maximum image quality out of OpenComputers. It all began with BTM15's quick need for a presentation tool, giving us 160x100 at 256 colors - not a huge accomplishment, but a start. BTM16 later brought us 320x100 with adaptive palettes - better, but still not quite there.

 

Recently, I have started working on it again, and thanks to a mini-competition between me and GreaseMonkey I managed to arrive at something rather high quality - the ChenThread Image Format, complete with its own CTIFConverter. It is 320x200, thanks to the new font's block-based nature of the Braille area of Unicode. (It also supports a 160x100 @ 16 color mode for OpenComputers' Tier 2 mode.)

 

The converter, source code and reference viewer is available here. Keep in mind that, as this is a reference viewer, it will not be as fast as it could be - it does no GPU call optimizations whatsoever beyond the simplest ones. I will try to release a better version later.

 

Here's an example of the quality you can get out of this:

 

bkSF.png

 

hLds.png

 

M31p.png

 

Ox0C.png

Share this post


Link to post
Share on other sites

I'm amazed by the picture quality as seen in these screenshots. Next step is to convert PNG files to that format. I have an API that allows obtaining color information from PNG image files.

Share this post


Link to post
Share on other sites

Was wondering if this was still being worked on? It's been a while since I last poked my head in, but would be great to have some apis to work with it beyond just the simple viewer to view images.

Share this post


Link to post
Share on other sites
On 4/25/2017 at 4:08 AM, RandomRedMage said:

Was wondering if this was still being worked on? It's been a while since I last poked my head in, but would be great to have some apis to work with it beyond just the simple viewer to view images.

I'm not focusing on APIs myself - the viewers are provided as part of the source code distribution and I'd love if someone turned them into a proper API!

Anyhow, CTIF 0.2.0 is out! It improves the image rendering quality a bit (especially on "tier 2" - sadly, at the cost of performance) and makes usage of OpenComputers's higher resolutions (160*50 is only an area, not the actual maximum size).

Share this post


Link to post
Share on other sites

Ahh, nifty, I'm good with pricing things together and can generally understand what I read when looking at code, but Im still pretty bad at coding myself. So I think making an api would be way outta my own league here lol.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×