Example #1
0
        public TiffDirectory()
        {
            td_subfiletype  = 0;
            td_compression  = 0;
            td_photometric  = 0;
            td_planarconfig = 0;

            td_fillorder            = FillOrder.MSB2LSB;
            td_bitspersample        = 1;
            td_threshholding        = Threshold.BILEVEL;
            td_orientation          = Orientation.TOPLEFT;
            td_samplesperpixel      = 1;
            td_rowsperstrip         = -1;
            td_tiledepth            = 1;
            td_stripbytecountsorted = true; // Our own arrays always sorted.
            td_resolutionunit       = ResUnit.INCH;
            td_sampleformat         = SampleFormat.UINT;
            td_imagedepth           = 1;
            td_ycbcrsubsampling[0]  = 2;
            td_ycbcrsubsampling[1]  = 2;
            td_ycbcrpositioning     = YCbCrPosition.CENTERED;
        }
Example #2
0
        public TiffDirectory()
        {
            td_subfiletype = 0;
            td_compression = 0;
            td_photometric = 0;
            td_planarconfig = 0;

            td_fillorder = BitOrder.BigEndian;
            td_bitspersample = 1;
            td_threshholding = Threshold.BILevel;
            td_orientation = Orientation.TopLeft;
            td_samplesperpixel = 1;
            td_rowsperstrip = -1;
            td_tiledepth = 1;
            td_stripbytecountsorted = true; // Our own arrays always sorted.
            td_resolutionunit = ResolutionUnit.Inch;
            td_sampleformat = SampleFormat.UInt;
            td_imagedepth = 1;
            td_ycbcrsubsampling[0] = 2;
            td_ycbcrsubsampling[1] = 2;
            td_ycbcrpositioning = YCbCrPosition.Centered;
        }
Example #3
0
        public TiffDirectory()
        {
            td_subfiletype = 0;
            td_compression = 0;
            td_photometric = 0;
            td_planarconfig = 0;

            td_fillorder = FillOrder.MSB2LSB;
            td_bitspersample = 1;
            td_threshholding = Threshold.BILEVEL;
            td_orientation = Orientation.TOPLEFT;
            td_samplesperpixel = 1;
            td_rowsperstrip = -1;
            td_tiledepth = 1;
            td_stripbytecountsorted = true; // Our own arrays always sorted.
            td_resolutionunit = ResUnit.INCH;
            td_sampleformat = SampleFormat.UINT;
            td_imagedepth = 1;
            td_ycbcrsubsampling[0] = 2;
            td_ycbcrsubsampling[1] = 2;
            td_ycbcrpositioning = YCbCrPosition.CENTERED;
        }