Class: LiteParse::ExtractedImage

Inherits:
Object
  • Object
show all
Defined in:
lib/liteparse/types.rb

Overview

An image extracted from a parsed document.

Instance Method Summary collapse

Instance Method Details

#bytesString

Returns Raw image bytes (binary string).

Returns:

  • (String)

    Raw image bytes (binary string)



63
# File 'lib/liteparse/types.rb', line 63

class ExtractedImage; end

#formatString

Returns Image format (e.g. “png”, “jpeg”).

Returns:

  • (String)

    Image format (e.g. “png”, “jpeg”)



63
# File 'lib/liteparse/types.rb', line 63

class ExtractedImage; end

#idString

Returns Image identifier.

Returns:

  • (String)

    Image identifier



63
# File 'lib/liteparse/types.rb', line 63

class ExtractedImage; end

#pageInteger

Returns Page number where the image was found.

Returns:

  • (Integer)

    Page number where the image was found



63
# File 'lib/liteparse/types.rb', line 63

class ExtractedImage; end