Closed Bug 1247274 Opened 9 years ago Closed 9 years ago

Push maxImageSize for PDF.js

Categories

(Firefox OS Graveyard :: Gaia::PDF Viewer, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gerard-majax, Assigned: gerard-majax)

References

Details

Attachments

(1 file)

I have often failed to display images in some PDFs when making use of them on my Z3c KK. Most of the time, Pdf.JS stopped because the maxImageSize limit was defined to 1MB. For example, one PDF containing a scan of my payroll would have an embedded image of ~8.5MB. I propose we push the limit to 20MB, hard coded.
This was also being hit with the electronic tickets from CGR.fr (no picture)
Attachment #8717898 - Flags: review?(fabrice)
Attachment #8717898 - Flags: review?(fabrice) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: