Page 1 of 1

Linux image decoder/encoder without X dependencies

Posted: Thu Oct 27, 2011 12:10 pm
by infratec
Hi,

I was running in a big trouble when writing a tool which includes snmp values in a png picture.
Target was a simple console only debian server with apache.

First Tool replaces text variables in SVG files. So: no problem
But the filesize of the SVG was to high (392k and that every 10 seconds)

So I switched to PNG.
(only 28k in windows and 40k in Linux due to a bug in Linux)

But, bad surprise, my console programm than needs a X display.
It has no text or other outputs at all, it only loads and saves imagefiles.

The only solution was to install Xvfb.

So please:

Remove this dependencies from the Encoder/Decoder stuff.

P.S.: Here you can see the result http://mcz.ednt.eu/produktlinien/live-system/
The temperatures and the state of the oven are read out with snmp and than drawed in the picture.

Re: Linux image decoder/encoder without X dependencies

Posted: Wed May 21, 2014 6:52 am
by Didelphodon
+1, same is true for the 2d drawing commands