C/C++: Scanning a TIFF file using LIBTIFF
===

My problem is to scan a tiff image in C and get all the pixel value (let's say for saving them in a txt file) in C/C++.

I scanned the web and i found a library named "TIFFLIB" that should do what i was looking for.
I downloaded it using the ubuntu package manager, but the gcc doesn't recognize the library.

- How do i link the library to the compiler?
- Have I installed it correctly?
- Is there any better/easier way to do that?