module PDF::Reader::ResourceMethods

def xobjects


of calling it over and over.
with no caching. You will want to cache the results instead
NOTE: this method de-serialise objects from the underlying PDF

Returns a Hash of XObjects that are available to this page
def xobjects
  @objects.deref!(resources[:XObject]) || {}
end