Class: LiteParse::ExtractedImage
- Inherits:
-
Object
- Object
- LiteParse::ExtractedImage
- Defined in:
- lib/liteparse/types.rb
Overview
An image extracted from a parsed document.
Instance Method Summary collapse
-
#bytes ⇒ String
Raw image bytes (binary string).
-
#format ⇒ String
Image format (e.g. “png”, “jpeg”).
-
#id ⇒ String
Image identifier.
-
#page ⇒ Integer
Page number where the image was found.
Instance Method Details
#bytes ⇒ String
Returns Raw image bytes (binary string).
63 |
# File 'lib/liteparse/types.rb', line 63 class ExtractedImage; end |
#format ⇒ String
Returns Image format (e.g. “png”, “jpeg”).
63 |
# File 'lib/liteparse/types.rb', line 63 class ExtractedImage; end |
#id ⇒ String
Returns Image identifier.
63 |
# File 'lib/liteparse/types.rb', line 63 class ExtractedImage; end |
#page ⇒ Integer
Returns Page number where the image was found.
63 |
# File 'lib/liteparse/types.rb', line 63 class ExtractedImage; end |