Introduce ImageKind constants.

This commit is contained in:
Nicholas Nethercote 2014-02-25 15:11:15 -08:00
parent 4e1f92a893
commit 42cbb5b440
4 changed files with 21 additions and 15 deletions

View file

@ -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