I'm writing tif Files in C#.
CODE:
System.Drawing.Bitmap bitmap = new System.Drawing.Bitmap(800, 1000); //Creates Bitmap
using(Graphics g = Graphics.FromImage(bitmap))
{
RectangleF rect = new RectangleF(new PointF(0, 700), new SizeF(200,200));
StringFormat drawFormat = new StringFormat();
drawFormat.Alignment = StringAlignment.Near;
g.DrawString("Comment: " + CommentBox.Text, outputFont, Brushes.Black, rect, drawFormat); }
However a 3rd party application is having difficult viewing these tif files. I can navigate directly to the repository where these files are saved and open them for viewing.
My C# tif files that aren't viewable by the 3rd party software have a Bit depth = 32 and Compression of '' (guessing this is the default)
tif files that are viewable by the 3rd party software (and not created by my C# code) have a Bit depth = 1 and Compression = 'CCITT T.6'
Can anyone explain to me what the difference is, and possibly why my file is not viewable by the 3rd party software?