Although this bug is fixed in the current Hugin release, this doesn't really help because Hugin itself usually only creates TIFF and EXR files, the final JPEG output is typically created by enblend.
enblend had the same vigra bug and has also been fixed upstream, but there has been no stable release with the fix yet. Since archlinux is not likely to drop libjpeg-turbo, the solution is to get them to patch their current enblend package. The fedora package for enblend-4.0 has this one-line fix which disables arithmetic coding, I recommend any distro that has adopted libjpeg-turbo to do the same: sed -i 's/info.arith_code = TRUE/info.arith_code = FALSE/' src/vigra_impex/jpeg.cxx -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/894287 Title: hugin produces non portable jpg files Status in Hugin - Panorama Tools GUI: New Bug description: Description: using jpeg as output file format in hugin (instead of tiff or png) (quality set to 90% or 95%) produces jpg files which: * can be opened using gwenview 4.7.3-1, dolphin (thumbnails), Antony; i suspect that using Qt as toolkit handles jpg files in all these programs. * can not be imported to inkscape 0.48.2-4 (produces black squares) and can not be opened using firefox 8.0.1-1 (canvas remaines white) * can not be opend using IrfanView 4.30 (Error message: Decode error! Sorry, arithmetic coding is not implemented) or using MS image preview both under MS Windows 7 The last one is not good, because i shared some panoramas with friends using Windows who were not able open them. Testing the Windows build of hugin produced jpg files which were fine on all systems. Searching this bug using Google i found: http://old.nabble.com/Error-interpreting-JPEG-file-td31789059.html Summary (as far as i understood it): This discussion describes basicly the same problem. Since a patent on arithmetic coding expired libjpeg-turbo which is used by hugin uses this method. They were able to produce jpg files which could be opened using eye-of-gnome (which was not able to open arithmentic encoded jpg files), by disabeling arithmetic encoding. According to your changelog you disabled arithmetic jpeg output: Bruno Postle <br...@postle.net> [Sun, 19 Jun 2011 22:14:52 +0100] rev 5327 http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/rev/94055f97478d Afterall it seems that for me this does not work in a correct way. kind regards RausH Additional info: * Archlinux (package numbers given above are with respect to the Archlinux package management system) * package version(s): hugin 2011.2.0-1 Steps to reproduce: take some images and stitch them together using hugin. set the output file format to jpeg. try to open this file in various programs such as inkscape or firefox. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/894287/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp