mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Introduce ImageKind constants.
This commit is contained in:
parent
4e1f92a893
commit
42cbb5b440
4 changed files with 21 additions and 15 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