to_s (PDF::Writer::External::Image)

         # File lib/pdf/writer/object/image.rb, line 297
    297:   def to_s
    298:     tmp = @data.dup
    299:     res = "\n#{@oid} 0 obj\n<<"
    300:     @info.each { |k, v| res << "\n/#{k} #{v}"}
    301:     if (@parent.encrypted?)
    302:       @parent.arc4.prepare(self)
    303:       tmp = @parent.arc4.encrypt(tmp)
    304:     end
    305:     res << "\n/Length #{tmp.size} >>\nstream\n#{tmp}\nendstream\nendobj\n"
    306:     res
    307:   end