Seevips_image_pipelinev()
. Operations can hintthe kind of demand geometry they preferto theVIPS imageIO system.
These demand styles are given below in order of increasingspecialisation. When demanding output from a pipeline,vips_image_generate()
will use the most general style requested by the operationsin the pipeline.
VIPS_DEMAND_STYLE_SMALLTILE
— This is the most general demand format.Output is demanded in small (around 100x100 pel) sections. This style worksreasonably efficiently, even for bizarre operations like 45 degree rotate.
VIPS_DEMAND_STYLE_FATSTRIP
— This operation would like to output stripsthe width of the image and as high as possible. This option is suitablefor area operations which do not violently transform coordinates, suchasvips_conv()
.
VIPS_DEMAND_STYLE_THINSTRIP
— This operation would like to output stripsthe width of the image and a few pels high. This option is suitable forpoint-to-point operations, such as those in the arithmetic package.
VIPS_DEMAND_STYLE_ANY
— This image is not being demand-read from a discfile (even indirectly) so any demand style isOK. It’s used for things likevips_black()
where the pixels are calculated.
See also
VIPS_DEMAND_STYLE_ERROR
No description available.
-1
VIPS_DEMAND_STYLE_SMALLTILE
Demand in small (typically 128x128 pixel) tiles.
0
VIPS_DEMAND_STYLE_FATSTRIP
Demand in fat (typically 16 pixel high) strips.
1
VIPS_DEMAND_STYLE_THINSTRIP
Demand in thin (typically 1 pixel high) strips.
2
VIPS_DEMAND_STYLE_ANY
Demand geometry does not matter.
3