hsmagick-0.3: FFI bindings for the GraphicsMagick librarySource codeContentsIndex
Graphics.Transform.Magick.Types
Documentation
data HImage Source
Constructors
HImage
image :: Ptr HImage_
otherInfo :: ImageNotLoaded
show/hide Instances
HasFilename HImage
data ImageNotLoaded Source
Constructors
ImageNotLoaded
imageInfo :: Ptr HImageInfo
exceptionInfo :: Ptr ExceptionInfo
show/hide Instances
HasFilename ImageNotLoaded
data Rectangle Source
Constructors
Rectangle
width :: Word
height :: Word
x :: Int
y :: Int
show/hide Instances
data AffineMatrix Source
Constructors
AffineMatrix
sx :: Double
rx :: Double
ry :: Double
sy :: Double
tx :: Double
ty :: Double
show/hide Instances
data PixelPacket a Source
Constructors
PixelPacket
red :: a
green :: a
blue :: a
opacity :: a
show/hide Instances
data Level Source
Constructors
Level
black :: Double
mid :: Double
white :: Double
data Modulation Source
Constructors
Modulation
brightness :: Double
saturation :: Double
hue :: Double
data Negation Source
Constructors
AllPixels
GrayscalePixels
type PixelPacketByte = PixelPacket Word8Source
data ChannelType Source
Constructors
UndefinedChannel
RedChannel
CyanChannel
GreenChannel
MagentaChannel
BlueChannel
YellowChannel
OpacityChannel
BlackChannel
MatteChannel
show/hide Instances
getImage :: HImage -> Ptr HImage_Source
getImageInfo :: HImage -> Ptr HImageInfoSource
getExceptionInfo :: HImage -> Ptr ExceptionInfoSource
setImage :: HImage -> Ptr HImage_ -> HImageSource
mkUnloadedImage :: Ptr HImageInfo -> Ptr ExceptionInfo -> ImageNotLoadedSource
mkImage :: Ptr HImage_ -> ImageNotLoaded -> HImageSource
data FilterTypes Source
Constructors
UndefinedFilter
PointFilter
BoxFilter
TriangleFilter
HermiteFilter
HanningFilter
HammingFilter
BlackmanFilter
GaussianFilter
QuadraticFilter
CubicFilter
CatromFilter
MitchellFilter
LacrosFilter
BesselFilter
SincFilter
show/hide Instances
data CompositeOp Source
Constructors
Undefined
Over
In
Out
Atop
Xor
Plus
Minus
Add
Subtract
Difference
Multiply
Bumpmap
Copy
CopyRed
CopyGreen
CopyBlue
CopyOpacity
Clear
Dissolve
Displace
Modulate
Threshold
No
Darken
Lighten
Hue
Saturate
Colorize
Luminize
Screen
Overlay
CopyCyan
CopyMagenta
CopyYellow
CopyBlack
show/hide Instances
data Contrast Source
Constructors
IncreaseContrast
DecreaseContrast
data ImageCharacteristics Source
Constructors
ImageC
cmyk :: Bool
grayscale :: Bool
mONOCHROME :: Bool
opaque :: Bool
palette :: Bool
show/hide Instances
data ImageStatistics Source
Constructors
ImageS
red_ :: ImageChannelStatistics
green_ :: ImageChannelStatistics
blue_ :: ImageChannelStatistics
opacity_ :: ImageChannelStatistics
show/hide Instances
data ImageChannelStatistics Source
Constructors
ImageCS
maximum :: Double
minimum :: Double
mean :: Double
standard_deviation :: Double
variance :: Double
show/hide Instances
data SegmentInfo Source
Constructors
SegmentInfo
x1 :: Double
y1 :: Double
x2 :: Double
y2 :: Double
data ImageOrder Source
Constructors
LeftToRight
TopToBottom
show/hide Instances
data StorageType Source
Constructors
CharPixel
ShortPixel
IntegerPixel
LongPixel
FloatPixel
DoublePixel
show/hide Instances
class Storable b => StorablePixel a b | a -> b whereSource
Methods
storageType :: a -> StorageTypeSource
marshalPixel :: a -> bSource
unmarshalPixel :: b -> aSource
show/hide Instances
newtype PixMap Source
Constructors
PixMap [QuantumType]
show/hide Instances
pixelSize :: PixMap -> IntSource
data QuantumType Source
Constructors
R
G
B
A
O
T
C
Y
M
K
I
P
show/hide Instances
data QuantumType2 Source
Constructors
UndefinedQuantum
IndexQuantum
GrayQuantum
IndexAlphaQuantum
GrayAlphaQuantum
RedQuantum
CyanQuantum
GreenQuantum
YellowQuantum
BlueQuantum
MagentaQuantum
AlphaQuantum
BlackQuantum
RGBQuantum
RGBAQuantum
CMYKQuantum
CMYKAQuantum
CIEYQuantum
CIEXYZQuantum
show/hide Instances
data ExceptionInfo Source
Constructors
ExceptionInfo
severity :: ExceptionType
reason :: CString
description :: CString
error_number :: CInt
mODULE :: CString
function :: CString
line :: CULong
signature__ :: CULong
show/hide Instances
type ExportPixelAreaOptions = Word32Source
type ExportPixelAreaInfo = Word32Source
type ImportPixelAreaOptions = Word32Source
type ImportPixelAreaInfo = Word32Source
type ImagePtr = Ptr ImageSource
type Image = Word32Source
data CharArray Source
Constructors
CharArray
show/hide Instances
type CompressionType = Word32Source
type InterlaceType = Word32Source
type EndianType = Word32Source
type ResolutionType = Word32Source
type ColorspaceType = Word32Source
type ImageType = Word32Source
type StreamHandler = Word32Source
type PreviewType = Word32Source
type ClassType = Word32Source
type ChromaticityInfo = Word32Source
type OrientationType = Word32Source
type RenderingIntent = Word32Source
type GravityType = Word32Source
type DisposeType = Word32Source
type ErrorInfo = Word32Source
type TimerInfo = Word32Source
type CacheInfoPtr = Word32Source
type ImageAttributePtr = Word32Source
type Ascii85InfoPtr = Word32Source
type BlobInfoPtr = Word32Source
type SemaphoreInfoPtr = Word32Source
type ExceptionType = CUIntSource
data HImageInfo Source
Constructors
HImageInfo
compression :: CompressionType
temporary :: CUInt
adjoin :: CUInt
antialias :: CUInt
subimage :: CULong
subrange :: CULong
depth :: CULong
size :: CString
tile :: CString
page :: CString
interlace :: InterlaceType
endian :: EndianType
units :: ResolutionType
quality :: CULong
sampling_factor :: CString
server_name :: CString
font :: CString
texture :: CString
density :: CString
pointsize :: CDouble
fuzz :: CDouble
pen :: PixelPacketByte
background_color :: PixelPacketByte
border_color :: PixelPacketByte
matte_color :: PixelPacketByte
dither :: CUInt
monochrome :: CUInt
progress :: CUInt
colorspace :: ColorspaceType
tYPE :: ImageType
group :: CLong
verbose :: CUInt
view :: CString
authenticate :: CString
client_data :: CString
file :: Ptr CFile
magick :: String
filename :: String
cache :: CString
definitions :: CString
attributes :: Ptr Image
ping :: CUInt
preview_type :: PreviewType
affirm :: CUInt
blob :: CString
lENGTH :: CSize
unique :: CString
zero :: CString
signature :: CULong
show/hide Instances
data HImage_ Source
Constructors
HImage_
storage_class :: ClassType
colorspace_ :: ColorspaceType
compression_ :: CompressionType
dither_ :: CUInt
matte :: CUInt
columns :: CULong
rows :: CULong
colors :: CUInt
depth_ :: CUInt
colormap :: CIntPtr
background_color_ :: PixelPacketByte
border_color_ :: PixelPacketByte
matte_color_ :: PixelPacketByte
gamma :: CDouble
chromaticity :: ChromaticityInfo
orientation :: OrientationType
rendering_intent :: RenderingIntent
units_ :: ResolutionType
montage :: CString
directory :: CString
geometry :: CString
offset :: CLong
x_resolution :: CDouble
y_resolution :: CDouble
page_ :: Rectangle
tile_info :: Rectangle
blur :: CDouble
fuzz_ :: CDouble
fILTER :: FilterTypes
interlace_ :: InterlaceType
endian_ :: EndianType
gravity :: GravityType
compose :: CompositeOp
dispose :: DisposeType
scene :: CULong
delay :: CULong
iterations :: CULong
total_colors :: CULong
start_loop :: CLong
eRROR :: ErrorInfo
timer :: TimerInfo
client_data_ :: CIntPtr
filename_ :: String
magick_filename :: String
magick_ :: String
magick_rows :: CULong
exception :: ExceptionInfo
previous :: CIntPtr
next :: CIntPtr
profiles :: CIntPtr
is_monochrome :: CUInt
is_grayscale :: CUInt
taint :: CUInt
clip_mask :: CIntPtr
cache_ :: CacheInfoPtr
attributes_ :: ImageAttributePtr
ascii85 :: Ascii85InfoPtr
blob_ :: BlobInfoPtr
reference_count :: CLong
semaphore :: SemaphoreInfoPtr
logging :: CUInt
list :: CIntPtr
signature_ :: CULong
show/hide Instances
Produced by Haddock version 2.4.2