1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-24 09:08:07 +02:00

Move the array containing the supported image mime types in display_utils

and make it available for the viewer (it'll be used in the signature UI).
This commit is contained in:
Calixte Denizet 2025-01-30 15:14:29 +01:00
parent 42c2b7b657
commit 2c737bc420
6 changed files with 30 additions and 34 deletions

View file

@ -52,6 +52,7 @@ import {
RenderingCancelledException,
setLayerDimensions,
stopEvent,
SupportedImageMimeTypes,
} from "../../src/display/display_utils.js";
import { AnnotationEditorLayer } from "../../src/display/editor/annotation_editor_layer.js";
import { AnnotationEditorUIManager } from "../../src/display/editor/tools.js";
@ -103,6 +104,7 @@ const expectedAPI = Object.freeze({
setLayerDimensions,
shadow,
stopEvent,
SupportedImageMimeTypes,
TextLayer,
TouchManager,
Util,