Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ImageFormatUndefined is a reserved ImageFormat for cases when it's undefined // So if anybody will have an ImageFormat with zero-value (not defined, yet) it won't receive // a mis-leading value like ImageFormatJPEG. ImageFormatUndefined = imageprocessorcommon.ImageFormatUndefined // ImageFormatJPEG is an ImageFormat for JPEGs ImageFormatJPEG = imageprocessorcommon.ImageFormatJPEG // ImageFormatOther is an ImageFormat for all image formats not listed here in this enumeration ImageFormatOther = imageprocessorcommon.ImageFormatOther )
Variables ¶
View Source
var ( // ErrInvalidSize is returned when an invalid size is passed in arguments // to a function ErrInvalidSize = imageprocessorcommon.ErrInvalidSize )
Functions ¶
This section is empty.
Types ¶
type ImageFormat ¶
type ImageFormat = imageprocessorcommon.ImageFormat
ImageFormat is an enumeration data-type for image formats
type ImageProcessor ¶
type ImageProcessor = imageprocessorcommon.ImageProcessor
ImageProcessor is a tool to manipulate images
func NewImageProcessor ¶
func NewImageProcessor() ImageProcessor
NewImageProcessor creates an instance of `ImageProcessor` (image manipulation tool).
Currently is uses a GraphicsMagick-based implementation (`github.com/xaionaro-go/picapi/imageprocessor/graphicsmagick`).
Click to show internal directories.
Click to hide internal directories.