# Packages
No description provided by the author
# Functions
DecodeStream decodes the stream data and returns the decoded data.
EncodeStream encodes the stream data using the encoded specified by the stream's dictionary.
EqualObjects returns true if `obj1` and `obj2` have the same contents.
FlattenObject returns the contents of `obj`.
GetArray returns the *PdfObjectArray represented by the PdfObject directly or indirectly within an indirect object.
GetBool returns the *PdfObjectBool object that is represented by a PdfObject directly or indirectly within an indirect object.
GetBoolVal returns the bool value within a *PdObjectBool represented by an PdfObject interface directly or indirectly.
GetDict returns the *PdfObjectDictionary represented by the PdfObject directly or indirectly within an indirect object.
GetFloat returns the *PdfObjectFloat represented by the PdfObject directly or indirectly within an indirect object.
GetFloatVal returns the float64 value represented by the PdfObject directly or indirectly if contained within an indirect object.
GetIndirect returns the *PdfIndirectObject represented by the PdfObject.
GetInt returns the *PdfObjectBool object that is represented by a PdfObject either directly or indirectly within an indirect object.
GetIntVal returns the int value represented by the PdfObject directly or indirectly if contained within an indirect object.
GetName returns the *PdfObjectName represented by the PdfObject directly or indirectly within an indirect object.
GetNameVal returns the string value represented by the PdfObject directly or indirectly if contained within an indirect object.
GetNumberAsFloat returns the contents of `obj` as a float if it is an integer or float, or an error if it isn't.
GetNumberAsInt64 returns the contents of `obj` as an int64 if it is an integer or float, or an error if it isn't.
GetNumbersAsFloat converts a list of pdf objects representing floats or integers to a slice of float64 values.
GetObjectStreams returns the *PdfObjectStreams represented by the PdfObject.
GetStream returns the *PdfObjectStream represented by the PdfObject.
GetString returns the *PdfObjectString represented by the PdfObject directly or indirectly within an indirect object.
GetStringBytes is like GetStringVal except that it returns the string as a []byte.
GetStringVal returns the string value represented by the PdfObject directly or indirectly if contained within an indirect object.
GoImageToJBIG2 creates a binary image on the base of 'i' golang image.Image.
IsDecimalDigit checks if the character is a part of a decimal number string.
IsDelimiter checks if a character represents a delimiter.
IsFloatDigit checks if a character can be a part of a float number string.
IsNullObject returns true if `obj` is a PdfObjectNull.
IsOctalDigit checks if a character can be part of an octal digit string.
IsPrintable checks if a character is printable.
IsWhiteSpace checks if byte represents a white space character.
MakeArray creates an PdfObjectArray from a list of PdfObjects.
MakeArrayFromFloats creates an PdfObjectArray from a slice of float64s, where each array element is an PdfObjectFloat.
MakeArrayFromIntegers creates an PdfObjectArray from a slice of ints, where each array element is an PdfObjectInteger.
MakeArrayFromIntegers64 creates an PdfObjectArray from a slice of int64s, where each array element is an PdfObjectInteger.
MakeBool creates a PdfObjectBool from a bool value.
MakeDict creates and returns an empty PdfObjectDictionary.
MakeDictMap creates a PdfObjectDictionary initialized from a map of keys to values.
MakeEncodedString creates a PdfObjectString with encoded content, which can be either UTF-16BE or PDFDocEncoding depending on whether `utf16BE` is true or false respectively.
MakeFloat creates an PdfObjectFloat from a float64.
MakeHexString creates an PdfObjectString from a string intended for output as a hexadecimal string.
MakeIndirectObject creates an PdfIndirectObject with a specified direct object PdfObject.
MakeInteger creates a PdfObjectInteger from an int64.
MakeName creates a PdfObjectName from a string.
MakeNull creates an PdfObjectNull.
MakeObjectStreams creates an PdfObjectStreams from a list of PdfObjects.
MakeStream creates an PdfObjectStream with specified contents and encoding.
MakeString creates an PdfObjectString from a string.
MakeStringFromBytes creates an PdfObjectString from a byte array.
NewASCII85Encoder makes a new ASCII85 encoder.
NewASCIIHexEncoder makes a new ASCII hex encoder.
NewCCITTFaxEncoder makes a new CCITTFax encoder.
NewCompliancePdfParser creates a new PdfParser that will parse input reader with the focus on extracting more metadata, which might affect performance of the regular PdfParser this function.
NewDCTEncoder makes a new DCT encoder with default parameters.
NewEncoderFromStream creates a StreamEncoder based on the stream's dictionary.
NewFlateEncoder makes a new flate encoder with default parameters, predictor 1 and bits per component 8.
NewJBIG2Encoder creates a new JBIG2Encoder.
NewJPXEncoder returns a new instance of JPXEncoder.
NewLZWEncoder makes a new LZW encoder with default parameters.
NewMultiEncoder returns a new instance of MultiEncoder.
NewParser creates a new parser for a PDF file via ReadSeeker.
NewParserFromString is used for testing purposes.
NewRawEncoder returns a new instace of RawEncoder.
NewRunLengthEncoder makes a new run length encoder.
ParseNumber parses a numeric objects from a buffered stream.
PdfCryptNewDecrypt makes the document crypt handler based on the encryption dictionary and trailer dictionary.
PdfCryptNewEncrypt makes the document crypt handler based on a specified crypt filter.
RegisterCustomStreamEncoder register a custom encoder handler for certain filter.
ResolveReference resolves reference if `o` is a *PdfObjectReference and returns the object referenced to.
ResolveReferencesDeep recursively traverses through object `o`, looking up and replacing references with indirect objects.
TraceToDirectObject traces a PdfObject to a direct object.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
ASCII85Encoder implements ASCII85 encoder/decoder.
ASCIIHexEncoder implements ASCII hex encoder/decoder.
CCITTFaxEncoder implements Group3 and Group4 facsimile (fax) encoder/decoder.
DCTEncoder provides a DCT (JPG) encoding/decoding functionality for images.
EncryptInfo contains an information generated by the document encrypter.
FlateEncoder represents Flate encoding.
JBIG2Encoder implements both jbig2 encoder and the decoder.
JBIG2EncoderSettings contains the parameters and settings used by the JBIG2Encoder.
JBIG2Image is the image structure used by the jbig2 encoder.
JPXEncoder implements JPX encoder/decoder (dummy, for now) FIXME: implement.
LZWEncoder provides LZW encoding/decoding functionality.
MultiEncoder supports serial encoding.
ParserMetadata is the parser based metadata information about document.
PdfCrypt provides PDF encryption/decryption support.
PdfIndirectObject represents the primitive PDF indirect object.
PdfObjectArray represents the primitive PDF array object.
PdfObjectDictionary represents the primitive PDF dictionary/map object.
PdfObjectNull represents the primitive PDF null object.
PdfObjectReference represents the primitive PDF reference object.
PdfObjectStream represents the primitive PDF Object stream.
PdfObjectStreams represents the primitive PDF object streams.
PdfObjectString represents the primitive PDF string object.
PdfParser parses a PDF file and provides access to the object structure of the PDF.
RawEncoder implements Raw encoder/decoder (no encoding, pass through).
RunLengthEncoder represents Run length encoding.
Version represents a version of a PDF standard.
XrefObject defines a cross reference entry which is a map between object number (with generation number) and the location of the actual object, either as a file offset (xref table entry), or as a location within an xref stream object (xref object stream).
XrefTable represents the cross references in a PDF, i.e.
# Interfaces
DrawableImage is same as golang image/draw's Image interface that allow drawing images.
PdfObject is an interface which all primitive PDF objects must implement.
StreamEncoder represents the interface for all PDF stream encoders.
# Type aliases
JBIG2CompressionType defines the enum compression type used by the JBIG2Encoder.
PdfObjectBool represents the primitive PDF boolean object.
PdfObjectFloat represents the primitive PDF floating point numerical object.
PdfObjectInteger represents the primitive PDF integer numerical object.
PdfObjectName represents the primitive PDF name object.