2006.01.02 09:05 "[Tiff] how can i write a C code for saving as TIFF?", by sahar m

2006.01.03 14:59 "RE: [Tiff] how to write C code for saving as TIFF?", by

I want to save a fax scanned page(monochrome) as TIFF file.

Is there any VC++ function that can do this? i.e. gets the scanned page(0&1 bits data) and saves it as tiff file somewhere in memory

-if there is, how can i use it?

-if not can i write the code for that myself? how?

I'm sorry I can't tell you directly whether this is possible or not, or the name of the function(s) for it, but I would suggest you check this page http://www-128.ibm.com/developerworks/linux/library/l-libtiff/ for some info that looks related to your query. Otherwise, you might want to briefly look over the headers to see if some of the function names imply a possibility of accomplishing your goal.

If you're going to write the code yourself, it's not that difficult, really, for something very particular. Start with the TIFF 6.0 spec ( http://www.remotesensing.org/libtiff/document.html ), and work your way out from there.