tags 491227 + patch
quit

The attached patch is far from perfect (it ignores the the user's
choice of compression without giving any notice), but it changes
the problem from "doesn't generate images" to "takes more disk
space than necessary".

The patch affects a binary in the hugin-tools package.

Steve
--- old-hugin-0.7.0~svn3191/src/hugin_base/algorithms/panorama_makefile/PanoramaMakefileExport.cpp	2008-07-17 22:57:30.000000000 +0100
+++ new-hugin-0.7.0~svn3191/src/hugin_base/algorithms/panorama_makefile/PanoramaMakefileExport.cpp	2008-07-17 22:57:30.000000000 +0100
@@ -198,17 +198,23 @@
     o << endl;
 
     o << "ENBLEND_LDR_COMP=";
+    /* TODO: This needs Enblend 3.1, currently Debian has 3.0.  Just comment it out for now. */
+#if 0
     if (opts.outputImageType == "tif" && opts.outputImageTypeCompression.size() != 0) {
         o << "--compression " << opts.outputImageTypeCompression;
     } else if (opts.outputImageType == "jpg") {
         o << "--compression " << opts.quality;
     }
+#endif
     o << endl;
 
     o << "ENBLEND_HDR_COMP=";
+    /* TODO: This needs Enblend 3.1, currently Debian has 3.0.  Just comment it out for now. */
+#if 0
     if (opts.outputImageType == "tif" && opts.outputImageTypeHDRCompression.size() != 0) {
         o << "--compression " << opts.outputImageTypeHDRCompression;
     }
+#endif
     o << endl;
 
 

Reply via email to