Hi C++ developers,
I have an urgent school homework to write a function to convert a TIFF image file to a PDF file. The TIFF contains either normal image data, Zip, or JPEG compression.
The function prototype likes:
bool Convert(char* tiff_file, char* pdf_file);
Hint: Should use the well-known libtiff library (you can compile from the source or use the static lib).
Experience C++ guy can do this within 1 hour.