Documentation ¶
Index ¶
- Variables
- type Engine
- func (ng Engine) GetImageInfo(b []byte, srcFormat ...string) (*imgry.ImageInfo, error)
- func (ng Engine) Initialize(tmpDir string) error
- func (ng Engine) LoadBlob(b []byte, srcFormat ...string) (imgry.Image, error)
- func (ng Engine) LoadFile(filename string, srcFormat ...string) (imgry.Image, error)
- func (ng Engine) SweepTmpDir() error
- func (ng Engine) Terminate()
- func (ng Engine) Version() string
- type Image
- func (i *Image) Clone() imgry.Image
- func (i *Image) Data() []byte
- func (i *Image) Format() string
- func (i *Image) Height() int
- func (i *Image) Release()
- func (i *Image) Released() bool
- func (i *Image) SetFormat(format string) error
- func (i *Image) SizeIt(sz *imgry.Sizing) error
- func (i *Image) Width() int
- func (i *Image) WriteToFile(fn string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEngineReleased = errors.New("imagick: engine has been released.") ErrEngineFailure = errors.New("imagick: unable to request a MagickWand") )
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (Engine) GetImageInfo ¶
func (Engine) Initialize ¶
func (Engine) SweepTmpDir ¶
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
func (*Image) WriteToFile ¶
Click to show internal directories.
Click to hide internal directories.