Package gavo :: Package web :: Module oddrender
[frames] | no frames]

Module oddrender

source code

"Odd" renderers that should have been CustomRenderers all along.

I probably should move them out of here soon, before someone starts using them.

The jpeg renderer expects pairs of line number and base64-encoded 8-bit single-channel image data in its input.

This is, admittedly, a bit special. Maybe it should become a custom renderer on the infinite light curve?

Classes
  JpegRenderer
  MachineJpegRenderer
A machine version of the JpegRenderer -- no vizier expressions, hardcoded parameters, plain text errors.
Variables
  palettes = {'coldfire': '\x00\xac\xfc\x00\xac\xfc\x00\xac\xfc\...
  __package__ = 'gavo.web'
Variables Details

palettes

Value:
{'coldfire': '\x00\xac\xfc\x00\xac\xfc\x00\xac\xfc\x00\xa8\xfc\x00\xa4\
\xfc\x00\xa0\xfc\x00\x9c\xfc\x00\x98\xfc\x00\x98\xfc\x00\x94\xfc\x00\x\
90\xfc\x00\x8c\xfc\x00\x88\xfc\x00\x84\xfc\x00\x84\xfc\x00\x80\xfc\x00\
|\xfc\x00x\xfc\x00t\xfc\x00p\xfc\x00p\xfc\x00l\xfc\x00h\xfc\x00d\xfc\x\
00`\xfc\x00\\\xfc\x00\\\xfc\x00X\xfc\x00T\xfc\x00P\xfc\x00L\xfc\x00H\x\
fc\x00D\xfc\x00@\xfc\x00<\xfc\x008\xfc\x004\xfc\x000\xfc\x00,\xfc\x00(\
\xfc\x00$\xfc\x00 \xfc\x00\x1c\xfc\x00\x18\xfc\x00\x14\xfc\x00\x10\xfc\
\x00\x0c\xfc\x00\x08\xfc\x00\x04\xfc\x00\x04\xfc\x04\x04\xf8\x04\x04\x\
...