Page 1 of 1

Assertion in jpc_dec_tiledecode

Posted: 2009-12-01T11:15:59-07:00
by j2043
Hey folks,

I get:

Code: Select all

identify: jpc_dec.c:1072: jpc_dec_tiledecode: Assertion `dec->numcomps == 3' failed.
When I try and process the following image:

http://a.images.blip.tv/Framingtheworld ... Cou106.jpg

I'm processing the image with rmagick. The assertion causes ruby to exit violently.

Debian etch running image magick 6.5.8-2 with jasper 1.900.1

Code: Select all

joel@linux:~$ identify
Version: ImageMagick 6.5.8-2 2009-11-30 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC

Code: Select all

joel@linux:~$ uname -a
Linux linux 2.6.18-5-amd64 #1 SMP Wed Oct 3 09:37:45 PDT 2007 x86_64 GNU/Linux
-Joel

Re: Assertion in jpc_dec_tiledecode

Posted: 2009-12-01T13:19:33-07:00
by magick
Curious. We have the same set up under Fedora your image displays without complaint. We're using Jasper 1.900.1-14 and ImageMagick 6.5.8-2.

Re: Assertion in jpc_dec_tiledecode

Posted: 2009-12-01T15:56:23-07:00
by j2043
Ok, from the Fedora RPM information I see this:

* Sun Jan 25 2009 Rex Dieter <rdieter@fedoraproject.org> 1.900.1-9
- patch for "jpc_dec_tiledecode: Assertion `dec->numcomps == 3' failed)
(#481284, #481291)


So it looks like Red Hat applies some patches to Jasper.

What is your recommendation for compiling jasper from source? Should I track down patches and apply them my self?

Do you happen to know if http://www.ece.uvic.ca/~mdadams/jasper/ is the right place to get it?

-Joel

Re: Assertion in jpc_dec_tiledecode

Posted: 2009-12-01T17:01:35-07:00
by magick
Do you happen to know if http://www.ece.uvic.ca/~mdadams/jasper/ is the right place to get it?
That is where we pick it up.