FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Any Libraries Out There for Generating Graphics Files?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Any Libraries Out There for Generating Graphics Files? [message #169916 is a reply to message #169910] Thu, 30 September 2010 06:51 Go to previous messageGo to previous message
Nick is currently offline  Nick
Messages: 2
Registered: September 2010
Karma:
Junior Member
"Datesfat Chicks" <datesfat(dot)chicks(at)gmail(dot)com> writes:

> I'd like to produce graphs and figures, exported to a file like a .PNG
> or .GIF or .JPG.
>
> I'd like to produce these files directly from a C program.
>
> I remember from using PHP that PHP has some functionality built in
> where you create a graphic canvas then make calls to put lines and
> text on it, then you can emit it as a .PNG. I'm looking for something
> like that: a bunch of graphics primitives that draw on a canvas
> (where the canvas is a software construct), then you can export the
> canvas to a file when you're done manipulating it.
>
> Are there any libraries like this, callable from C, out there?

GD. Works from C, written in C, you can hack the source code. Has an
PHP interface. Generates png, jpg, you name it.

There's ever half a dozen lines of my code in there.
--
Online waterways route planner | http://canalplan.eu
Plan trips, see photos, check facilities | http://canalplan.org.uk
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: It is better to earn money
Next Topic: Displaying a longblob as an image
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 10:12:18 GMT 2024

Total time taken to generate the page: 0.03848 seconds