EpubImage

EpubImage

Class for representing an image in the EPUB file.

Constructor

new EpubImage()

Source:

Extends

Methods

(static) getType() → {ItemTypeEnum}

Source:

Overrides EpubItem's getType method to always return IMAGE type

Returns:

The item's type

Type
ItemTypeEnum

getType() → {ItemTypeEnum}

Source:
Inherited From:

Guesses type according to the file extension. Might not be the best way to do it, but it works for now.
We map the type by finding the file extension in ItemTypeFileExtensionMap

Returns:

The type of the item

Type
ItemTypeEnum