Re: Problems with JPEG output

"Dominic Lachowicz" <[email protected]>
Newsgroups gmane.comp.gnome.lib.librsvg.devel
Message-ID <[email protected]>
Hi Christian,

> I suspect it is a problem with some library, since it works fine on
> other Linux boxes. The plattform where the problem occurs is Redhat
> Enterprise Server 3, which is notorius for having old libs. However, the
> "main suspects", libjpeg and libgdk_pixbuff seem to be up to date (6b /
> 0.22). We are using the Perl Image::LibRSVG binding to create the
> images. Anyone has already encountered a crippled jpeg like this? Is
> there a workaround?

I have seen this. The fix, if I remember correctly, is to upgrade GTK+
to a 2.6 version. It contains a newer version of gdk-pixbuf. The
standalone "gdk-pixbuf" package is terribly old and unmaintained.

> I'm also generally confused regarding which version of gdk-pixbuf to
> use. The doc for Image::LibRSVG::getImageBitmap() says "This only return
> a useful value if you have compiled it with a gdk-pixbuf greater than or
> equal to *2.4*", but the newest version I find on ftp.gnome.org is the
> mentioned 0.22.

It is contained within the GTK+ package and has the same version as
the corresponding GTK+ package. You should be able to safely upgrade
from to GTK+ 2.6.x on RHEL3. I've done the same on my FC3 system.

> Here is some ldd output so you can see what we link against:

Sorry, that wasn't very useful.

Best,
Dom
--
Counting bodies like sheep to the rhythm of the war drums

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.