mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Merge pull request #4336 from nnethercote/rgb24
Special-case 24-bit RGB image-handling
This commit is contained in:
commit
9a918572dd
4 changed files with 82 additions and 51 deletions
|
@ -38,6 +38,12 @@ var TextRenderingMode = {
|
|||
ADD_TO_PATH_FLAG: 4
|
||||
};
|
||||
|
||||
var ImageKind = {
|
||||
GRAYSCALE_1BPP: 1,
|
||||
RGB_24BPP: 2,
|
||||
RGBA_32BPP: 3
|
||||
};
|
||||
|
||||
// The global PDFJS object exposes the API
|
||||
// In production, it will be declared outside a global wrapper
|
||||
// In development, it will be declared here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue