<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Mary - <div class="">I previously had a similar problem using the bioformats code to export OME-Tiff’s - the files were oversized and the write time was extremely long. I’m still not sure of all the reasons for this, but it might help you to look at an earlier thread (<span style="font-family: 'Helvetica Neue';" class="">[ome-devel] OME-Tiff writing using LOCI calls from MATLAB, and ModuloAlongT annotation). </span></div><div class=""><span style="font-family: 'Helvetica Neue';" class=""><br class=""></span></div><div class=""><span style="font-family: 'Helvetica Neue';" class="">In the message </span><font face="Helvetica Neue" class=""><a href="http://lists.openmicroscopy.org.uk/pipermail/ome-devel/2014-October/003036.html" class="">http://lists.openmicroscopy.org.uk/pipermail/ome-devel/2014-October/003036.html</a>, I attached my substitute MATLAB code which uses LOCI calls to construct the metadata, but which writes the actual Tiff file using the MATLAB Tiff() class. The code won’t be directly applicable, but you can see my approach and I bet it will address your problem. I achieved about a 50x improvement in writing speed, and a 3-fold improvement in file size. Sebastien later suggested that the filesize issue might be related to division of the images into strips, but I still never achieved similar speed with the bioformats calls.</font><div class=""><font face="Helvetica Neue" class=""><br class=""></font></div><div class=""><font face="Helvetica Neue" class="">Good luck,</font></div><div class=""><font face="Helvetica Neue" class="">Gary</font></div><div class=""><font face="Helvetica Neue" class=""><br class=""></font><div class=""><br class=""></div><div class=""> <br class=""><div><blockquote type="cite" class=""><div class="">On Jan 27, 2015, at 4:56 AM, Hadrien Mary <<a href="mailto:hadrien.mary@gmail.com" class="">hadrien.mary@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi,<br class=""><br class="">I have an OME TIFF file (generated by Micro-Manager). It's original<br class="">size is 29.6MB. Now if I use BF exporter to save it, the created file<br class="">is exactly the same (dimensions and OME XML string) but the size is<br class="">really huge (654.8MB).<br class=""><br class="">The file can be found here:<br class=""><a href="https://arwen.hadim.fr/public.php?service=files&t=80e1586f55c8795c0c1c86e96aac7281" class="">https://arwen.hadim.fr/public.php?service=files&t=80e1586f55c8795c0c1c86e96aac7281</a><br class=""><br class="">This issue happens with other files as well.<br class=""><br class="">Thanks<br class=""><br class="">--<br class="">Hadrien Mary<br class=""><br class="">Ph.D student in Biology<br class="">Tournier-Gachet Team<br class="">CNRS - LBCMCP - UMR 5088<br class=""><br class="">Université de Toulouse - Bât. 4R3B1<br class="">118, route de Narbonne - 31062 Toulouse<br class="">_______________________________________________<br class="">ome-devel mailing list<br class="">ome-devel@lists.openmicroscopy.org.uk<br class="">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel<br class=""></div></blockquote></div><br class=""></div></div></div></body></html>