• Preparing search index...
  • The search index is not available
Document Solutions Image Viewer - v8.2.0
  • Document Solutions Image Viewer - v8.2.0
  • findImageFormat

Function findImageFormat

  • findImageFormat(fileOrName: string | ImageFormatCode | File | Uint8Array, defaultImageFormat?: ImageFormatCode): ImageFormatCode
  • Find the image format for the file specified by the fileOrName parameter.

    Parameters

    • fileOrName: string | ImageFormatCode | File | Uint8Array

      File object or file name string

    • defaultImageFormat: ImageFormatCode = ImageFormatCode.Default

      Optional.

    Returns ImageFormatCode

Settings

Member Visibility

Theme

Modules

  • Document Solutions Image Viewer - v8.2.0
    • EventBusAttachOptions
    • EventBusEventName
    • EventBus
    • ConfirmButton
    • DsImageViewer
    • GcImageViewer
    • GifOptions
    • MergeImageLayerCommand
    • IImageLayer
    • PointerTriggerType
    • PaintCommandName
    • IPaintDesignerContext
    • IPaintExecuteOptions
    • IPaintCommand
    • IUndoableCommand
    • PaintObjectParameters
    • PaintObjectPropertyName
    • IPaintObject
    • PaintObjectPropertyMap
    • EventName
    • EventArgs
    • CancelEventArgs
    • ErrorEventArgs
    • BeforeOpenEventArgs
    • AfterOpenEventArgs
    • ImagePaintEventArgs
    • IImageViewer
    • IUndoStorage
    • IEventBus
    • ToolbarItemType
    • SecondToolbarType
    • WindowKeyboardListener
    • IViewerPlugin
    • PointLocation
    • Size
    • ImageFormatName
    • ImageFormatCode
    • OpenParameters
    • KeyboardShortcutDefinition
    • KeyboardShortcutTool
    • SaveOptions
    • SaveAsMenuOptions
    • SaveButtonOptions
    • GlobalCursorType
    • ImageToolbarLayout
    • UndoCommandSupport
    • OpenCommand
    • CloseCommand
    • StartAnimationCommand
    • StopAnimationCommand
    • FrameIndexCommand
    • ZoomCommand
    • UndoStorage
    • UndoStorageOptions
    • ImageMimeType
    • imageFormatToMimeType
    • mimeTypeToImageFormat
    • findImageFormat
    • getSupportedImageFormats
    • convertImageToFormat
    • ViewerOptions
    • ImageFilterDefinition
    • ImageFilterToolButtonKey
    • ImageFiltersPluginOptions
    • ImageFiltersPlugin
    • PageToolButtonKey
    • PageToolsPluginOptions
    • PageToolsPlugin
    • PaintToolsPlugin
    • PaintToolsPluginOptions
    • RotationPluginOptions
    • RotationPlugin