Hi,<div><br /></div><div> I want to extract .tif images 16bit gray scale from a .lif and compress them using some compressor implemented by you. I have seen that there are the following compressors:</div><div><br /></div><div><div><span style="white-space: pre;"> </span>              <span style="white-space: pre;"> </span>JPEG<span style="white-space: pre;"> </span>!>8 bit not possible!</div><div><span style="white-space: pre;"> </span>JPEG-2000<span style="white-space: pre;"> </span>!It takes a lot of time. Does it actually work??? Because result image is black!!!</div><div><span style="white-space: pre;"> </span>JPEG-2000 Lossy<span style="white-space: pre;"> </span>!It takes a lot of time. Does it actually work??? Because result image is black!!! Image is 1/10 of JPEG-2000</div><div><span style="white-space: pre;"> </span>LZW<span style="white-space: pre;"> </span>!I cannot use it since file size will be bigger (we work with 16 bit images)</div><div><span style="white-space: pre;"> </span>Uncompressed<span style="white-space: pre;"> </span>!I want to compress them!</div><div><span style="white-space: pre;"> </span>zlib<span style="white-space: pre;"> </span>!It doesn't compress!</div></div><div><br /></div><div>As you can see, I can only use JPEG-2000, JPEG-2000 Loosy and zlib. The last one, doesn't do anything. The first two takes ages to compress the photo, but really ages (1 frame maybe can take a couple of minutes). Do you have some code where you show how to compress it? Can I play with the ratio of compression for the JPEG-2000 and JPEG-2000 loosy?</div><div><br /></div><div>You can see a snapshot of my writer method here: https://pastebin.com/xZK1as65</div><div><br /></div><div>Thanks for your help and time!</div><br /><br />