Method: PDF::Reader::ResourceMethods#xobjects
- Defined in:
- lib/pdf/reader/resource_methods.rb
#xobjects ⇒ Object
Returns a Hash of XObjects that are available to this page
NOTE: this method de-serialise objects from the underlying PDF
with no caching. You will want to cache the results instead
of calling it over and over.
87 88 89 |
# File 'lib/pdf/reader/resource_methods.rb', line 87 def xobjects @objects.deref!(resources[:XObject]) || {} end |