gi-vips-8.0.4: libvips GObject bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Vips.Flags

Description

 
Synopsis

Flags

ArgumentFlags

data ArgumentFlags Source #

Flags we associate with each object argument.

Have separate input & output flags. Both set is an error; neither set is OK.

Input gobjects are automatically reffed, output gobjects automatically ref us. We also automatically watch for "destroy" and unlink.

vIPSARGUMENTSETALWAYS is handy for arguments which are set from C. For example, VipsImagewidth is a property that gives access to the Xsize member of struct _VipsImage. We default its 'assigned' to TRUE since the field is always set directly by C.

vIPSARGUMENTDEPRECATED arguments are not shown in help text, are not looked for if required, are not checked for "have-been-set". You can deprecate a required argument, but you must obviously add a new required argument if you do.

Input args with vIPSARGUMENTMODIFY will be modified by the operation. This is used for things like the in-place drawing operations.

Constructors

ArgumentFlagsNone

no flags

ArgumentFlagsRequired

must be set in the constructor

ArgumentFlagsConstruct

can only be set in the constructor

ArgumentFlagsSetOnce

can only be set once

ArgumentFlagsSetAlways

don't do use-before-set checks

ArgumentFlagsInput

is an input argument (one we depend on)

ArgumentFlagsOutput

is an output argument (depends on us)

ArgumentFlagsDeprecated

just there for back-compat, hide

ArgumentFlagsModify

the input argument will be modified

AnotherArgumentFlags Int

Catch-all for unknown values

Instances

Instances details
Enum ArgumentFlags Source # 
Instance details

Defined in GI.Vips.Flags

Show ArgumentFlags Source # 
Instance details

Defined in GI.Vips.Flags

Eq ArgumentFlags Source # 
Instance details

Defined in GI.Vips.Flags

Ord ArgumentFlags Source # 
Instance details

Defined in GI.Vips.Flags

BoxedFlags ArgumentFlags Source # 
Instance details

Defined in GI.Vips.Flags

IsGFlag ArgumentFlags Source # 
Instance details

Defined in GI.Vips.Flags

TypedObject ArgumentFlags Source # 
Instance details

Defined in GI.Vips.Flags

Methods

glibType :: IO GType

HasParentTypes ArgumentFlags Source # 
Instance details

Defined in GI.Vips.Flags

type ParentTypes ArgumentFlags Source # 
Instance details

Defined in GI.Vips.Flags

type ParentTypes ArgumentFlags = '[] :: [Type]

ForeignFlags

data ForeignFlags Source #

Some hints about the image loader.

VIPS_FOREIGN_PARTIAL means that the image can be read directly from the file without needing to be unpacked to a temporary image first.

VIPS_FOREIGN_SEQUENTIAL means that the loader supports lazy reading, but only top-to-bottom (sequential) access. Formats like PNG can read sets of scanlines, for example, but only in order.

If neither PARTIAL or SEQUENTIAL is set, the loader only supports whole image read. Setting both PARTIAL and SEQUENTIAL is an error.

VIPS_FOREIGN_BIGENDIAN means that image pixels are most-significant byte first. Depending on the native byte order of the host machine, you may need to swap bytes. See vips_copy().

Constructors

ForeignFlagsNone

no flags set

ForeignFlagsPartial

the image may be read lazilly

ForeignFlagsBigendian

image pixels are most-significant byte first

ForeignFlagsSequential

top-to-bottom lazy reading

ForeignFlagsAll

No description available in the introspection data.

AnotherForeignFlags Int

Catch-all for unknown values

Instances

Instances details
Enum ForeignFlags Source # 
Instance details

Defined in GI.Vips.Flags

Show ForeignFlags Source # 
Instance details

Defined in GI.Vips.Flags

Eq ForeignFlags Source # 
Instance details

Defined in GI.Vips.Flags

Ord ForeignFlags Source # 
Instance details

Defined in GI.Vips.Flags

BoxedFlags ForeignFlags Source # 
Instance details

Defined in GI.Vips.Flags

IsGFlag ForeignFlags Source # 
Instance details

Defined in GI.Vips.Flags

TypedObject ForeignFlags Source # 
Instance details

Defined in GI.Vips.Flags

Methods

glibType :: IO GType

HasParentTypes ForeignFlags Source # 
Instance details

Defined in GI.Vips.Flags

type ParentTypes ForeignFlags Source # 
Instance details

Defined in GI.Vips.Flags

type ParentTypes ForeignFlags = '[] :: [Type]

ForeignPngFilter

data ForeignPngFilter Source #

http://www.w3.org/TR/PNG-Filters.html The values mirror those of png.h in libpng.

Constructors

ForeignPngFilterNone

no filtering

ForeignPngFilterSub

difference to the left

ForeignPngFilterUp

difference up

ForeignPngFilterAvg

average of left and up

ForeignPngFilterPaeth

pick best neighbor predictor automatically

ForeignPngFilterAll

adaptive

AnotherForeignPngFilter Int

Catch-all for unknown values

Instances

Instances details
Enum ForeignPngFilter Source # 
Instance details

Defined in GI.Vips.Flags

Show ForeignPngFilter Source # 
Instance details

Defined in GI.Vips.Flags

Eq ForeignPngFilter Source # 
Instance details

Defined in GI.Vips.Flags

Ord ForeignPngFilter Source # 
Instance details

Defined in GI.Vips.Flags

BoxedFlags ForeignPngFilter Source # 
Instance details

Defined in GI.Vips.Flags

IsGFlag ForeignPngFilter Source # 
Instance details

Defined in GI.Vips.Flags

TypedObject ForeignPngFilter Source # 
Instance details

Defined in GI.Vips.Flags

Methods

glibType :: IO GType

HasParentTypes ForeignPngFilter Source # 
Instance details

Defined in GI.Vips.Flags

type ParentTypes ForeignPngFilter Source # 
Instance details

Defined in GI.Vips.Flags

type ParentTypes ForeignPngFilter = '[] :: [Type]

OperationFlags

data OperationFlags Source #

Flags we associate with an operation.

vIPSOPERATIONSEQUENTIAL means that the operation works like vips_conv(): it can process images top-to-bottom with only small non-local references.

Every scan-line must be requested, you are not allowed to skip ahead, but as a special case, the very first request can be for a region not at the top of the image. In this case, the first part of the image will be read and discarded

Every scan-line must be requested, you are not allowed to skip ahead, but as a special case, the very first request can be for a region not at the top of the image. In this case, the first part of the image will be read and discarded

vIPSOPERATIONNOCACHE means that the operation must not be cached by vips.

vIPSOPERATIONDEPRECATED means this is an old operation kept in vips for compatibility only and should be hidden from users.

vIPSOPERATIONUNTRUSTED means the operation depends on external libraries which have not been hardened against attack. It should probably not be used on untrusted input. Use blockUntrustedSet to block all untrusted operations.

vIPSOPERATIONBLOCKED means the operation is prevented from executing. Use operationBlockSet to enable and disable groups of operations.

Constructors

OperationFlagsNone

no flags

OperationFlagsSequential

can work sequentially with a small buffer

OperationFlagsSequentialUnbuffered

No description available in the introspection data.

OperationFlagsNocache

must not be cached

OperationFlagsDeprecated

a compatibility thing

OperationFlagsUntrusted

not hardened for untrusted input

OperationFlagsBlocked

prevent this operation from running

AnotherOperationFlags Int

Catch-all for unknown values

Instances

Instances details
Enum OperationFlags Source # 
Instance details

Defined in GI.Vips.Flags

Show OperationFlags Source # 
Instance details

Defined in GI.Vips.Flags

Eq OperationFlags Source # 
Instance details

Defined in GI.Vips.Flags

Ord OperationFlags Source # 
Instance details

Defined in GI.Vips.Flags

BoxedFlags OperationFlags Source # 
Instance details

Defined in GI.Vips.Flags

IsGFlag OperationFlags Source # 
Instance details

Defined in GI.Vips.Flags

TypedObject OperationFlags Source # 
Instance details

Defined in GI.Vips.Flags

Methods

glibType :: IO GType

HasParentTypes OperationFlags Source # 
Instance details

Defined in GI.Vips.Flags

type ParentTypes OperationFlags Source # 
Instance details

Defined in GI.Vips.Flags

type ParentTypes OperationFlags = '[] :: [Type]