Versions in this module Expand all Collapse all v1 v1.0.1 Jun 16, 2018 v1.0.0 Jun 6, 2018 Changes in this version + const CHAN_SB + const CHAN_SBN + const CHAN_UB + const CHAN_UBN + const FLAGS_PREMULTIPLIED + const QUALITY_DEFAULT + const QUALITY_HIGH + const QUALITY_LOW + const SPACE_LRGB + const SPACE_SRGB + const TYPE_BC1 + const TYPE_BC2 + const TYPE_BC3 + var ErrIllegalArguments = errors.New("Illegal arguments specified") + type Pvr struct + func CreateNew(width, height, pixelType int) *Pvr + func Load(r io.Reader) *Pvr + func (p *Pvr) ClearError() + func (p *Pvr) Error() error + func (p *Pvr) FillImageRect(r image.Rectangle, col color.Color) + func (p *Pvr) GetChannelType() int + func (p *Pvr) GetColorSpace() int + func (p *Pvr) GetHeight() int + func (p *Pvr) GetImage() image.Image + func (p *Pvr) GetImageRect(r image.Rectangle) image.Image + func (p *Pvr) GetPixelType() int + func (p *Pvr) GetQuality() int + func (p *Pvr) GetWeightByAlpha() bool + func (p *Pvr) GetWidth() int + func (p *Pvr) IsPerceptiveMetric() bool + func (p *Pvr) Save(w io.Writer, compress bool) + func (p *Pvr) SetChannelType(channelType int) + func (p *Pvr) SetColorSpace(colorSpace int) + func (p *Pvr) SetDimension(width, height int, preserve bool) + func (p *Pvr) SetImage(img image.Image) + func (p *Pvr) SetImageRect(img image.Image, r image.Rectangle, dp image.Point) + func (p *Pvr) SetPerceptiveMetric(set bool) + func (p *Pvr) SetPixelType(pixelType int) + func (p *Pvr) SetQuality(q int) + func (p *Pvr) SetWeightByAlpha(set bool)