X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Cannot open large PNG

Kuphostiwe

Firefox is unable to open large PNG. Tried opening the same PNG in other browsers (IE/Chrome) without any issues. The PNG is being served via webserver.

The initial error message was unable to open the image. I reset and restarted firefox in safe mode and now I see broken image.

I can upload an example image, if needed.

Firefox is unable to open large PNG. Tried opening the same PNG in other browsers (IE/Chrome) without any issues. The PNG is being served via webserver. The initial error message was unable to open the image. I reset and restarted firefox in safe mode and now I see broken image. I can upload an example image, if needed.

Isisombululo esikhethiwe

Is this PNG image large in file size or in the dimensions (height and width) as well?

A very large width (> 32000px) can cause problems.

Funda le mpendulo ngokuhambisana nalesi sihloko 1

Eminye Imininingwane Yohlelo

Fakela amapulagi

  • Google Update
  • Adobe PDF Plug-In For Firefox and Netscape 10.1.8
  • Next Generation Java Plug-in 10.25.2 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Shockwave Flash 11.8 r800
  • 5.1.20513.0
  • Foxit Reader Plug-In For Firefox and Netscape
  • Amazon MP3 Downloader Plugin 1.0.17
  • NPWLPG
  • Adobe Shockwave for Director Netscape plug-in, version 11.6.5.635
  • DivX Plus Web Player version 2.2.0.52
  • DivX VOD Helper Plug-in
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Office Authorization plug-in for NPAPI browsers

Isisebenziso

  • I-ejenti Engumsebenzisi: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0

Eminye Imininingwane

