Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I found the GDI(+) the limiting factor in dealing with TIFF. I had many "invalid parameter" issues on XP (in my case because of using 16bpp grayscale and tiled tiff). The same code worked flawlessly on Windows7/64bit.</p> <p>For me, the free <a href="http://www.bitmiracle.com/libtiff/" rel="nofollow noreferrer">LibTIFF.NET</a> was the solution. (<a href="https://stackoverflow.com/questions/2041783/using-libtiff-from-c-to-access-tiled-tiff-images">StackOverflow using LibTIFF from c#</a>) Only con compared to GDI+: you'll have to roll your own BMP (uncompressed byte array to bmp conversion). I can provide you with examples if you like.</p> <p>To diagnose your TIFF file type, you could use TiffDump <a href="http://gnuwin32.sourceforge.net/packages/tiff.htm" rel="nofollow noreferrer">download link</a> Using like tiffdump myfile.tif will produce an output like:</p> <pre><code>Magic: 0x4949 &lt;little-endian&gt; Version: 0x2a Directory 0: offset 1669857288 (0x63880008) next 0 (0) ImageWidth (256) SHORT (3) 1&lt;33227&gt; ImageLength (257) SHORT (3) 1&lt;24986&gt; BitsPerSample (258) SHORT (3) 1&lt;16&gt; Compression (259) SHORT (3) 1&lt;1&gt; Photometric (262) SHORT (3) 1&lt;1&gt; FillOrder (266) SHORT (3) 1&lt;1&gt; SamplesPerPixel (277) SHORT (3) 1&lt;1&gt; XResolution (282) RATIONAL (5) 1&lt;6400&gt; YResolution (283) RATIONAL (5) 1&lt;6400&gt; PlanarConfig (284) SHORT (3) 1&lt;1&gt; ResolutionUnit (296) SHORT (3) 1&lt;2&gt; TileWidth (322) SHORT (3) 1&lt;256&gt; TileLength (323) SHORT (3) 1&lt;256&gt; </code></pre> <p>Most likely such info can get you more specifc answers on StackOverflow.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload