Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
GI.Vips.Enums
Contents
- Enumerations
- Access
- Align
- Angle
- Angle45
- BandFormat
- BlendMode
- Coding
- Combine
- CombineMode
- CompassDirection
- DemandStyle
- Direction
- Extend
- ForeignDzContainer
- ForeignDzDepth
- ForeignDzLayout
- ForeignHeifCompression
- ForeignTiffCompression
- ForeignTiffPredictor
- ForeignTiffResunit
- ForeignWebpPreset
- ImageType
- Intent
- Interesting
- Interpretation
- Kernel
- OperationBoolean
- OperationComplex
- OperationComplex2
- OperationComplexget
- OperationMath
- OperationMath2
- OperationMorphology
- OperationRelational
- OperationRound
- PCS
- Precision
- RegionShrink
- Saveable
- Size
- Token
Description
Synopsis
- data Access
- data Align
- data Angle
- data Angle45
- data BandFormat
- data BlendMode
- = BlendModeClear
- | BlendModeSource
- | BlendModeOver
- | BlendModeIn
- | BlendModeOut
- | BlendModeAtop
- | BlendModeDest
- | BlendModeDestOver
- | BlendModeDestIn
- | BlendModeDestOut
- | BlendModeDestAtop
- | BlendModeXor
- | BlendModeAdd
- | BlendModeSaturate
- | BlendModeMultiply
- | BlendModeScreen
- | BlendModeOverlay
- | BlendModeDarken
- | BlendModeLighten
- | BlendModeColourDodge
- | BlendModeColourBurn
- | BlendModeHardLight
- | BlendModeSoftLight
- | BlendModeDifference
- | BlendModeExclusion
- | BlendModeLast
- | AnotherBlendMode Int
- data Coding
- data Combine
- data CombineMode
- data CompassDirection
- data DemandStyle
- data Direction
- data Extend
- data ForeignDzContainer
- data ForeignDzDepth
- data ForeignDzLayout
- data ForeignHeifCompression
- data ForeignTiffCompression
- data ForeignTiffPredictor
- data ForeignTiffResunit
- data ForeignWebpPreset
- data ImageType
- data Intent
- data Interesting
- data Interpretation
- = InterpretationError
- | InterpretationMultiband
- | InterpretationBW
- | InterpretationHistogram
- | InterpretationXyz
- | InterpretationLab
- | InterpretationCmyk
- | InterpretationLabq
- | InterpretationRgb
- | InterpretationCmc
- | InterpretationLch
- | InterpretationLabs
- | InterpretationSrgb
- | InterpretationYxy
- | InterpretationFourier
- | InterpretationRgb16
- | InterpretationGrey16
- | InterpretationMatrix
- | InterpretationScrgb
- | InterpretationHsv
- | InterpretationLast
- | AnotherInterpretation Int
- data Kernel
- data OperationBoolean
- data OperationComplex
- data OperationComplex2
- data OperationComplexget
- data OperationMath
- data OperationMath2
- data OperationMorphology
- data OperationRelational
- data OperationRound
- data PCS
- = PCSLab
- | PCSXyz
- | PCSLast
- | AnotherPCS Int
- data Precision
- data RegionShrink
- data Saveable
- data Size
- data Token
Enumerations
Access
The type of access an operation has to supply. See vips_tilecache()
and Foreign
.
vIPSACCESSRANDOM
means requests can come in any order.
vIPSACCESSSEQUENTIAL
means requests will be top-to-bottom, but with some
amount of buffering behind the read point for small non-local accesses.
Constructors
AccessRandom | can read anywhere |
AccessSequential | top-to-bottom reading only, but with a small buffer |
AccessSequentialUnbuffered | No description available in the introspection data. |
AccessLast | No description available in the introspection data. |
AnotherAccess Int | Catch-all for unknown values |
Instances
Enum Access Source # | |
Defined in GI.Vips.Enums | |
Show Access Source # | |
Eq Access Source # | |
Ord Access Source # | |
BoxedEnum Access Source # | |
Defined in GI.Vips.Enums | |
TypedObject Access Source # | |
Defined in GI.Vips.Enums | |
HasParentTypes Access Source # | |
Defined in GI.Vips.Enums | |
type ParentTypes Access Source # | |
Defined in GI.Vips.Enums |
Align
See vips_join()
and so on.
Operations like vips_join()
need to be told whether to align images on the
low or high coordinate edge, or centre.
See also: vips_join()
.
Constructors
AlignLow | align low coordinate edge |
AlignCentre | align centre |
AlignHigh | align high coordinate edge |
AlignLast | No description available in the introspection data. |
AnotherAlign Int | Catch-all for unknown values |
Instances
Angle
See vips_rot()
and so on.
Fixed rotate angles.
See also: vips_rot()
.
Constructors
AngleD0 | no rotate |
AngleD90 | 90 degrees clockwise |
AngleD180 | 180 degree rotate |
AngleD270 | 90 degrees anti-clockwise |
AngleLast | No description available in the introspection data. |
AnotherAngle Int | Catch-all for unknown values |
Instances
Angle45
See vips_rot45()
and so on.
Fixed rotate angles.
See also: vips_rot45()
.
Constructors
Angle45D0 | no rotate |
Angle45D45 | 45 degrees clockwise |
Angle45D90 | 90 degrees clockwise |
Angle45D135 | 135 degrees clockwise |
Angle45D180 | 180 degrees |
Angle45D225 | 135 degrees anti-clockwise |
Angle45D270 | 90 degrees anti-clockwise |
Angle45D315 | 45 degrees anti-clockwise |
Angle45Last | No description available in the introspection data. |
AnotherAngle45 Int | Catch-all for unknown values |
Instances
Enum Angle45 Source # | |
Show Angle45 Source # | |
Eq Angle45 Source # | |
Ord Angle45 Source # | |
BoxedEnum Angle45 Source # | |
Defined in GI.Vips.Enums | |
TypedObject Angle45 Source # | |
Defined in GI.Vips.Enums | |
HasParentTypes Angle45 Source # | |
Defined in GI.Vips.Enums | |
type ParentTypes Angle45 Source # | |
Defined in GI.Vips.Enums |
BandFormat
data BandFormat Source #
The format used for each band element.
Each corresponds to a native C type for the current machine. For example,
VIPS_FORMAT_USHORT
is <type>unsigned short</type>.
Constructors
BandFormatNotset | invalid setting |
BandFormatUchar | unsigned char format |
BandFormatChar | char format |
BandFormatUshort | unsigned short format |
BandFormatShort | short format |
BandFormatUint | unsigned int format |
BandFormatInt | int format |
BandFormatFloat | float format |
BandFormatComplex | complex (two floats) format |
BandFormatDouble | double float format |
BandFormatDpcomplex | double complex (two double) format |
BandFormatLast | No description available in the introspection data. |
AnotherBandFormat Int | Catch-all for unknown values |
Instances
BlendMode
The various Porter-Duff and PDF blend modes. See vips_composite()
,
for example.
The Cairo docs have a nice explanation of all the blend modes:
https://www.cairographics.org/operators
The non-separable modes are not implemented.
Constructors
BlendModeClear | where the second object is drawn, the first is removed |
BlendModeSource | the second object is drawn as if nothing were below |
BlendModeOver | the image shows what you would expect if you held two semi-transparent slides on top of each other |
BlendModeIn | the first object is removed completely, the second is only drawn where the first was |
BlendModeOut | the second is drawn only where the first isn't |
BlendModeAtop | this leaves the first object mostly intact, but mixes both objects in the overlapping area |
BlendModeDest | leaves the first object untouched, the second is discarded completely |
BlendModeDestOver | like OVER, but swaps the arguments |
BlendModeDestIn | like IN, but swaps the arguments |
BlendModeDestOut | like OUT, but swaps the arguments |
BlendModeDestAtop | like ATOP, but swaps the arguments |
BlendModeXor | something like a difference operator |
BlendModeAdd | a bit like adding the two images |
BlendModeSaturate | a bit like the darker of the two |
BlendModeMultiply | at least as dark as the darker of the two inputs |
BlendModeScreen | at least as light as the lighter of the inputs |
BlendModeOverlay | multiplies or screens colors, depending on the lightness |
BlendModeDarken | the darker of each component |
BlendModeLighten | the lighter of each component |
BlendModeColourDodge | brighten first by a factor second |
BlendModeColourBurn | darken first by a factor of second |
BlendModeHardLight | multiply or screen, depending on lightness |
BlendModeSoftLight | darken or lighten, depending on lightness |
BlendModeDifference | difference of the two |
BlendModeExclusion | somewhat like DIFFERENCE, but lower-contrast |
BlendModeLast | No description available in the introspection data. |
AnotherBlendMode Int | Catch-all for unknown values |
Instances
Enum BlendMode Source # | |
Defined in GI.Vips.Enums Methods succ :: BlendMode -> BlendMode # pred :: BlendMode -> BlendMode # fromEnum :: BlendMode -> Int # enumFrom :: BlendMode -> [BlendMode] # enumFromThen :: BlendMode -> BlendMode -> [BlendMode] # enumFromTo :: BlendMode -> BlendMode -> [BlendMode] # enumFromThenTo :: BlendMode -> BlendMode -> BlendMode -> [BlendMode] # | |
Show BlendMode Source # | |
Eq BlendMode Source # | |
Ord BlendMode Source # | |
BoxedEnum BlendMode Source # | |
Defined in GI.Vips.Enums | |
TypedObject BlendMode Source # | |
Defined in GI.Vips.Enums | |
HasParentTypes BlendMode Source # | |
Defined in GI.Vips.Enums | |
type ParentTypes BlendMode Source # | |
Defined in GI.Vips.Enums |
Coding
How pixels are coded.
Normally, pixels are uncoded and can be manipulated as you would expect. However some file formats code pixels for compression, and sometimes it's useful to be able to manipulate images in the coded format.
The gaps in the numbering are historical and must be maintained. Allocate new numbers from the end.
Constructors
CodingError | No description available in the introspection data. |
CodingNone | pixels are not coded |
CodingLabq | pixels encode 3 float CIELAB values as 4 uchar |
CodingRad | pixels encode 3 float RGB as 4 uchar (Radiance coding) |
CodingLast | No description available in the introspection data. |
AnotherCoding Int | Catch-all for unknown values |
Instances
Enum Coding Source # | |
Defined in GI.Vips.Enums | |
Show Coding Source # | |
Eq Coding Source # | |
Ord Coding Source # | |
BoxedEnum Coding Source # | |
Defined in GI.Vips.Enums | |
TypedObject Coding Source # | |
Defined in GI.Vips.Enums | |
HasParentTypes Coding Source # | |
Defined in GI.Vips.Enums | |
type ParentTypes Coding Source # | |
Defined in GI.Vips.Enums |
Combine
How to combine values. See vips_compass()
, for example.
Constructors
CombineMax | take the maximum of the possible values |
CombineSum | sum all the values |
CombineMin | take the minimum value |
CombineLast | No description available in the introspection data. |
AnotherCombine Int | Catch-all for unknown values |
Instances
Enum Combine Source # | |
Show Combine Source # | |
Eq Combine Source # | |
Ord Combine Source # | |
BoxedEnum Combine Source # | |
Defined in GI.Vips.Enums | |
TypedObject Combine Source # | |
Defined in GI.Vips.Enums | |
HasParentTypes Combine Source # | |
Defined in GI.Vips.Enums | |
type ParentTypes Combine Source # | |
Defined in GI.Vips.Enums |
CombineMode
data CombineMode Source #
See vips_draw_image()
and so on.
Operations like vips_draw_image()
need to be told how to combine images
from two sources.
See also: vips_join()
.
Constructors
CombineModeSet | set pixels to the new value |
CombineModeAdd | add pixels |
CombineModeLast | No description available in the introspection data. |
AnotherCombineMode Int | Catch-all for unknown values |
Instances
CompassDirection
data CompassDirection Source #
A direction on a compass. Used for vips_gravity()
, for example.
Constructors
CompassDirectionCentre | centre |
CompassDirectionNorth | north |
CompassDirectionEast | east |
CompassDirectionSouth | south |
CompassDirectionWest | west |
CompassDirectionNorthEast | north-east |
CompassDirectionSouthEast | south-east |
CompassDirectionSouthWest | south-west |
CompassDirectionNorthWest | north-west |
CompassDirectionLast | No description available in the introspection data. |
AnotherCompassDirection Int | Catch-all for unknown values |
Instances
DemandStyle
data DemandStyle Source #
See vips_image_pipelinev()
. Operations can hint to the VIPS image IO
system about the kind of demand geometry they prefer.
These demand styles are given below in order of increasing
restrictiveness. When demanding output from a pipeline,
vips_image_generate()
will use the most restrictive of the styles requested by the operations
in the pipeline.
VIPS_DEMAND_STYLE_THINSTRIP
--- This operation would like to output strips
the width of the image and a few pels high. This is option suitable for
point-to-point operations, such as those in the arithmetic package.
This option is only efficient for cases where each output pel depends upon the pel in the corresponding position in the input image.
VIPS_DEMAND_STYLE_FATSTRIP
--- This operation would like to output strips
the width of the image and as high as possible. This option is suitable
for area operations which do not violently transform coordinates, such
as vips_conv()
.
VIPS_DEMAND_STYLE_SMALLTILE
--- This is the most general demand format.
Output is demanded in small (around 100x100 pel) sections. This style works
reasonably efficiently, even for bizzare operations like 45 degree rotate.
VIPS_DEMAND_STYLE_ANY
--- This image is not being demand-read from a disc
file (even indirectly) so any demand style is OK. It's used for things like
vips_black()
where the pixels are calculated.
See also: vips_image_pipelinev()
.
Constructors
DemandStyleError | No description available in the introspection data. |
DemandStyleSmalltile | demand in small (typically 64x64 pixel) tiles |
DemandStyleFatstrip | demand in fat (typically 10 pixel high) strips |
DemandStyleThinstrip | demand in thin (typically 1 pixel high) strips |
DemandStyleAny | demand geometry does not matter |
AnotherDemandStyle Int | Catch-all for unknown values |
Instances
Direction
See vips_flip()
, vips_join()
and so on.
Operations like vips_flip()
need to be told whether to flip left-right or
top-bottom.
See also: vips_flip()
, vips_join()
.
Constructors
DirectionHorizontal | left-right |
DirectionVertical | top-bottom |
DirectionLast | No description available in the introspection data. |
AnotherDirection Int | Catch-all for unknown values |
Instances
Enum Direction Source # | |
Defined in GI.Vips.Enums Methods succ :: Direction -> Direction # pred :: Direction -> Direction # fromEnum :: Direction -> Int # enumFrom :: Direction -> [Direction] # enumFromThen :: Direction -> Direction -> [Direction] # enumFromTo :: Direction -> Direction -> [Direction] # enumFromThenTo :: Direction -> Direction -> Direction -> [Direction] # | |
Show Direction Source # | |
Eq Direction Source # | |
Ord Direction Source # | |
BoxedEnum Direction Source # | |
Defined in GI.Vips.Enums | |
TypedObject Direction Source # | |
Defined in GI.Vips.Enums | |
HasParentTypes Direction Source # | |
Defined in GI.Vips.Enums | |
type ParentTypes Direction Source # | |
Defined in GI.Vips.Enums |
Extend
See vips_embed()
, vips_conv()
, vips_affine()
and so on.
When the edges of an image are extended, you can specify how you want the extension done.
VIPS_EXTEND_BLACK
--- new pixels are black, ie. all bits are zero.
VIPS_EXTEND_COPY
--- each new pixel takes the value of the nearest edge
pixel
VIPS_EXTEND_REPEAT
--- the image is tiled to fill the new area
VIPS_EXTEND_MIRROR
--- the image is reflected and tiled to reduce hash
edges
VIPS_EXTEND_WHITE
--- new pixels are white, ie. all bits are set
VIPS_EXTEND_BACKGROUND
--- colour set from the background
property
We have to specify the exact value of each enum member since we have to keep these frozen for back compat with vips7.
See also: vips_embed()
.
Constructors
ExtendBlack | extend with black (all 0) pixels |
ExtendCopy | copy the image edges |
ExtendRepeat | repeat the whole image |
ExtendMirror | mirror the whole image |
ExtendWhite | extend with white (all bits set) pixels |
ExtendBackground | extend with colour from the |
ExtendLast | No description available in the introspection data. |
AnotherExtend Int | Catch-all for unknown values |
Instances
Enum Extend Source # | |
Defined in GI.Vips.Enums | |
Show Extend Source # | |
Eq Extend Source # | |
Ord Extend Source # | |
BoxedEnum Extend Source # | |
Defined in GI.Vips.Enums | |
TypedObject Extend Source # | |
Defined in GI.Vips.Enums | |
HasParentTypes Extend Source # | |
Defined in GI.Vips.Enums | |
type ParentTypes Extend Source # | |
Defined in GI.Vips.Enums |
ForeignDzContainer
data ForeignDzContainer Source #
How many pyramid layers to create.
Constructors
ForeignDzContainerFs | write tiles to the filesystem |
ForeignDzContainerZip | write tiles to a zip file |
ForeignDzContainerSzi | write to a szi file |
ForeignDzContainerLast | No description available in the introspection data. |
AnotherForeignDzContainer Int | Catch-all for unknown values |
Instances
ForeignDzDepth
data ForeignDzDepth Source #
How many pyramid layers to create.
Constructors
ForeignDzDepthOnepixel | create layers down to 1x1 pixel |
ForeignDzDepthOnetile | create layers down to 1x1 tile |
ForeignDzDepthOne | only create a single layer |
ForeignDzDepthLast | No description available in the introspection data. |
AnotherForeignDzDepth Int | Catch-all for unknown values |
Instances
ForeignDzLayout
data ForeignDzLayout Source #
What directory layout and metadata standard to use.
Constructors
ForeignDzLayoutDz | use DeepZoom directory layout |
ForeignDzLayoutZoomify | use Zoomify directory layout |
ForeignDzLayoutGoogle | use Google maps directory layout |
ForeignDzLayoutIiif | use IIIF directory layout |
ForeignDzLayoutLast | No description available in the introspection data. |
AnotherForeignDzLayout Int | Catch-all for unknown values |
Instances
ForeignHeifCompression
data ForeignHeifCompression Source #
The compression format to use inside a HEIF container.
This is assumed to use the same numbering as heif_compression_format
.
Constructors
ForeignHeifCompressionHevc | x265 |
ForeignHeifCompressionAvc | x264 |
ForeignHeifCompressionJpeg | jpeg |
ForeignHeifCompressionAv1 | aom |
ForeignHeifCompressionLast | No description available in the introspection data. |
AnotherForeignHeifCompression Int | Catch-all for unknown values |
Instances
ForeignTiffCompression
data ForeignTiffCompression Source #
The compression types supported by the tiff writer.
Use q
to set the jpeg compression level, default 75.
Use prediction
to set the lzw or deflate prediction, default none.
Use lossless
to set WEBP lossless compression.
Use level
to set webp and zstd compression level.
Constructors
ForeignTiffCompressionNone | no compression |
ForeignTiffCompressionJpeg | jpeg compression |
ForeignTiffCompressionDeflate | deflate (zip) compression |
ForeignTiffCompressionPackbits | packbits compression |
ForeignTiffCompressionCcittfax4 | fax4 compression |
ForeignTiffCompressionLzw | LZW compression |
ForeignTiffCompressionWebp | WEBP compression |
ForeignTiffCompressionZstd | ZSTD compression |
ForeignTiffCompressionLast | No description available in the introspection data. |
AnotherForeignTiffCompression Int | Catch-all for unknown values |
Instances
ForeignTiffPredictor
data ForeignTiffPredictor Source #
The predictor can help deflate and lzw compression. The values are fixed by the tiff library.
Constructors
ForeignTiffPredictorNone | no prediction |
ForeignTiffPredictorHorizontal | horizontal differencing |
ForeignTiffPredictorFloat | float predictor |
ForeignTiffPredictorLast | No description available in the introspection data. |
AnotherForeignTiffPredictor Int | Catch-all for unknown values |
Instances
ForeignTiffResunit
data ForeignTiffResunit Source #
Use inches or centimeters as the resolution unit for a tiff file.
Constructors
ForeignTiffResunitCm | use centimeters |
ForeignTiffResunitInch | use inches |
ForeignTiffResunitLast | No description available in the introspection data. |
AnotherForeignTiffResunit Int | Catch-all for unknown values |
Instances
ForeignWebpPreset
data ForeignWebpPreset Source #
Tune lossy encoder settings for different image types.
Constructors
ForeignWebpPresetDefault | default preset |
ForeignWebpPresetPicture | digital picture, like portrait, inner shot |
ForeignWebpPresetPhoto | outdoor photograph, with natural lighting |
ForeignWebpPresetDrawing | hand or line drawing, with high-contrast details |
ForeignWebpPresetIcon | small-sized colorful images |
ForeignWebpPresetText | text-like |
ForeignWebpPresetLast | No description available in the introspection data. |
AnotherForeignWebpPreset Int | Catch-all for unknown values |
Instances
ImageType
No description available in the introspection data.
Constructors
ImageTypeError | No description available in the introspection data. |
ImageTypeNone | No description available in the introspection data. |
ImageTypeSetbuf | No description available in the introspection data. |
ImageTypeSetbufForeign | No description available in the introspection data. |
ImageTypeOpenin | No description available in the introspection data. |
ImageTypeMmapin | No description available in the introspection data. |
ImageTypeMmapinrw | No description available in the introspection data. |
ImageTypeOpenout | No description available in the introspection data. |
ImageTypePartial | No description available in the introspection data. |
AnotherImageType Int | Catch-all for unknown values |
Instances
Enum ImageType Source # | |
Defined in GI.Vips.Enums Methods succ :: ImageType -> ImageType # pred :: ImageType -> ImageType # fromEnum :: ImageType -> Int # enumFrom :: ImageType -> [ImageType] # enumFromThen :: ImageType -> ImageType -> [ImageType] # enumFromTo :: ImageType -> ImageType -> [ImageType] # enumFromThenTo :: ImageType -> ImageType -> ImageType -> [ImageType] # | |
Show ImageType Source # | |
Eq ImageType Source # | |
Ord ImageType Source # | |
BoxedEnum ImageType Source # | |
Defined in GI.Vips.Enums | |
TypedObject ImageType Source # | |
Defined in GI.Vips.Enums | |
HasParentTypes ImageType Source # | |
Defined in GI.Vips.Enums | |
type ParentTypes ImageType Source # | |
Defined in GI.Vips.Enums |
Intent
The rendering intent. VIPS_INTENT_ABSOLUTE
is best for
scientific work, VIPS_INTENT_RELATIVE
is usually best for
accurate communication with other imaging libraries.
Constructors
IntentPerceptual | perceptual rendering intent |
IntentRelative | relative colorimetric rendering intent |
IntentSaturation | saturation rendering intent |
IntentAbsolute | absolute colorimetric rendering intent |
IntentLast | No description available in the introspection data. |
AnotherIntent Int | Catch-all for unknown values |
Instances
Enum Intent Source # | |
Defined in GI.Vips.Enums | |
Show Intent Source # | |
Eq Intent Source # | |
Ord Intent Source # | |
BoxedEnum Intent Source # | |
Defined in GI.Vips.Enums | |
TypedObject Intent Source # | |
Defined in GI.Vips.Enums | |
HasParentTypes Intent Source # | |
Defined in GI.Vips.Enums | |
type ParentTypes Intent Source # | |
Defined in GI.Vips.Enums |
Interesting
data Interesting Source #
Pick the algorithm vips uses to decide image "interestingness". This is used
by vips_smartcrop()
, for example, to decide what parts of the image to
keep.
VIPS_INTERESTING_NONE
and VIPS_INTERESTING_LOW
mean the same -- the
crop is positioned at the top or left. VIPS_INTERESTING_HIGH
positions at
the bottom or right.
See also: vips_smartcrop()
.
Constructors
InterestingNone | do nothing |
InterestingCentre | just take the centre |
InterestingEntropy | use an entropy measure |
InterestingAttention | look for features likely to draw human attention |
InterestingLow | position the crop towards the low coordinate |
InterestingHigh | position the crop towards the high coordinate |
InterestingLast | No description available in the introspection data. |
AnotherInteresting Int | Catch-all for unknown values |
Instances
Interpretation
data Interpretation Source #
How the values in an image should be interpreted. For example, a
three-band float image of type VIPS_INTERPRETATION_LAB
should have its
pixels interpreted as coordinates in CIE Lab space.
RGB and sRGB are treated in the same way. Use the colourspace functions if you want some other behaviour.
The gaps in numbering are historical and must be maintained. Allocate new numbers from the end.
Constructors
InterpretationError | No description available in the introspection data. |
InterpretationMultiband | generic many-band image |
InterpretationBW | some kind of single-band image |
InterpretationHistogram | a 1D image, eg. histogram or lookup table |
InterpretationXyz | the first three bands are CIE XYZ |
InterpretationLab | pixels are in CIE Lab space |
InterpretationCmyk | the first four bands are in CMYK space |
InterpretationLabq | implies |
InterpretationRgb | generic RGB space |
InterpretationCmc | a uniform colourspace based on CMC(1:1) |
InterpretationLch | pixels are in CIE LCh space |
InterpretationLabs | CIE LAB coded as three signed 16-bit values |
InterpretationSrgb | pixels are sRGB |
InterpretationYxy | pixels are CIE Yxy |
InterpretationFourier | image is in fourier space |
InterpretationRgb16 | generic 16-bit RGB |
InterpretationGrey16 | generic 16-bit mono |
InterpretationMatrix | a matrix |
InterpretationScrgb | pixels are scRGB |
InterpretationHsv | pixels are HSV |
InterpretationLast | No description available in the introspection data. |
AnotherInterpretation Int | Catch-all for unknown values |
Instances
Kernel
The resampling kernels vips supports. See vips_reduce()
, for example.
Constructors
KernelNearest | The nearest pixel to the point. |
KernelLinear | Convolve with a triangle filter. |
KernelCubic | Convolve with a cubic filter. |
KernelMitchell | No description available in the introspection data. |
KernelLanczos2 | Convolve with a two-lobe Lanczos kernel. |
KernelLanczos3 | Convolve with a three-lobe Lanczos kernel. |
KernelLast | No description available in the introspection data. |
AnotherKernel Int | Catch-all for unknown values |
Instances
Enum Kernel Source # | |
Defined in GI.Vips.Enums | |
Show Kernel Source # | |
Eq Kernel Source # | |
Ord Kernel Source # | |
BoxedEnum Kernel Source # | |
Defined in GI.Vips.Enums | |
TypedObject Kernel Source # | |
Defined in GI.Vips.Enums | |
HasParentTypes Kernel Source # | |
Defined in GI.Vips.Enums | |
type ParentTypes Kernel Source # | |
Defined in GI.Vips.Enums |
OperationBoolean
data OperationBoolean Source #
See also: vips_boolean()
.
Constructors
OperationBooleanAnd | & |
OperationBooleanOr | | |
OperationBooleanEor | ^ |
OperationBooleanLshift | > |
OperationBooleanRshift | << |
OperationBooleanLast | No description available in the introspection data. |
AnotherOperationBoolean Int | Catch-all for unknown values |
Instances
OperationComplex
data OperationComplex Source #
See also: vips_complex()
.
Constructors
OperationComplexPolar | convert to polar coordinates |
OperationComplexRect | convert to rectangular coordinates |
OperationComplexConj | complex conjugate |
OperationComplexLast | No description available in the introspection data. |
AnotherOperationComplex Int | Catch-all for unknown values |
Instances
OperationComplex2
data OperationComplex2 Source #
See also: vips_complex2()
.
Constructors
OperationComplex2CrossPhase | convert to polar coordinates |
OperationComplex2Last | No description available in the introspection data. |
AnotherOperationComplex2 Int | Catch-all for unknown values |
Instances
OperationComplexget
data OperationComplexget Source #
See also: vips_complexget()
.
Constructors
OperationComplexgetReal | get real component |
OperationComplexgetImag | get imaginary component |
OperationComplexgetLast | No description available in the introspection data. |
AnotherOperationComplexget Int | Catch-all for unknown values |
Instances
OperationMath
data OperationMath Source #
See also: vips_math()
.
Constructors
OperationMathSin |
|
OperationMathCos |
|
OperationMathTan |
|
OperationMathAsin |
|
OperationMathAcos |
|
OperationMathAtan |
|
OperationMathLog | log base e |
OperationMathLog10 | log base 10 |
OperationMathExp | e to the something |
OperationMathExp10 | 10 to the something |
OperationMathLast | No description available in the introspection data. |
AnotherOperationMath Int | Catch-all for unknown values |
Instances
OperationMath2
data OperationMath2 Source #
See also: vips_math()
.
Constructors
OperationMath2Pow | pow( left, right ) |
OperationMath2Wop | pow( right, left ) |
OperationMath2Last | No description available in the introspection data. |
AnotherOperationMath2 Int | Catch-all for unknown values |
Instances
OperationMorphology
data OperationMorphology Source #
More like hit-miss, really.
See also: vips_morph()
.
Constructors
OperationMorphologyErode | true if all set |
OperationMorphologyDilate | true if one set |
OperationMorphologyLast | No description available in the introspection data. |
AnotherOperationMorphology Int | Catch-all for unknown values |
Instances
OperationRelational
data OperationRelational Source #
See also: vips_relational()
.
Constructors
OperationRelationalEqual | == |
OperationRelationalNoteq | != |
OperationRelationalLess | < |
OperationRelationalLesseq | <= |
OperationRelationalMore | |
OperationRelationalMoreeq | = |
OperationRelationalLast | No description available in the introspection data. |
AnotherOperationRelational Int | Catch-all for unknown values |
Instances
OperationRound
data OperationRound Source #
See also: vips_round()
.
Constructors
OperationRoundRint | round to nearest |
OperationRoundCeil | the smallest integral value not less than |
OperationRoundFloor | largest integral value not greater than |
OperationRoundLast | No description available in the introspection data. |
AnotherOperationRound Int | Catch-all for unknown values |
Instances
PCS
Pick a Profile Connection Space for vips_icc_import()
and
vips_icc_export()
. LAB is usually best, XYZ can be more convenient in some
cases.
Constructors
PCSLab | use CIELAB D65 as the Profile Connection Space |
PCSXyz | use XYZ as the Profile Connection Space |
PCSLast | No description available in the introspection data. |
AnotherPCS Int | Catch-all for unknown values |
Precision
How accurate an operation should be.
Constructors
PrecisionInteger | int everywhere |
PrecisionFloat | float everywhere |
PrecisionApproximate | approximate integer output |
PrecisionLast | No description available in the introspection data. |
AnotherPrecision Int | Catch-all for unknown values |
Instances
Enum Precision Source # | |
Defined in GI.Vips.Enums Methods succ :: Precision -> Precision # pred :: Precision -> Precision # fromEnum :: Precision -> Int # enumFrom :: Precision -> [Precision] # enumFromThen :: Precision -> Precision -> [Precision] # enumFromTo :: Precision -> Precision -> [Precision] # enumFromThenTo :: Precision -> Precision -> Precision -> [Precision] # | |
Show Precision Source # | |
Eq Precision Source # | |
Ord Precision Source # | |
BoxedEnum Precision Source # | |
Defined in GI.Vips.Enums | |
TypedObject Precision Source # | |
Defined in GI.Vips.Enums | |
HasParentTypes Precision Source # | |
Defined in GI.Vips.Enums | |
type ParentTypes Precision Source # | |
Defined in GI.Vips.Enums |
RegionShrink
data RegionShrink Source #
How to calculate the output pixels when shrinking a 2x2 region.
Constructors
RegionShrinkMean | use the average |
RegionShrinkMedian | use the median |
RegionShrinkMode | use the mode |
RegionShrinkLast | No description available in the introspection data. |
AnotherRegionShrink Int | Catch-all for unknown values |
Instances
Saveable
See also: ForeignSave
.
Constructors
SaveableMono | 1 band (eg. CSV) |
SaveableRgb | 1 or 3 bands (eg. PPM) |
SaveableRgba | 1, 2, 3 or 4 bands (eg. PNG) |
SaveableRgbaOnly | 3 or 4 bands (eg. WEBP) |
SaveableRgbCmyk | 1, 3 or 4 bands (eg. JPEG) |
SaveableAny | any number of bands (eg. TIFF) |
SaveableLast | No description available in the introspection data. |
AnotherSaveable Int | Catch-all for unknown values |
Instances
Enum Saveable Source # | |
Show Saveable Source # | |
Eq Saveable Source # | |
Ord Saveable Source # | |
Defined in GI.Vips.Enums | |
BoxedEnum Saveable Source # | |
Defined in GI.Vips.Enums | |
TypedObject Saveable Source # | |
Defined in GI.Vips.Enums | |
HasParentTypes Saveable Source # | |
Defined in GI.Vips.Enums | |
type ParentTypes Saveable Source # | |
Defined in GI.Vips.Enums |
Size
Controls whether an operation should upsize, downsize, both up and downsize, or force a size.
See also: vips_thumbnail()
.
Constructors
SizeBoth | size both up and down |
SizeUp | only upsize |
SizeDown | only downsize |
SizeForce | force size, that is, break aspect ratio |
SizeLast | No description available in the introspection data. |
AnotherSize Int | Catch-all for unknown values |
Token
No description available in the introspection data.
Constructors
TokenLeft | No description available in the introspection data. |
TokenRight | No description available in the introspection data. |
TokenString | No description available in the introspection data. |
TokenEquals | No description available in the introspection data. |
TokenComma | No description available in the introspection data. |
AnotherToken Int | Catch-all for unknown values |