![]() |
| | #1 |
| Registered User Join Date: Feb 2009 Location: India, Gujarat
Posts: 21
| how to create chart I want to create .gif file of char from some stat, so i don't know how to make .gif file from C program and how to plot the graph. any one give me simple example of creating chart from C program. |
| vipul_vgp is offline | |
| | #2 |
| and the hat of vanishing Join Date: Aug 2001 Location: The edge of the known universe
Posts: 21,214
| Why GIF (archaic format)? Why not PNG (more tools, more libraries - libpng Home Page) You create a 'screen' consisting of a 2D array of pixels (aka bytes). You 'draw' into the 'screen' whatever you want. You then encode the result using say PNG to create a PNG file you can display in a browser, viewer etc.
__________________ If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut. Up to 8Mb PlusNet broadband from only £5.99 a month! |
| Salem is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cannot create shared memory | Phoenix_Rebirth | C Programming | 3 | 11-07-2008 11:32 AM |
| Create new combo boxes based on items selected in preview combo box | RealityFusion | Windows Programming | 2 | 01-10-2007 09:50 AM |
| Can't create child windows | OnionKnight | Windows Programming | 2 | 11-30-2006 08:11 PM |
| Create a file from c++ program | Dan17 | C++ Programming | 2 | 05-08-2006 04:25 PM |
| How to Create reference to an array in C++ | shiv_tech_quest | C++ Programming | 2 | 12-20-2002 10:01 AM |