tall png images don't open
-
- Guest
tall png images don't open
I have a problem with some PNG images. The images are generated using GD and most of the images load OK, but some don't. As near as I can tell, it is tall (or maybe just big?) images that won't load. If I just load the PNG by itself, I see a message saying that the image cannot be displayed because it contains errors. I can successfully display these images with either xv or gimp and neither complains of any irregularities.
Are there any known problems with large PNG display in Firefox?
Are there any tools that will detect and explain the errors that Firefox is reporting in the PNG file?
I've googled but haven't come up with any answers. I've put one of the files at <http://www.mrc-lmb.cam.ac.uk/dhoworth/f208c50af8a68669c364c22849f1d1de.png> if anybody wants to look at it. It's 190 kB and 820x36564 pixels.
Thanks, Dave
Are there any known problems with large PNG display in Firefox?
Are there any tools that will detect and explain the errors that Firefox is reporting in the PNG file?
I've googled but haven't come up with any answers. I've put one of the files at <http://www.mrc-lmb.cam.ac.uk/dhoworth/f208c50af8a68669c364c22849f1d1de.png> if anybody wants to look at it. It's 190 kB and 820x36564 pixels.
Thanks, Dave
-
- Guest
Re: tall png images don't open
Oops! Forgot to tell you which Firefox I'm using:
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.0.9) Gecko/20060911 SUSE/1.5.0.9-0.1 Firefox/1.5.0.9
Thanks, Dave
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.0.9) Gecko/20060911 SUSE/1.5.0.9-0.1 Firefox/1.5.0.9
Thanks, Dave
- jscher2000
- Posts: 11774
- Joined: December 19th, 2004, 12:26 am
- Location: Silicon Valley, CA USA
- Contact:
-
- Guest
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
- the-edmeister
- Posts: 32249
- Joined: February 25th, 2003, 12:51 am
- Location: Chicago, IL, USA
-
- Guest
I asked about this issue on the opensuse list and various people there confirm that it seems to display OK on recent versions of Windows but nobody can see it on Linux even with recent versions of Firefox. The thread starts here:
<http://lists.opensuse.org/opensuse/2007-02/msg01752.html>
So it looks increasingly likely to be a Firefox/Mozilla bug on GNU/Linux, IMHO.
<http://lists.opensuse.org/opensuse/2007-02/msg01752.html>
So it looks increasingly likely to be a Firefox/Mozilla bug on GNU/Linux, IMHO.
-
- Guest
So it looks increasingly likely to be a Firefox/Mozilla bug on GNU/Linux, IMHO.
There's already a Novell bug report for this with a Novell person looking into it: <https> so I'll stop looking now.
Interestingly, if you resize my image to exactly 32767 pixels high with gimp and then try to display it, firefox crashes. The bug's been there for around a year now.
Cheers, Dave
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
- trolly
- Moderator
- Posts: 39851
- Joined: August 22nd, 2005, 7:25 am
Littlemutt filed: https://bugzilla.mozilla.org/show_bug.cgi?id=370629
It is about this and another problem. I guess one of them will be spitted off to another bug.
It is about this and another problem. I guess one of them will be spitted off to another bug.
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
-
- Guest
trolly wrote:Littlemutt filed: https://bugzilla.mozilla.org/show_bug.cgi?id=370629
It is about this and another problem.
I'm glad somebody filed it. I looked into filing it but the procedure is so complicated I gave up!
On the suse list people turned up a few other possibly useful factoids:
(1) the problem isn't limited to firefox, various other Linux application have trouble. Some crash and burn.
(2) there is a fundamental limit in X of 32767 for image sizes, so all applications need to deal with this.
(3) it appears likely that imlib does NOT deal with it properly.
Cheers, Dave
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
-
- Guest
trolly wrote:Littlemutt filed: https://bugzilla.mozilla.org/show_bug.cgi?id=370629
It is about this and another problem. I guess one of them will be spitted off to another bug.
Actually, looking at that bug report more carefully, it's about two other bugs and NOT about this bug at all. The two bugs described there both occur on Windows boxes while this bug does not occur on Windows boxes. It does occur on Linux.
Cheers, Dave
-
- Guest
Dave Howorth wrote:On the suse list people turned up a few other possibly useful factoids:
I forgot:
(4) I resized the image to 32767 pixels high with gimp. Firefox crashes on that image, giving the following error message to the console:
<pre>
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 23489 error_code 11 request_code 53 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
</pre>
Cheers, Dave