hi All,
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.
Printable View
hi All,
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.
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.