nanogui: Image size limit?


Previous by date: 12 Jul 2006 16:39:24 +0100 Image size limit?, Martin Kajdas
Next by date: 12 Jul 2006 16:39:24 +0100 Re: Image size limit?, Martin Kajdas
Previous in thread: 12 Jul 2006 16:39:24 +0100 Image size limit?, Martin Kajdas
Next in thread: 12 Jul 2006 16:39:24 +0100 Re: Image size limit?, Martin Kajdas

Subject: Re: Image size limit?
From: "Greg Haerr" ####@####.####
Date: 12 Jul 2006 16:39:24 +0100
Message-Id: <0a6801c6a5c9$4f23e5c0$2f01a8c0@HaydenLake>

> The application works fine on X11 but when running on nano-X,
the smaller images show fine but when I get to pages that display
larger png images, the application crashes when it tries to display the 
image (from the log).
The images in question are 704x700 pixels and 792x490 in size (png, RGB, 32 
bpp)
The images about half this size display fine.
I do not know the exact size that is borderline.

Sounds like we've got a line length bytesize calculation
problem.  All this code is likely in nxlib/Image.c.  X11
and NX have differerent alignment requirements for
images, although this might not be the issue.  Normally,
NX handles images within the server, using the
specialized GrDrawImage calls for decoding.  X11
has applications handle decoding to any format, and
then the Image.c Xlib code translates this from many
formats to any number of formats, usually the one the
running X11 server prefers.  It's likely that there's
still some problems there.

There's considerable debug printf()s still in there,
perhaps try to find the codepath, and I'll help you.

Regards,

Greg 


Previous by date: 12 Jul 2006 16:39:24 +0100 Image size limit?, Martin Kajdas
Next by date: 12 Jul 2006 16:39:24 +0100 Re: Image size limit?, Martin Kajdas
Previous in thread: 12 Jul 2006 16:39:24 +0100 Image size limit?, Martin Kajdas
Next in thread: 12 Jul 2006 16:39:24 +0100 Re: Image size limit?, Martin Kajdas


Powered by ezmlm-browse 0.20.