Source code for pgmagick

from pgmagick import _pgmagick
__version__ = '0.5.1'


def __init():
    _pgmagick.InitializeMagick("./")
__init()


[docs]class Blob(_pgmagick.Blob): def __init__(self, *args): if len(args) == 1 and isinstance(args[0], str): _pgmagick.Blob.__init__(self) self.update(args[0]) else: _pgmagick.Blob.__init__(self, *args) data = property(_pgmagick.get_blob_data, _pgmagick.Blob.update)
ChannelType = _pgmagick.ChannelType
[docs]class Color(_pgmagick.Color): pass
[docs]class ColorGray(_pgmagick.ColorGray): pass
[docs]class ColorHSL(_pgmagick.ColorHSL): pass
[docs]class ColorMono(_pgmagick.ColorMono): pass
[docs]class ColorRGB(_pgmagick.ColorRGB): pass
[docs]class ColorYUV(_pgmagick.ColorYUV): pass
ColorspaceType = _pgmagick.ColorspaceType CompositeOperator = _pgmagick.CompositeOperator CompressionType = _pgmagick.CompressionType
[docs]class Coordinate(_pgmagick.Coordinate): pass
[docs]class CoordinateList(_pgmagick.CoordinateList): pass
DecorationType = _pgmagick.DecorationType
[docs]class Drawable(_pgmagick.Drawable): pass
[docs]class DrawableAffine(_pgmagick.DrawableAffine): pass
[docs]class DrawableArc(_pgmagick.DrawableArc): pass
[docs]class DrawableBezier(_pgmagick.DrawableBezier): pass
[docs]class DrawableCircle(_pgmagick.DrawableCircle): pass
[docs]class DrawableClipPath(_pgmagick.DrawableClipPath): pass
[docs]class DrawableColor(_pgmagick.DrawableColor): pass
[docs]class DrawableCompositeImage(_pgmagick.DrawableCompositeImage): pass
[docs]class DrawableDashArray(_pgmagick.DrawableDashArray): pass
[docs]class DrawableDashOffset(_pgmagick.DrawableDashOffset): pass
[docs]class DrawableEllipse(_pgmagick.DrawableEllipse): pass
[docs]class DrawableFillColor(_pgmagick.DrawableFillColor): pass
[docs]class DrawableFillOpacity(_pgmagick.DrawableFillOpacity): pass
[docs]class DrawableFillRule(_pgmagick.DrawableFillRule): pass
[docs]class DrawableFont(_pgmagick.DrawableFont): pass
[docs]class DrawableGravity(_pgmagick.DrawableGravity): pass
[docs]class DrawableLine(_pgmagick.DrawableLine): pass
[docs]class DrawableList(_pgmagick.DrawableList): pass
[docs]class DrawableMatte(_pgmagick.DrawableMatte): pass
[docs]class DrawableMiterLimit(_pgmagick.DrawableMiterLimit): pass
[docs]class DrawablePath(_pgmagick.DrawablePath): pass
[docs]class DrawablePoint(_pgmagick.DrawablePoint): pass
[docs]class DrawablePointSize(_pgmagick.DrawablePointSize): pass
[docs]class DrawablePolygon(_pgmagick.DrawablePolygon): pass
[docs]class DrawablePolyline(_pgmagick.DrawablePolyline): pass
[docs]class DrawablePopClipPath(_pgmagick.DrawablePopClipPath): pass
[docs]class DrawablePopGraphicContext(_pgmagick.DrawablePopGraphicContext): pass
[docs]class DrawablePopPattern(_pgmagick.DrawablePopPattern): pass
[docs]class DrawablePushClipPath(_pgmagick.DrawablePushClipPath): pass
[docs]class DrawablePushGraphicContext(_pgmagick.DrawablePushGraphicContext): pass
[docs]class DrawablePushPattern(_pgmagick.DrawablePushPattern): pass
[docs]class DrawableRectangle(_pgmagick.DrawableRectangle): pass
[docs]class DrawableRotation(_pgmagick.DrawableRotation): pass
[docs]class DrawableRoundRectangle(_pgmagick.DrawableRoundRectangle): pass
[docs]class DrawableScaling(_pgmagick.DrawableScaling): pass
[docs]class DrawableSkewX(_pgmagick.DrawableSkewX): pass
[docs]class DrawableSkewY(_pgmagick.DrawableSkewY): pass
[docs]class DrawableStrokeAntialias(_pgmagick.DrawableStrokeAntialias): pass
[docs]class DrawableStrokeColor(_pgmagick.DrawableStrokeColor): pass
[docs]class DrawableStrokeLineCap(_pgmagick.DrawableStrokeLineCap): pass
[docs]class DrawableStrokeLineJoin(_pgmagick.DrawableStrokeLineJoin): pass
[docs]class DrawableStrokeOpacity(_pgmagick.DrawableStrokeOpacity): pass
[docs]class DrawableStrokeWidth(_pgmagick.DrawableStrokeWidth): pass
[docs]class DrawableText(_pgmagick.DrawableText): pass
[docs]class DrawableTextAntialias(_pgmagick.DrawableTextAntialias): pass
[docs]class DrawableTextDecoration(_pgmagick.DrawableTextDecoration): pass
[docs]class DrawableTextUnderColor(_pgmagick.DrawableTextUnderColor): pass
[docs]class DrawableTranslation(_pgmagick.DrawableTranslation): pass
[docs]class DrawableViewbox(_pgmagick.DrawableViewbox): pass
EndianType = _pgmagick.EndianType
[docs]class Exception(_pgmagick.Exception): pass
FillRule = _pgmagick.FillRule FilterTypes = _pgmagick.FilterTypes
[docs]class Geometry(_pgmagick.Geometry): pass
GravityType = _pgmagick.GravityType
[docs]class Image(_pgmagick.Image): pass
[docs]class ImageList(_pgmagick.ImageList): pass
ImageType = _pgmagick.ImageType InterlaceType = _pgmagick.InterlaceType LineCap = _pgmagick.LineCap LineJoin = _pgmagick.LineJoin
[docs]class Montage(_pgmagick.Montage): pass
[docs]class MontageFramed(_pgmagick.MontageFramed): pass
NoiseType = _pgmagick.NoiseType if hasattr(_pgmagick, "OrientationType"): OrientationType = _pgmagick.OrientationType PaintMethod = _pgmagick.PaintMethod
[docs]class PathArcAbs(_pgmagick.PathArcAbs): pass
[docs]class PathArcArgs(_pgmagick.PathArcArgs): pass
[docs]class PathArcArgsList(_pgmagick.PathArcArgsList): pass
[docs]class PathArcRel(_pgmagick.PathArcRel): pass
[docs]class PathClosePath(_pgmagick.PathClosePath): pass
[docs]class PathCurveToArgsList(_pgmagick.PathCurveToArgsList): pass
[docs]class PathCurvetoAbs(_pgmagick.PathCurvetoAbs): pass
[docs]class PathCurvetoArgs(_pgmagick.PathCurvetoArgs): pass
[docs]class PathCurvetoRel(_pgmagick.PathCurvetoRel): pass
[docs]class PathLinetoAbs(_pgmagick.PathLinetoAbs): pass
[docs]class PathLinetoHorizontalAbs(_pgmagick.PathLinetoHorizontalAbs): pass
[docs]class PathLinetoHorizontalRel(_pgmagick.PathLinetoHorizontalRel): pass
[docs]class PathLinetoRel(_pgmagick.PathLinetoRel): pass
[docs]class PathLinetoVerticalAbs(_pgmagick.PathLinetoVerticalAbs): pass
[docs]class PathLinetoVerticalRel(_pgmagick.PathLinetoVerticalRel): pass
[docs]class PathMovetoAbs(_pgmagick.PathMovetoAbs): pass
[docs]class PathMovetoRel(_pgmagick.PathMovetoRel): pass
[docs]class PathQuadraticCurvetoAbs(_pgmagick.PathQuadraticCurvetoAbs): pass
[docs]class PathQuadraticCurvetoArgs(_pgmagick.PathQuadraticCurvetoArgs): pass
[docs]class PathQuadraticCurvetoArgsList(_pgmagick.PathQuadraticCurvetoArgsList): pass
[docs]class PathQuadraticCurvetoRel(_pgmagick.PathQuadraticCurvetoRel): pass
[docs]class PathSmoothCurvetoAbs(_pgmagick.PathSmoothCurvetoAbs): pass
[docs]class PathSmoothCurvetoRel(_pgmagick.PathSmoothCurvetoRel): pass
[docs]class PathSmoothQuadraticCurvetoAbs(_pgmagick.PathSmoothQuadraticCurvetoAbs): pass
[docs]class PathSmoothQuadraticCurvetoRel(_pgmagick.PathSmoothQuadraticCurvetoRel): pass
[docs]class Pixels(_pgmagick.Pixels): pass
if hasattr(_pgmagick, "SparseColorMethod"): SparseColorMethod = _pgmagick.SparseColorMethod if hasattr(_pgmagick, "DistortImageMethod"): DistortImageMethod = _pgmagick.DistortImageMethod if hasattr(_pgmagick, "QuantumOperator"): QuantumOperator = _pgmagick.QuantumOperator QuantumType = _pgmagick.QuantumType RenderingIntent = _pgmagick.RenderingIntent ResolutionType = _pgmagick.ResolutionType StorageType = _pgmagick.StorageType StretchType = _pgmagick.StretchType StyleType = _pgmagick.StyleType
[docs]class TypeMetric(_pgmagick.TypeMetric): pass
if hasattr(_pgmagick, "VirtualPixelMethod"): VirtualPixelMethod = _pgmagick.VirtualPixelMethod
[docs]class VPath(_pgmagick.VPath): pass
[docs]class VPathList(_pgmagick.VPathList): pass
class gminfo: version = _pgmagick.get_version() library = _pgmagick.get_library()