Using C png library

C

cs2rwc

Hi,

I am writing a C program to output 8 bit data to a png file. I have tried
including the png.h file in the program but can't find any help about
writing out the data.

Any advice would be much appreciated.

cheers, Ralph
 
F

Flash Gordon

Hi,

I am writing a C program to output 8 bit data to a png file. I have
tried including the png.h file in the program but can't find any help
about writing out the data.

Any advice would be much appreciated.

I advise you to find a group or mailing list dedicated the the PNG
library you are using (there are several). The only routines we deal
with here for writing to a file are those provided by the standard C
library such as fopen & fwrite. I would expect a decent PNG library to
provide it's own functions which write the entire image.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,156
Messages
2,570,878
Members
47,405
Latest member
DavidCex

Latest Threads

Top