[Lazarus] Get JPEG from TAChart in CGI app

Leonardo M. Ramé l.rame at griensu.com
Tue Mar 22 12:57:51 CET 2011


On 2011-03-21 15:07:46 -0300, Leonardo M. Ramé wrote:
> On 2011-03-21 23:49:36 +1000, Alexander Klenin wrote:
> > On Mon, Mar 21, 2011 at 23:19, Leonardo M. Ramé <l.rame at griensu.com> wrote:
> > > On 2011-03-21 09:43:23 -0300, Marcos Douglas wrote:
> > >> So, create a GUI app (always on) with HTTP support. The CGI request
> > >> charts to this app.
> > >>
> > >> Marcos Douglas
> > >
> > > Hi Marcos. In my case I cannot do that, because the app will run on a
> > > headless, no X, server.
> > 
> > I have implemented initial FPCanvas backend.
> > Since r29962, nogui demo uses nogui widgetset -- thus, it should not
> > need GTK anymore.
> > Please test.
> > 
> 
> It seems to work, at least from command line, no fonts of course, but
> graphics and colors works ok. 
> 
> I'll test the CGI app from home when I'll go back from work.
> 

I tested it in a CGI sample last night, but no luck. I keep getting the
"Canvas does not allow drawing error.".

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com




More information about the Lazarus mailing list