Application Basics
------------------
Name: Firefox
Version: 24.0
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0
Extensions
----------
Name: FiddlerHook
Version: 2.4.3.7
Enabled: false
ID: fiddlerhook@fiddler2.com
Name: General Crawler
Version: 2.6
Enabled: false
ID: gencrawler@some.com
Name: ocplugin
Version: 1.1
Enabled: false
ID: ocplugin@webex.com
Name: SmartPrintButton
Version: 1.0
Enabled: false
ID: quickprint@hp.com
Name: Troubleshooter
Version: 1.1a
Enabled: false
ID: troubleshooter@mozilla.org
Important Modified Preferences
------------------------------
browser.cache.disk.capacity: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.disk.smart_size_cached_value: 358400
browser.places.smartBookmarksVersion: 4
browser.startup.homepage: https://www.google.com/
browser.startup.homepage_override.buildID: 20130910160258
browser.startup.homepage_override.mstone: 24.0
dom.mozApps.used: true
extensions.lastAppVersion: 24.0
gfx.direct3d.last_used_feature_level_idx: 0
network.cookie.prefsMigrated: true
places.history.expiration.transient_current_max_pages: 104858
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
plugin.state.flash: 0
plugin.state.java: 0
plugin.state.np32dsw: 0
plugin.state.npamazonmp3downloaderplugin: 0
plugin.state.npauthz: 0
plugin.state.npctrl: 0
plugin.state.npdeployjava: 0
plugin.state.npdivx: 0
plugin.state.npfoxitreaderplugin: 0
plugin.state.npgoogleupdate: 0
plugin.state.npovshelper: 0
plugin.state.nppdf: 0
plugin.state.npspwrap: 0
plugin.state.npwlpg: 0
privacy.sanitize.migrateFx3Prefs: true
Graphics
--------
Adapter Description: Radeon (TM) HD 6770M
Adapter Description (GPU #2): Intel(R) HD Graphics Family
Adapter Drivers: aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
Adapter Drivers (GPU #2): igdumd64 igd10umd64 igd10umd64 igdumdx32 igd10umd32 igd10umd32
Adapter RAM: 1024
Adapter RAM (GPU #2): Unknown
ClearType Parameters: Gamma: 2200 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 50
Device ID: 0x6740
Device ID (GPU #2): 0x0116
DirectWrite Enabled: false (6.2.9200.16571)
Driver Date: 9-30-2011
Driver Date (GPU #2): 9-30-2011
Driver Version: 8.882.2.3000
Driver Version (GPU #2): 8.882.2.3000
GPU #2 Active: false
GPU Accelerated Windows: 0/2 Basic
Vendor ID: 0x1002
Vendor ID (GPU #2): 0x8086
WebGL Renderer: Google Inc. -- ANGLE (Radeon (TM) HD 6770M Direct3D9Ex vs_3_0 ps_3_0)
windowLayerManagerRemote: false
AzureCanvasBackend: skia
AzureContentBackend: none
AzureFallbackCanvasBackend: cairo
JavaScript
----------
Incremental GC: true
Accessibility
-------------
Activated: false
Prevent Accessibility: 0
Library Versions
----------------
NSPR
Expected minimum version: 4.10
Version in use: 4.10
NSS
Expected minimum version: 3.15.1 Basic ECC
Version in use: 3.15.1 Basic ECC
NSSSMIME
Expected minimum version: 3.15.1 Basic ECC
Version in use: 3.15.1 Basic ECC
NSSSSL
Expected minimum version: 3.15.1 Basic ECC
Version in use: 3.15.1 Basic ECC
NSSUTIL
Expected minimum version: 3.15.1
Version in use: 3.15.1

Wesley Branton
  • Top 10 Contributor
582 izisombululo 4953 izimpendulo
Kuphostiwe

Please post a link to the image.

Please post a link to the image.
jscher2000
  • Top 10 Contributor
8638 izisombululo 70669 izimpendulo
Kuphostiwe

If the image is very long, this is a known problem in Firefox. The most the program can handle with hardware acceleration disabled is a height or width up to 32,766 pixels. You can get more of the painful details in this thread: "This image cannot be displayed because it contains errors".

If the image is very long, this is a known problem in Firefox. The most the program can handle with hardware acceleration disabled is a height or width up to 32,766 pixels. You can get more of the painful details in this thread: [https://support.mozilla.org/en-US/questions/960717 "This image cannot be displayed because it contains errors"].
cor-el
  • Top 10 Contributor
  • Moderator
17421 izisombululo 157412 izimpendulo
Kuphostiwe

Isisombululo Esikhethiwe

Is this PNG image large in file size or in the dimensions (height and width) as well?

A very large width (> 32000px) can cause problems.

Is this PNG image large in file size or in the dimensions (height and width) as well? A very large width (> 32000px) can cause problems.

Umnikazi wombuzo

Got it - The Image is 900x40000 pixels. That explains it. I can limit it to 30000 or less and will do so. Thanks.

Got it - The Image is 900x40000 pixels. That explains it. I can limit it to 30000 or less and will do so. Thanks.
bangbangtang 0 izisombululo 3 izimpendulo
Kuphostiwe

This image cannot be displayed because it contains errors

It's annoying to read this line when i choose larger than 4 MP option on google image search result. I use download manager to download those images.

This image cannot be displayed because it contains errors It's annoying to read this line when i choose larger than 4 MP option on google image search result. I use download manager to download those images.
cor-el
  • Top 10 Contributor
  • Moderator
17421 izisombululo 157412 izimpendulo
Kuphostiwe

This image cannot be displayed because it contains errors

That is a placeholder text that Firefox displays while downloading the image and this message should disappear once the download has finished and the image gets rendered.
If there is an error with the image or the image can't be displayed for other reasons then this text stays.
You can try to download and save the image and see if you can open it in another image viewing program if Firefox isn't able to view this image.

''This image cannot be displayed because it contains errors'' That is a placeholder text that Firefox displays while downloading the image and this message should disappear once the download has finished and the image gets rendered.<br /> If there is an error with the image or the image can't be displayed for other reasons then this text stays.<br /> You can try to download and save the image and see if you can open it in another image viewing program if Firefox isn't able to view this image.
throwcode 0 izisombululo 5 izimpendulo
Kuphostiwe

I have a similar problem to Ferg above, ie, I have a large PNG file that the Browser developer tool Network tab shows loaded but Firefox will not present! I find the "solution" presented to Ferg less than satisfying.

"Chosen solution Is this PNG image large in file size or in the dimensions (height and width) as well? A very large width (> 32000px) can cause problems. "

This sounds like an explanation not a solution. Every other major browser handles my png Sprite 140 x 75300 with no problems (IE11,Opera,Google Chrome, Safari).

The painful solution to this is to chop the Sprite into three components and substitute logic just to make it work in Firefox.

Maybe I will just tell people who visit the site not to use Firefox.

Come on guys, are these restrictions as arbitrary and contrived as they appear. I would like to hear an explanation. Really.

Thanks, TC

I have a similar problem to Ferg above, ie, I have a large PNG file that the Browser developer tool Network tab shows loaded but Firefox will not present! I find the "solution" presented to Ferg less than satisfying. "Chosen solution Is this PNG image large in file size or in the dimensions (height and width) as well? A very large width (> 32000px) can cause problems. " This sounds like an explanation not a solution. Every other major browser handles my png Sprite 140 x 75300 with no problems (IE11,Opera,Google Chrome, Safari). The painful solution to this is to chop the Sprite into three components and substitute logic just to make it work in Firefox. Maybe I will just tell people who visit the site not to use Firefox. Come on guys, are these restrictions as arbitrary and contrived as they appear. I would like to hear an explanation. Really. Thanks, TC
jscher2000
  • Top 10 Contributor
8638 izisombululo 70669 izimpendulo
Kuphostiwe

Hi TC, 32766 pixels results from a programming decision made long ago, which is using a "small integer" instead of an "integer" (or word instead of a double-word). Back in the day, you would never allocate twice the memory if you didn't need to. Mozilla could change this, but the request never had any urgency before because few webmasters used gigantic images. Now in the age of user created content, the problem may continue to grow and someone may want to increase its priority.

Hi TC, 32766 pixels results from a programming decision made long ago, which is using a "small integer" instead of an "integer" (or word instead of a double-word). Back in the day, you would never allocate twice the memory if you didn't need to. Mozilla could change this, but the request never had any urgency before because few webmasters used gigantic images. Now in the age of user created content, the problem may continue to grow and someone may want to increase its priority.
cor-el
  • Top 10 Contributor
  • Moderator
17421 izisombululo 157412 izimpendulo
Kuphostiwe

That is likely inherited from the original Netscape code.
It is not trivial to change the size of a variable as this requires to check all code that is involved to make sure that they all use this larger type and that no implicit conversion gets in the way.

That is likely inherited from the original Netscape code.<br /> It is not trivial to change the size of a variable as this requires to check all code that is involved to make sure that they all use this larger type and that no implicit conversion gets in the way.
throwcode 0 izisombululo 5 izimpendulo
Kuphostiwe

Okay jscher2000 & cor-el,

I appreciate the input. With this information I can actually come up with a plan of action. However when I tried to use the Sprite in Firefox it failed silently! As I said earlier, the browser tool "Network" tab showed the Sprite loaded! And so I was scratching my head for three days.

Don't you think it might be appropriate to come up with a error message that actually tells the user what failed. And NO I do not think that 'This image cannot be displayed because it contains errors' is sufficient. If I had received this error it would have been worse, I would have been searching for image errors, FOREVER!!!!!

I used to like Firefox and I'm sure I do not understand all of the issues that you face given the level of change and the number of devices you have to contend with. But this last year I have had a dozen reasons to search the Internet for solutions to issues regarding Firefox. I have to say there is a lot of anger out there.

I wish you well but as a developer I also have to deal with a lot of programming issues. Browser related issues can be some of the most frustrating. Just saying!

regards, TC

Okay jscher2000 & cor-el, I appreciate the input. With this information I can actually come up with a plan of action. However when I tried to use the Sprite in Firefox it failed silently! As I said earlier, the browser tool "Network" tab showed the Sprite loaded! And so I was scratching my head for three days. Don't you think it might be appropriate to come up with a error message that actually tells the user what failed. And NO I do not think that 'This image cannot be displayed because it contains errors' is sufficient. If I had received this error it would have been worse, I would have been searching for image errors, FOREVER!!!!! I used to like Firefox and I'm sure I do not understand all of the issues that you face given the level of change and the number of devices you have to contend with. But this last year I have had a dozen reasons to search the Internet for solutions to issues regarding Firefox. I have to say there is a lot of anger out there. I wish you well but as a developer I also have to deal with a lot of programming issues. Browser related issues can be some of the most frustrating. Just saying! regards, TC