Versions in this module Expand all Collapse all v0 v0.2.0 Aug 8, 2026 v0.1.0 Aug 5, 2026 Changes in this version + var ErrUnsupported = errors.New("image: unsupported codec") + func Encode(w io.Writer, im *Image) error + type CCITTParams struct + BlackIs1 bool + Columns int + EncodedByteAlign bool + K int + Rows int + type Codec int + const CodecCCITT + const CodecJBIG2 + const CodecJPEG + const CodecJPX + const CodecRaw + func (c Codec) String() string + type Image struct + Base objects.Name + BitsPerComponent int + CCITT CCITTParams + Codec Codec + ColorSpaceFamily objects.Name + Components int + Data []byte + Decode []float64 + Height int + HiVal int + Matte []float64 + Name objects.Name + Page int + Palette []byte + Ref objects.Ref + SMask *Image + Stencil bool + Width int + func (im *Image) Alpha() bool + func (im *Image) Ext() (string, error) + func (im *Image) Premultiplied() bool + func (im *Image) Recoverable() bool + type Reader struct + func NewReader(s objects.Store) *Reader + func (r *Reader) Images() ([]*Image, error) + func (r *Reader) Page(n int) ([]*Image, error)