Các câu trả lời gần đây cho Cannot open large PNGhttps://support.mozilla.org/vi/questions/9736672014-02-23T23:57:37-08:00Okay jscher2000 & cor-el,
I appreciate the input. With this information I can actually come up 2014-02-23T23:57:37-08:00throwcodehttps://support.mozilla.org/vi/questions/973667#answer-537342<p>Okay jscher2000 &amp; cor-el,
</p><p>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.
</p><p>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!!!!!
</p><p>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.
</p><p>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!
</p><p>regards,
TC
</p>That is likely inherited from the original Netscape code.
It is not trivial to change the size of a 2014-02-22T05:25:42-08:00cor-elhttps://support.mozilla.org/vi/questions/973667#answer-536885<p>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.
</p>Hi TC, 32766 pixels results from a programming decision made long ago, which is using a "small integ2014-02-22T02:33:24-08:00jscher2000https://support.mozilla.org/vi/questions/973667#answer-536844<p>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.
</p>I have a similar problem to Ferg above, ie, I have a large PNG file that the Browser developer tool 2014-02-22T00:45:17-08:00throwcodehttps://support.mozilla.org/vi/questions/973667#answer-536822<p>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.
</p><p>"Chosen solution
Is this PNG image large in file size or in the dimensions (height and width) as well?
A very large width (&gt; 32000px) can cause problems. "
</p><p>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).
</p><p>The painful solution to this is to chop the Sprite into three components and substitute logic just to make it work in Firefox.
</p><p>Maybe I will just tell people who visit the site not to use Firefox.
</p><p>Come on guys, are these restrictions as arbitrary and contrived as they appear. I would like to hear an explanation. Really.
</p><p>Thanks, TC
</p>This image cannot be displayed because it contains errors
That is a placeholder text that Firefox di2014-01-09T06:24:03-08:00cor-elhttps://support.mozilla.org/vi/questions/973667#answer-520758<p><em>This image cannot be displayed because it contains errors</em>
</p><p>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.
</p>This image cannot be displayed because it contains errors
It's annoying to read this line when i cho2014-01-09T05:27:36-08:00bangbangtanghttps://support.mozilla.org/vi/questions/973667#answer-520736<p>This image cannot be displayed because it contains errors
</p><p>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.
</p>Got it - The Image is 900x40000 pixels. That explains it. I can limit it to 30000 or less and will 2013-10-08T14:01:47-07:00fergus101https://support.mozilla.org/vi/questions/973667#answer-487725<p>Got it - The Image is 900x40000 pixels. That explains it. I can limit it to 30000 or less and will do so. Thanks.
</p>Is this PNG image large in file size or in the dimensions (height and width) as well?
A very large w2013-10-08T10:43:44-07:00cor-elhttps://support.mozilla.org/vi/questions/973667#answer-487672<p>Is this PNG image large in file size or in the dimensions (height and width) as well?
</p><p>A very large width (&gt; 32000px) can cause problems.
</p>If the image is very long, this is a known problem in Firefox. The most the program can handle with 2013-10-08T10:24:28-07:00jscher2000https://support.mozilla.org/vi/questions/973667#answer-487657<p>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: <a href="https://support.mozilla.org/en-US/questions/960717" rel="nofollow">"This image cannot be displayed because it contains errors"</a>.
</p>Please post a link to the image.
2013-10-08T09:04:35-07:00ComputerWhizhttps://support.mozilla.org/vi/questions/973667#answer-487618<p>Please post a link to the image.
</p>