I'm having problems with tiff
Here is what I need to do, we have tiff images stored in the database, these CCITT4 images are compressed using several required tags, including:
RowsPerStrip must be ImageLength
Photometric Interpretation Must Be MinIsWhite
Multi-line image format not allowed
My problem is that I use the built-in System.Drawing.Bitmap / Image objects, which change the values โโof these values, when I put them in the object, I checked this by saving the byte [] to tiff directly from the database, checking the tags, they are beautiful. But when I put the bytes in the Image object and then save to a file, they change.
To make matters worse, I need to add text to the image before saving it.
So, I need a component that will allow me to control more with TIFF (and they should be tiff), and also be able to add text to the image or be able to use the Graphics object.
I tried using LibTiff, but I have not yet seen examples of using this component, any suggestions?
source
share