← Back to team overview

hugin-devs team mailing list archive

Re: [Hugin-bug-hunters] [Bug 798952] Re: vigra_impex bug creates 'arithmetic coded' JPEG output

 

Hello Jay,

On Tue, 22 Oct 2013 04:23:25 +1100, jay armstrong  
<798952@xxxxxxxxxxxxxxxxxx> wrote:

> what version of enblend was this released in?
>
> I'm trying to track down a bug but can't tell if it's this one. Thanks!
>
I think the problem first arose in 2011 when the patent on the arithmetic  
coding algorithm expired and libjpeg-turbo was adopted by Fedora (and  
maybe others),  and Enblend 4.0 was the current release (since Dec 2009).
Enblend 4.1 was released in Dec 2012.

An error message relating to the problem was like this...
"loading failed: Error interpreting JPEG image file (Sorry, there are  
legal restrictions on arithmetic coding)."

Hope that helps.

Cheers,
-- 
Regards,
Terry Duell

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Enblend.
https://bugs.launchpad.net/bugs/798952

Title:
  vigra_impex bug creates 'arithmetic coded' JPEG output

Status in Enblend:
  Fix Released

Bug description:
  vigra_impex has a bug which effectively means all JPEG output is
  'arithmetic coded' (rather than huffman coded) if the version of
  libjpeg supports it.

  This is a problem as arithmetic coding isn't very portable, e.g. the
  enblend 4.0 in fedora f15 is creating these JPEGs whenever JPEG is
  selected for output.

  The upstream vigra fix is these two changesets:
  http://www.informatik.uni-hamburg.de/~meine/hg/vigra/rev/e54137017af7
  http://www.informatik.uni-hamburg.de/~meine/hg/vigra/rev/f5e29e0bdfe0

  It probably isn't worth backporting all this to enblend, a simple fix
  is to just comment out src/vigra_impex/jpeg.cxx line 421.

To manage notifications about this bug go to:
https://bugs.launchpad.net/enblend/+bug/798952/+subscriptions


References