Sha256: 7a0aa10ef9c1de41783f263d9b863d64384780ccefcea334e2bfef86866c4916
Contents?: true
Size: 744 Bytes
Versions: 24
Compression:
Stored size: 744 Bytes
Contents
# encoding: utf-8 # prawn/core/filters.rb : Implements stream filters # # Copyright February 2013, Alexander Mankuta. All Rights Reserved. # # This is free software. Please see the LICENSE and COPYING files for details. require 'zlib' module PDF module Core module Filters module FlateDecode def self.encode(stream, params = nil) Zlib::Deflate.deflate(stream) end def self.decode(stream, params = nil) Zlib::Inflate.inflate(stream) end end # Pass through stub module DCTDecode def self.encode(stream, params = nil) stream end def self.decode(stream, params = nil) stream end end end end end
Version data entries
24 entries across 24 versions & 2 rubygems