Package app.photofox.vipsffm
Class VImage
java.lang.Object
app.photofox.vipsffm.VImage
A generated wrapper representing a VipsImage. Do not edit.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionabs(VipsOption... args) Absolute value of an imageadd(VipsOption... args) Add two imagesaffine(List<Double> matrix, VipsOption... args) Affine transform of an imageanalyzeload(String filename, VipsOption... args) Load an Analyze6 imagearrayjoin(List<VImage> in, VipsOption... args) Join an array of imagesautorot(VipsOption... args) Autorotate image by exif tagdoubleavg(VipsOption... args) Find image averagebandbool(VEnum boolean1, VipsOption... args) Boolean operation across image bandsbandfold(VipsOption... args) Fold up x axis into bandsbandjoin(List<VImage> in, VipsOption... args) Bandwise join a set of imagesbandjoinConst(List<Double> c, VipsOption... args) Append a constant band to an imagebandmean(VipsOption... args) Band-wise averagebandrank(List<VImage> in, VipsOption... args) Band-wise rank of a set of imagesbandunfold(VipsOption... args) Unfold image bands into x axisblack(int width, int height, VipsOption... args) Make a black imageboolean1(VEnum boolean1, VipsOption... args) Boolean operation on two imagesbooleanConst(VEnum boolean1, List<Double> c, VipsOption... args) Boolean operations against a constantbuildlut(VipsOption... args) Build a look-up tablebyteswap(VipsOption... args) Byteswap an imagecache(VipsOption... args) Cache an imagecanny(VipsOption... args) Canny edge detectorcase1(List<VImage> cases, VipsOption... args) Use pixel values to pick cases from an array of imagescast(VEnum format, VipsOption... args) Cast an imageCMC2LCh(VipsOption... args) Transform LCh to CMCCMYK2XYZ(VipsOption... args) Transform CMYK to XYZcolourspace(VEnum space, VipsOption... args) Convert to a new colorspacecompass(VipsOption... args) Convolve with rotating maskcomplex(VEnum cmplx, VipsOption... args) Perform a complex operation on an imagecomplex2(VEnum cmplx, VipsOption... args) Complex binary operations on two imagescomplexform(VipsOption... args) Form a complex image from two real imagescomplexget(VEnum get, VipsOption... args) Get a component from a complex imageBlend an array of images with an array of blend modescomposite2(VEnum mode, VipsOption... args) Blend a pair of images with a blend modeconv(VipsOption... args) Convolution operationconva(VipsOption... args) Approximate integer convolutionconvasep(VipsOption... args) Approximate separable integer convolutionconvf(VipsOption... args) Float convolution operationconvi(VipsOption... args) Int convolution operationconvsep(VipsOption... args) Separable convolution operationcopy(VipsOption... args) Copy an imagedoublecountlines(VEnum direction, VipsOption... args) Count lines in an imagecsvload(String filename, VipsOption... args) Load csvcsvloadSource(VSource source, VipsOption... args) Load csvvoidcsvsave(String filename, VipsOption... args) Save image to csvvoidcsvsaveTarget(VTarget target, VipsOption... args) Save image to csvdE00(VipsOption... args) Calculate dE00dE76(VipsOption... args) Calculate dE76dECMC(VipsOption... args) Calculate dECMCdoubledeviate(VipsOption... args) Find image standard deviationdivide(VipsOption... args) Divide two imagesvoiddrawCircle(List<Double> ink, int cx, int cy, int radius, VipsOption... args) Draw a circle on an imagevoiddrawFlood(List<Double> ink, int x, int y, VipsOption... args) Flood-fill an areavoiddrawImage(int x, int y, VipsOption... args) Paint an image into another imagevoiddrawLine(List<Double> ink, int x1, int y1, int x2, int y2, VipsOption... args) Draw a line on an imagevoiddrawMask(List<Double> ink, int x, int y, VipsOption... args) Draw a mask on an imagevoiddrawRect(List<Double> ink, int left, int top, int width, int height, VipsOption... args) Paint a rectangle on an imagevoiddrawSmudge(int left, int top, int width, int height, VipsOption... args) Blur a rectangle on an imagevoiddzsave(String filename, VipsOption... args) Save image to deepzoom filedzsaveBuffer(VipsOption... args) Save image to dz buffervoiddzsaveTarget(VTarget target, VipsOption... args) Save image to deepzoom targetembed(int x, int y, int width, int height, VipsOption... args) Embed an image in a larger imagebooleanextractArea(int left, int top, int width, int height, VipsOption... args) Extract an area from an imageextractBand(int band, VipsOption... args) Extract band from an imageeye(int width, int height, VipsOption... args) Make an image showing the eye's spatial responsefalsecolour(VipsOption... args) False-color an imagefastcor(VipsOption... args) Fast correlationfillNearest(VipsOption... args) Fill image zeros with nearest non-zero pixelintfindTrim(VipsOption... args) Search an image for non-edge areasfitsload(String filename, VipsOption... args) Load a FITS imagefitsloadSource(VSource source, VipsOption... args) Load FITS from a sourcevoidfitssave(String filename, VipsOption... args) Save image to fits fileflatten(VipsOption... args) Flatten alpha out of an imageflip(VEnum direction, VipsOption... args) Flip an imagefloat2rad(VipsOption... args) Transform float RGB to Radiance codingfractsurf(int width, int height, double fractalDimension, VipsOption... args) Make a fractal surfacefreqmult(VipsOption... args) Frequency-domain filteringfwfft(VipsOption... args) Forward FFTgamma(VipsOption... args) Gamma an imagegaussblur(double sigma, VipsOption... args) Gaussian blurgaussmat(double sigma, double minAmpl, VipsOption... args) Make a gaussian imagegaussnoise(int width, int height, VipsOption... args) Make a gaussnoise imageintgetpoint(int x, int y, VipsOption... args) Read a point from an imageGets the raw [MemorySegment] (C pointer) for this image The memory address' lifetime is bound to the scope of the [arena] Usage of the memory address is strongly discouraged, but it is available if some functionality is missing and you need to use it with [VipsHelper]intgetWidth()gifload(String filename, VipsOption... args) Load GIF with libnsgifgifloadBuffer(VBlob buffer, VipsOption... args) Load GIF with libnsgifgifloadSource(VSource source, VipsOption... args) Load gif from sourcevoidgifsave(String filename, VipsOption... args) Save as gifgifsaveBuffer(VipsOption... args) Save as gifvoidgifsaveTarget(VTarget target, VipsOption... args) Save as gifglobalbalance(VipsOption... args) Global balance an image mosaicgravity(VEnum direction, int width, int height, VipsOption... args) Place an image within a larger image with a certain gravitygrey(int width, int height, VipsOption... args) Make a grey ramp imagegrid(int tileHeight, int across, int down, VipsOption... args) Grid an imagebooleanhasAlpha()inthashCode()heifload(String filename, VipsOption... args) Load a HEIF imageheifloadBuffer(VBlob buffer, VipsOption... args) Load a HEIF imageheifloadSource(VSource source, VipsOption... args) Load a HEIF imagevoidheifsave(String filename, VipsOption... args) Save image in HEIF formatheifsaveBuffer(VipsOption... args) Save image in HEIF formatvoidheifsaveTarget(VTarget target, VipsOption... args) Save image in HEIF formathistCum(VipsOption... args) Form cumulative histogramdoublehistEntropy(VipsOption... args) Estimate image entropyhistEqual(VipsOption... args) Histogram equalisationhistFind(VipsOption... args) Find image histogramhistFindIndexed(VipsOption... args) Find indexed image histogramhistFindNdim(VipsOption... args) Find n-dimensional image histogrambooleanhistIsmonotonic(VipsOption... args) Test for monotonicityhistLocal(int width, int height, VipsOption... args) Local histogram equalisationhistMatch(VipsOption... args) Match two histogramshistNorm(VipsOption... args) Normalise histogramhistPlot(VipsOption... args) Plot histogramhoughCircle(VipsOption... args) Find hough circle transformhoughLine(VipsOption... args) Find hough line transformHSV2sRGB(VipsOption... args) Transform HSV to sRGBiccExport(VipsOption... args) Output to device with ICC profileiccImport(VipsOption... args) Import from device with ICC profileiccTransform(String outputProfile, VipsOption... args) Transform between devices with ICC profilesidentity(VipsOption... args) Make a 1D image where pixel values are indexesifthenelse(VipsOption... args) Ifthenelse an imageinsert(int x, int y, VipsOption... args) Insert image @sub into @main at @x, @yinvert(VipsOption... args) Invert an imageinvertlut(VipsOption... args) Build an inverted look-up tableinvfft(VipsOption... args) Inverse FFTjoin(VEnum direction, VipsOption... args) Join a pair of imagesjp2kload(String filename, VipsOption... args) Load JPEG2000 imagejp2kloadBuffer(VBlob buffer, VipsOption... args) Load JPEG2000 imagejp2kloadSource(VSource source, VipsOption... args) Load JPEG2000 imagevoidjp2ksave(String filename, VipsOption... args) Save image in JPEG2000 formatjp2ksaveBuffer(VipsOption... args) Save image in JPEG2000 formatvoidjp2ksaveTarget(VTarget target, VipsOption... args) Save image in JPEG2000 formatjpegload(String filename, VipsOption... args) Load jpeg from filejpegloadBuffer(VBlob buffer, VipsOption... args) Load jpeg from bufferjpegloadSource(VSource source, VipsOption... args) Load image from jpeg sourcevoidjpegsave(String filename, VipsOption... args) Save image to jpeg filejpegsaveBuffer(VipsOption... args) Save image to jpeg buffervoidjpegsaveMime(VipsOption... args) Save image to jpeg mimevoidjpegsaveTarget(VTarget target, VipsOption... args) Save image to jpeg targetjxlload(String filename, VipsOption... args) Load JPEG-XL imagejxlloadBuffer(VBlob buffer, VipsOption... args) Load JPEG-XL imagejxlloadSource(VSource source, VipsOption... args) Load JPEG-XL imagevoidjxlsave(String filename, VipsOption... args) Save image in JPEG-XL formatjxlsaveBuffer(VipsOption... args) Save image in JPEG-XL formatvoidjxlsaveTarget(VTarget target, VipsOption... args) Save image in JPEG-XL formatLab2LabQ(VipsOption... args) Transform float Lab to LabQ codingLab2LabS(VipsOption... args) Transform float Lab to signed shortLab2LCh(VipsOption... args) Transform Lab to LChLab2XYZ(VipsOption... args) Transform CIELAB to XYZlabelregions(VipsOption... args) Label regions in an imageLabQ2Lab(VipsOption... args) Unpack a LabQ image to float LabLabQ2LabS(VipsOption... args) Unpack a LabQ image to short LabLabQ2sRGB(VipsOption... args) Convert a LabQ image to sRGBLabS2Lab(VipsOption... args) Transform signed short Lab to floatLabS2LabQ(VipsOption... args) Transform short Lab to LabQ codingLCh2CMC(VipsOption... args) Transform LCh to CMCLCh2Lab(VipsOption... args) Transform LCh to LabCalculate (a * in + b)linecache(VipsOption... args) Cache an image as a set of lineslogmat(double sigma, double minAmpl, VipsOption... args) Make a Laplacian of Gaussian imagemagickload(String filename, VipsOption... args) Load file with ImageMagick7magickloadBuffer(VBlob buffer, VipsOption... args) Load buffer with ImageMagick7voidmagicksave(String filename, VipsOption... args) Save file with ImageMagickmagicksaveBuffer(VipsOption... args) Save image to magick buffermapim(VipsOption... args) Resample with a map imagemaplut(VipsOption... args) Map an image though a lutmaskButterworth(int width, int height, double order, double frequencyCutoff, double amplitudeCutoff, VipsOption... args) Make a butterworth filtermaskButterworthBand(int width, int height, double order, double frequencyCutoffX, double frequencyCutoffY, double radius, double amplitudeCutoff, VipsOption... args) Make a butterworth_band filtermaskButterworthRing(int width, int height, double order, double frequencyCutoff, double amplitudeCutoff, double ringwidth, VipsOption... args) Make a butterworth ring filtermaskFractal(int width, int height, double fractalDimension, VipsOption... args) Make fractal filtermaskGaussian(int width, int height, double frequencyCutoff, double amplitudeCutoff, VipsOption... args) Make a gaussian filtermaskGaussianBand(int width, int height, double frequencyCutoffX, double frequencyCutoffY, double radius, double amplitudeCutoff, VipsOption... args) Make a gaussian filtermaskGaussianRing(int width, int height, double frequencyCutoff, double amplitudeCutoff, double ringwidth, VipsOption... args) Make a gaussian ring filtermaskIdeal(int width, int height, double frequencyCutoff, VipsOption... args) Make an ideal filtermaskIdealBand(int width, int height, double frequencyCutoffX, double frequencyCutoffY, double radius, VipsOption... args) Make an ideal band filtermaskIdealRing(int width, int height, double frequencyCutoff, double ringwidth, VipsOption... args) Make an ideal ring filtermatch(int xr1, int yr1, int xs1, int ys1, int xr2, int yr2, int xs2, int ys2, VipsOption... args) First-order match of two imagesmath(VEnum math, VipsOption... args) Apply a math operation to an imagemath2(VEnum math2, VipsOption... args) Binary math operationsmath2Const(VEnum math2, List<Double> c, VipsOption... args) Binary math operations with a constantmatload(String filename, VipsOption... args) Load mat from filematrixinvert(VipsOption... args) Invert an matrixmatrixload(String filename, VipsOption... args) Load matrixmatrixloadSource(VSource source, VipsOption... args) Load matrixvoidmatrixprint(VipsOption... args) Print matrixvoidmatrixsave(String filename, VipsOption... args) Save image to matrixvoidmatrixsaveTarget(VTarget target, VipsOption... args) Save image to matrixdoublemax(VipsOption... args) Find image maximummeasure(int h, int v, VipsOption... args) Measure a set of patches on a color chartmerge(VEnum direction, int dx, int dy, VipsOption... args) Merge two imagesdoublemin(VipsOption... args) Find image minimummorph(VEnum morph, VipsOption... args) Morphology operationmosaic(VEnum direction, int xref, int yref, int xsec, int ysec, VipsOption... args) Mosaic two imagesmosaic1(VEnum direction, int xr1, int yr1, int xs1, int ys1, int xr2, int yr2, int xs2, int ys2, VipsOption... args) First-order mosaic of two imagesmsb(VipsOption... args) Pick most-significant byte from an imagemultiply(VipsOption... args) Multiply two imagesstatic VImagenewFromFile(Arena arena, String path, VipsOption... options) static VImagenewFromSource(Arena arena, VSource source, String optionString, VipsOption... options) static VImageopenexrload(String filename, VipsOption... args) Load an OpenEXR imageopenslideload(String filename, VipsOption... args) Load file with OpenSlideopenslideloadSource(VSource source, VipsOption... args) Load source with OpenSlidepdfload(String filename, VipsOption... args) Load PDF from filepdfloadBuffer(VBlob buffer, VipsOption... args) Load PDF from bufferpdfloadSource(VSource source, VipsOption... args) Load PDF from sourceintpercent(double percent, VipsOption... args) Find threshold for percent of pixelsperlin(int width, int height, VipsOption... args) Make a perlin noise imagephasecor(VipsOption... args) Calculate phase correlationpngload(String filename, VipsOption... args) Load png from filepngloadBuffer(VBlob buffer, VipsOption... args) Load png from bufferpngloadSource(VSource source, VipsOption... args) Load png from sourcevoidpngsave(String filename, VipsOption... args) Save image to file as PNGpngsaveBuffer(VipsOption... args) Save image to buffer as PNGvoidpngsaveTarget(VTarget target, VipsOption... args) Save image to target as PNGppmload(String filename, VipsOption... args) Load ppm from fileppmloadSource(VSource source, VipsOption... args) Load ppm base classvoidppmsave(String filename, VipsOption... args) Save image to ppm filevoidppmsaveTarget(VTarget target, VipsOption... args) Save to ppmpremultiply(VipsOption... args) Premultiply image alphaprewitt(VipsOption... args) Prewitt edge detectorprofile(VipsOption... args) Find image profilesproject(VipsOption... args) Find image projectionsquadratic(VipsOption... args) Resample an image with a quadratic transformrad2float(VipsOption... args) Unpack Radiance coding to float RGBradload(String filename, VipsOption... args) Load a Radiance image from a fileradloadBuffer(VBlob buffer, VipsOption... args) Load rad from bufferradloadSource(VSource source, VipsOption... args) Load rad from sourcevoidradsave(String filename, VipsOption... args) Save image to Radiance fileradsaveBuffer(VipsOption... args) Save image to Radiance buffervoidradsaveTarget(VTarget target, VipsOption... args) Save image to Radiance targetrank(int width, int height, int index, VipsOption... args) Rank filterrawload(String filename, int width, int height, int bands, VipsOption... args) Load raw data from a filevoidrawsave(String filename, VipsOption... args) Save image to raw filevoidrawsaveFd(int fd, VipsOption... args) Write raw image to file descriptorrecomb(VipsOption... args) Linear recombination with matrixreduce(double xshrink, double hshrink, double yshrink, double vshrink, VipsOption... args) Reduce an imagereduceh(double xshrink, double hshrink, VipsOption... args) Shrink an image horizontallyreducev(double yshrink, double vshrink, VipsOption... args) Shrink an image verticallyrelational(VEnum relational, VipsOption... args) Relational operation on two imagesrelationalConst(VEnum relational, List<Double> c, VipsOption... args) Relational operations against a constantremainder(VipsOption... args) Remainder after integer division of two imagesremainderConst(List<Double> c, VipsOption... args) Remainder after integer division of an image and a constantreplicate(int across, int down, VipsOption... args) Replicate an imageresize(double scale, VipsOption... args) Resize an imagerot(VEnum angle, VipsOption... args) Rotate an imagerot45(VipsOption... args) Rotate an imagerotate(double angle, VipsOption... args) Rotate an image by a number of degreesround(VEnum round, VipsOption... args) Perform a round function on an imagescale(VipsOption... args) Scale an image to ucharscharr(VipsOption... args) Scharr edge detectorscRGB2BW(VipsOption... args) Convert scRGB to BWscRGB2sRGB(VipsOption... args) Convert an scRGB image to sRGBscRGB2XYZ(VipsOption... args) Transform scRGB to XYZsequential(VipsOption... args) Check sequential accesssharpen(VipsOption... args) Unsharp masking for printshrink(double xshrink, double hshrink, double yshrink, double vshrink, VipsOption... args) Shrink an imageshrinkh(int xshrink, int hshrink, VipsOption... args) Shrink an image horizontallyshrinkv(int yshrink, int vshrink, VipsOption... args) Shrink an image verticallysign(VipsOption... args) Unit vector of pixelsimilarity(VipsOption... args) Similarity transform of an imagesines(int width, int height, VipsOption... args) Make a 2D sine wavesmartcrop(int width, int height, VipsOption... args) Extract an area from an imagesobel(VipsOption... args) Sobel edge detectorspcor(VipsOption... args) Spatial correlationspectrum(VipsOption... args) Make displayable power spectrumsRGB2HSV(VipsOption... args) Transform sRGB to HSVsRGB2scRGB(VipsOption... args) Convert an sRGB image to scRGBstats(VipsOption... args) Find many image statsstdif(int width, int height, VipsOption... args) Statistical differencesubsample(int xfac, int yfac, VipsOption... args) Subsample an imagesubtract(VipsOption... args) Subtract two imagessum(List<VImage> in, VipsOption... args) Sum an array of imagessvgload(String filename, VipsOption... args) Load SVG with rsvgsvgloadBuffer(VBlob buffer, VipsOption... args) Load SVG with rsvgsvgloadSource(VSource source, VipsOption... args) Load svg from sourceswitch1(List<VImage> tests, VipsOption... args) Find the index of the first non-zero pixel in teststext(String text, VipsOption... args) Make a text imagethumbnail(String filename, int width, VipsOption... args) Generate thumbnail from filethumbnailBuffer(VBlob buffer, int width, VipsOption... args) Generate thumbnail from bufferthumbnailImage(int width, VipsOption... args) Generate thumbnail from imagethumbnailSource(VSource source, int width, VipsOption... args) Generate thumbnail from sourcetiffload(String filename, VipsOption... args) Load tiff from filetiffloadBuffer(VBlob buffer, VipsOption... args) Load tiff from buffertiffloadSource(VSource source, VipsOption... args) Load tiff from sourcevoidtiffsave(String filename, VipsOption... args) Save image to tiff filetiffsaveBuffer(VipsOption... args) Save image to tiff buffervoidtiffsaveTarget(VTarget target, VipsOption... args) Save image to tiff targettilecache(VipsOption... args) Cache an image as a set of tilestonelut(VipsOption... args) Build a look-up tabletranspose3d(VipsOption... args) Transpose3d an imageunpremultiply(VipsOption... args) Unpremultiply image alphavipsload(String filename, VipsOption... args) Load vips from filevipsloadSource(VSource source, VipsOption... args) Load vips from sourcevoidvipssave(String filename, VipsOption... args) Save image to file in vips formatvoidvipssaveTarget(VTarget target, VipsOption... args) Save image to target in vips formatwebpload(String filename, VipsOption... args) Load webp from filewebploadBuffer(VBlob buffer, VipsOption... args) Load webp from bufferwebploadSource(VSource source, VipsOption... args) Load webp from sourcevoidwebpsave(String filename, VipsOption... args) Save as WebPwebpsaveBuffer(VipsOption... args) Save as WebPvoidwebpsaveMime(VipsOption... args) Save image to webp mimevoidwebpsaveTarget(VTarget target, VipsOption... args) Save as WebPworley(int width, int height, VipsOption... args) Make a worley noise imagewrap(VipsOption... args) Wrap image originvoidwriteToFile(String path, VipsOption... options) voidwriteToTarget(VTarget target, String suffix, VipsOption... options) xyz(int width, int height, VipsOption... args) Make an image where pixel values are coordinatesXYZ2CMYK(VipsOption... args) Transform XYZ to CMYKXYZ2Lab(VipsOption... args) Transform XYZ to LabXYZ2scRGB(VipsOption... args) Transform XYZ to scRGBXYZ2Yxy(VipsOption... args) Transform XYZ to YxyYxy2XYZ(VipsOption... args) Transform Yxy to XYZzone(int width, int height, VipsOption... args) Make a zone platezoom(int xfac, int yfac, VipsOption... args) Zoom an image
-
Method Details
-
hashCode
-
equals
-
getUnsafeAddress
Gets the raw [MemorySegment] (C pointer) for this image The memory address' lifetime is bound to the scope of the [arena] Usage of the memory address is strongly discouraged, but it is available if some functionality is missing and you need to use it with [VipsHelper] -
CMC2LCh
Transform LCh to CMC- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
CMYK2XYZ
Transform CMYK to XYZ- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
HSV2sRGB
Transform HSV to sRGB- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
LCh2CMC
Transform LCh to CMC- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
LCh2Lab
Transform LCh to Lab- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
Lab2LCh
Transform Lab to LCh- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
Lab2LabQ
Transform float Lab to LabQ coding- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
Lab2LabS
Transform float Lab to signed short- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
Lab2XYZ
Transform CIELAB to XYZ- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- temp
VipsOption.ArrayDoubleColor temperature
-
LabQ2Lab
Unpack a LabQ image to float Lab- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
LabQ2LabS
Unpack a LabQ image to short Lab- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
LabQ2sRGB
Convert a LabQ image to sRGB- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
LabS2Lab
Transform signed short Lab to float- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
LabS2LabQ
Transform short Lab to LabQ coding- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
XYZ2CMYK
Transform XYZ to CMYK- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
XYZ2Lab
Transform XYZ to Lab- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- temp
VipsOption.ArrayDoubleColour temperature
-
XYZ2Yxy
Transform XYZ to Yxy- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
XYZ2scRGB
Transform XYZ to scRGB- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
Yxy2XYZ
Transform Yxy to XYZ- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
abs
Absolute value of an image- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
add
Add two images- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
affine
Affine transform of an image- Parameters:
matrix- Transformation matrixargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- interpolate
VipsOption.InterpolateInterpolate pixels with this, oareaVipsOption.ArrayIntArea of output to generate, odxVipsOption.DoubleHorizontal output displacement, odyVipsOption.DoubleVertical output displacement, idxVipsOption.DoubleHorizontal input displacement, idyVipsOption.DoubleVertical input displacement, backgroundVipsOption.ArrayDoubleBackground value, premultipliedVipsOption.BooleanImages have premultiplied alpha, extendVipsOption.EnumVipsExtendHow to generate the extra pixels
-
analyzeload
Load an Analyze6 image- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
arrayjoin
Join an array of images- Parameters:
in- Array of input imagesargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- across
VipsOption.IntNumber of images across grid, shimVipsOption.IntPixels between images, backgroundVipsOption.ArrayDoubleColour for new pixels, halignVipsOption.EnumVipsAlignAlign on the left, centre or right, valignVipsOption.EnumVipsAlignAlign on the top, centre or bottom, hspacingVipsOption.IntHorizontal spacing between images, vspacingVipsOption.IntVertical spacing between images
-
autorot
Autorotate image by exif tag- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- angle
VipsOption.EnumVipsAngleAngle image was rotated by, flipVipsOption.BooleanWhether the image was flipped or not
-
avg
Find image average- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
bandbool
Boolean operation across image bands- Parameters:
boolean1-VipsOperationBooleanBoolean to performargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
bandfold
Fold up x axis into bands- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- factor
VipsOption.IntFold by this factor
-
bandjoin
-
bandjoinConst
-
bandmean
Band-wise average- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
bandrank
Band-wise rank of a set of images- Parameters:
in- Array of input imagesargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- index
VipsOption.IntSelect this band element from sorted list
-
bandunfold
Unfold image bands into x axis- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- factor
VipsOption.IntUnfold by this factor
-
black
Make a black image- Parameters:
width- Image width in pixelsheight- Image height in pixelsargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- bands
VipsOption.IntNumber of bands in image
-
boolean1
Boolean operation on two images- Parameters:
boolean1-VipsOperationBooleanBoolean to performargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
booleanConst
Boolean operations against a constant- Parameters:
boolean1-VipsOperationBooleanBoolean to performc- Array of constantsargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
buildlut
Build a look-up table- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
byteswap
Byteswap an image- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
cache
Cache an image- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- max-tiles
VipsOption.IntMaximum number of tiles to cache, tile-heightVipsOption.IntTile height in pixels, tile-widthVipsOption.IntTile width in pixels
-
canny
Canny edge detector- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- sigma
VipsOption.DoubleSigma of Gaussian, precisionVipsOption.EnumVipsPrecisionConvolve with this precision
-
case1
-
cast
Cast an image- Parameters:
format-VipsBandFormatFormat to cast toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- shift
VipsOption.BooleanShift integer values up and down
-
colourspace
Convert to a new colorspace- Parameters:
space-VipsInterpretationDestination color spaceargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- source-space
VipsOption.EnumVipsInterpretationSource color space
-
compass
Convolve with rotating mask- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- times
VipsOption.IntRotate and convolve this many times, angleVipsOption.EnumVipsAngle45Rotate mask by this much between convolutions, combineVipsOption.EnumVipsCombineCombine convolution results like this, precisionVipsOption.EnumVipsPrecisionConvolve with this precision, layersVipsOption.IntUse this many layers in approximation, clusterVipsOption.IntCluster lines closer than this in approximation
-
complex
Perform a complex operation on an image- Parameters:
cmplx-VipsOperationComplexComplex to performargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
complex2
Complex binary operations on two images- Parameters:
cmplx-VipsOperationComplex2Binary complex operation to performargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
complexform
Form a complex image from two real images- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
complexget
Get a component from a complex image- Parameters:
get-VipsOperationComplexgetComplex to performargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
composite
Blend an array of images with an array of blend modes- Parameters:
in- Array of input imagesmode- Array of VipsBlendMode to join withargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- x
VipsOption.ArrayIntArray of x coordinates to join at, yVipsOption.ArrayIntArray of y coordinates to join at, compositing-spaceVipsOption.EnumVipsInterpretationComposite images in this colour space, premultipliedVipsOption.BooleanImages have premultiplied alpha
-
composite2
Blend a pair of images with a blend mode- Parameters:
mode-VipsBlendModeVipsBlendMode to join withargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- x
VipsOption.IntX position of overlay, yVipsOption.IntY position of overlay, compositing-spaceVipsOption.EnumVipsInterpretationComposite images in this colour space, premultipliedVipsOption.BooleanImages have premultiplied alpha
-
conv
Convolution operation- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- precision
VipsOption.EnumVipsPrecisionConvolve with this precision, layersVipsOption.IntUse this many layers in approximation, clusterVipsOption.IntCluster lines closer than this in approximation
-
conva
Approximate integer convolution- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- layers
VipsOption.IntUse this many layers in approximation, clusterVipsOption.IntCluster lines closer than this in approximation
-
convasep
Approximate separable integer convolution- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- layers
VipsOption.IntUse this many layers in approximation
-
convf
Float convolution operation- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
convi
Int convolution operation- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
convsep
Separable convolution operation- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- precision
VipsOption.EnumVipsPrecisionConvolve with this precision, layersVipsOption.IntUse this many layers in approximation, clusterVipsOption.IntCluster lines closer than this in approximation
-
copy
Copy an image- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- swap
VipsOption.BooleanSwap bytes in image between little and big-endian, widthVipsOption.IntImage width in pixels, heightVipsOption.IntImage height in pixels, bandsVipsOption.IntNumber of bands in image, formatVipsOption.EnumVipsBandFormatPixel format in image, codingVipsOption.EnumVipsCodingPixel coding, interpretationVipsOption.EnumVipsInterpretationPixel interpretation, xresVipsOption.DoubleHorizontal resolution in pixels/mm, yresVipsOption.DoubleVertical resolution in pixels/mm, xoffsetVipsOption.IntHorizontal offset of origin, yoffsetVipsOption.IntVertical offset of origin
-
countlines
Count lines in an image- Parameters:
direction-VipsDirectionCountlines left-right or up-downargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
csvload
Load csv- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- skip
VipsOption.IntSkip this many lines at the start of the file, linesVipsOption.IntRead this many lines from the file, whitespaceVipsOption.StringSet of whitespace characters, separatorVipsOption.StringSet of separator characters, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
csvloadSource
Load csv- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- skip
VipsOption.IntSkip this many lines at the start of the file, linesVipsOption.IntRead this many lines from the file, whitespaceVipsOption.StringSet of whitespace characters, separatorVipsOption.StringSet of separator characters, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
csvsave
Save image to csv- Parameters:
filename- Filename to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- separator
VipsOption.StringSeparator characters, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
csvsaveTarget
Save image to csv- Parameters:
target- Target to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- separator
VipsOption.StringSeparator characters, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
dE00
Calculate dE00- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
dE76
Calculate dE76- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
dECMC
Calculate dECMC- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
deviate
Find image standard deviation- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
divide
Divide two images- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
drawCircle
public void drawCircle(List<Double> ink, int cx, int cy, int radius, VipsOption... args) throws VipsError Draw a circle on an image- Parameters:
ink- Color for pixelscx- Centre of draw_circlecy- Centre of draw_circleradius- Radius in pixelsargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- fill
VipsOption.BooleanDraw a solid object
-
drawFlood
Flood-fill an area- Parameters:
ink- Color for pixelsx- DrawFlood start pointy- DrawFlood start pointargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- test
VipsOption.ImageTest pixels in this image, equalVipsOption.BooleanDrawFlood while equal to edge, leftVipsOption.IntLeft edge of modified area, topVipsOption.IntTop edge of modified area, widthVipsOption.IntWidth of modified area, heightVipsOption.IntHeight of modified area
-
drawImage
Paint an image into another image- Parameters:
x- Draw image herey- Draw image hereargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- mode
VipsOption.EnumVipsCombineModeCombining mode
-
drawLine
public void drawLine(List<Double> ink, int x1, int y1, int x2, int y2, VipsOption... args) throws VipsError Draw a line on an image- Parameters:
ink- Color for pixelsx1- Start of draw_liney1- Start of draw_linex2- End of draw_liney2- End of draw_lineargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
drawMask
Draw a mask on an image- Parameters:
ink- Color for pixelsx- Draw mask herey- Draw mask hereargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
drawRect
public void drawRect(List<Double> ink, int left, int top, int width, int height, VipsOption... args) throws VipsError Paint a rectangle on an image- Parameters:
ink- Color for pixelsleft- Rect to filltop- Rect to fillwidth- Rect to fillheight- Rect to fillargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- fill
VipsOption.BooleanDraw a solid object
-
drawSmudge
public void drawSmudge(int left, int top, int width, int height, VipsOption... args) throws VipsError Blur a rectangle on an image- Parameters:
left- Rect to filltop- Rect to fillwidth- Rect to fillheight- Rect to fillargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
dzsave
Save image to deepzoom file- Parameters:
filename- Filename to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- dirname
VipsOption.StringDirectory name to save to, imagenameVipsOption.StringImage name, layoutVipsOption.EnumVipsForeignDzLayoutDirectory layout, suffixVipsOption.StringFilename suffix for tiles, overlapVipsOption.IntTile overlap in pixels, tile-sizeVipsOption.IntTile size in pixels, tile-heightVipsOption.IntTile height in pixels, tile-widthVipsOption.IntTile width in pixels, centreVipsOption.BooleanCenter image in tile, depthVipsOption.EnumVipsForeignDzDepthPyramid depth, angleVipsOption.EnumVipsAngleRotate image during save, containerVipsOption.EnumVipsForeignDzContainerPyramid container type, propertiesVipsOption.BooleanWrite a properties file to the output directory, compressionVipsOption.IntZIP deflate compression level, region-shrinkVipsOption.EnumVipsRegionShrinkMethod to shrink regions, skip-blanksVipsOption.IntSkip tiles which are nearly equal to the background, idVipsOption.StringResource ID, QVipsOption.IntQ factor, no-stripVipsOption.BooleanDon't strip tile metadata, basenameVipsOption.StringBase name to save to, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
dzsaveBuffer
Save image to dz buffer- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- dirname
VipsOption.StringDirectory name to save to, imagenameVipsOption.StringImage name, layoutVipsOption.EnumVipsForeignDzLayoutDirectory layout, suffixVipsOption.StringFilename suffix for tiles, overlapVipsOption.IntTile overlap in pixels, tile-sizeVipsOption.IntTile size in pixels, tile-heightVipsOption.IntTile height in pixels, tile-widthVipsOption.IntTile width in pixels, centreVipsOption.BooleanCenter image in tile, depthVipsOption.EnumVipsForeignDzDepthPyramid depth, angleVipsOption.EnumVipsAngleRotate image during save, containerVipsOption.EnumVipsForeignDzContainerPyramid container type, propertiesVipsOption.BooleanWrite a properties file to the output directory, compressionVipsOption.IntZIP deflate compression level, region-shrinkVipsOption.EnumVipsRegionShrinkMethod to shrink regions, skip-blanksVipsOption.IntSkip tiles which are nearly equal to the background, idVipsOption.StringResource ID, QVipsOption.IntQ factor, no-stripVipsOption.BooleanDon't strip tile metadata, basenameVipsOption.StringBase name to save to, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
dzsaveTarget
Save image to deepzoom target- Parameters:
target- Target to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- dirname
VipsOption.StringDirectory name to save to, imagenameVipsOption.StringImage name, layoutVipsOption.EnumVipsForeignDzLayoutDirectory layout, suffixVipsOption.StringFilename suffix for tiles, overlapVipsOption.IntTile overlap in pixels, tile-sizeVipsOption.IntTile size in pixels, tile-heightVipsOption.IntTile height in pixels, tile-widthVipsOption.IntTile width in pixels, centreVipsOption.BooleanCenter image in tile, depthVipsOption.EnumVipsForeignDzDepthPyramid depth, angleVipsOption.EnumVipsAngleRotate image during save, containerVipsOption.EnumVipsForeignDzContainerPyramid container type, propertiesVipsOption.BooleanWrite a properties file to the output directory, compressionVipsOption.IntZIP deflate compression level, region-shrinkVipsOption.EnumVipsRegionShrinkMethod to shrink regions, skip-blanksVipsOption.IntSkip tiles which are nearly equal to the background, idVipsOption.StringResource ID, QVipsOption.IntQ factor, no-stripVipsOption.BooleanDon't strip tile metadata, basenameVipsOption.StringBase name to save to, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
embed
Embed an image in a larger image- Parameters:
x- Left edge of input in outputy- Top edge of input in outputwidth- Image width in pixelsheight- Image height in pixelsargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- extend
VipsOption.EnumVipsExtendHow to generate the extra pixels, backgroundVipsOption.ArrayDoubleColor for background pixels
-
extractArea
public VImage extractArea(int left, int top, int width, int height, VipsOption... args) throws VipsError Extract an area from an image- Parameters:
left- Left edge of extract areatop- Top edge of extract areawidth- Width of extract areaheight- Height of extract areaargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
extractBand
Extract band from an image- Parameters:
band- Band to extractargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- n
VipsOption.IntNumber of bands to extract
-
eye
Make an image showing the eye's spatial response- Parameters:
width- Image width in pixelsheight- Image height in pixelsargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- uchar
VipsOption.BooleanOutput an unsigned char image, factorVipsOption.DoubleMaximum spatial frequency
-
falsecolour
False-color an image- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
fastcor
Fast correlation- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
fillNearest
Fill image zeros with nearest non-zero pixel- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- distance
VipsOption.ImageDistance to nearest non-zero pixel
-
findTrim
Search an image for non-edge areas- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- threshold
VipsOption.DoubleObject threshold, backgroundVipsOption.ArrayDoubleColor for background pixels, line-artVipsOption.BooleanEnable line art mode
-
fitsload
Load a FITS image- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
fitsloadSource
Load FITS from a source- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
fitssave
Save image to fits file- Parameters:
filename- Filename to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- keep
VipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
flatten
Flatten alpha out of an image- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- background
VipsOption.ArrayDoubleBackground value, max-alphaVipsOption.DoubleMaximum value of alpha channel
-
flip
Flip an image- Parameters:
direction-VipsDirectionDirection to flip imageargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
float2rad
Transform float RGB to Radiance coding- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
fractsurf
public VImage fractsurf(int width, int height, double fractalDimension, VipsOption... args) throws VipsError Make a fractal surface- Parameters:
width- Image width in pixelsheight- Image height in pixelsfractalDimension- Fractal dimensionargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
freqmult
Frequency-domain filtering- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
fwfft
Forward FFT- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
gamma
Gamma an image- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- exponent
VipsOption.DoubleGamma factor
-
gaussblur
Gaussian blur- Parameters:
sigma- Sigma of Gaussianargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- min-ampl
VipsOption.DoubleMinimum amplitude of Gaussian, precisionVipsOption.EnumVipsPrecisionConvolve with this precision
-
gaussmat
Make a gaussian image- Parameters:
sigma- Sigma of GaussianminAmpl- Minimum amplitude of Gaussianargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- separable
VipsOption.BooleanGenerate separable Gaussian, integerVipsOption.BooleanGenerate integer Gaussian, precisionVipsOption.EnumVipsPrecisionGenerate with this precision
-
gaussnoise
Make a gaussnoise image- Parameters:
width- Image width in pixelsheight- Image height in pixelsargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- sigma
VipsOption.DoubleStandard deviation of pixels in generated image, meanVipsOption.DoubleMean of pixels in generated image, seedVipsOption.IntRandom number seed
-
getpoint
Read a point from an image- Parameters:
x- Point to ready- Point to readargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
gifload
Load GIF with libnsgif- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- n
VipsOption.IntNumber of pages to load, -1 for all, pageVipsOption.IntFirst page to load, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
gifloadBuffer
Load GIF with libnsgif- Parameters:
buffer- Buffer to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- n
VipsOption.IntNumber of pages to load, -1 for all, pageVipsOption.IntFirst page to load, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
gifloadSource
Load gif from source- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- n
VipsOption.IntNumber of pages to load, -1 for all, pageVipsOption.IntFirst page to load, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
gifsave
Save as gif- Parameters:
filename- Filename to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- dither
VipsOption.DoubleAmount of dithering, effortVipsOption.IntQuantisation effort, bitdepthVipsOption.IntNumber of bits per pixel, interframe-maxerrorVipsOption.DoubleMaximum inter-frame error for transparency, reuseVipsOption.BooleanReuse palette from input, interpalette-maxerrorVipsOption.DoubleMaximum inter-palette error for palette reusage, interlaceVipsOption.BooleanGenerate an interlaced (progressive) GIF, reoptimiseVipsOption.BooleanReoptimise colour palettes, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
gifsaveBuffer
Save as gif- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- dither
VipsOption.DoubleAmount of dithering, effortVipsOption.IntQuantisation effort, bitdepthVipsOption.IntNumber of bits per pixel, interframe-maxerrorVipsOption.DoubleMaximum inter-frame error for transparency, reuseVipsOption.BooleanReuse palette from input, interpalette-maxerrorVipsOption.DoubleMaximum inter-palette error for palette reusage, interlaceVipsOption.BooleanGenerate an interlaced (progressive) GIF, reoptimiseVipsOption.BooleanReoptimise colour palettes, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
gifsaveTarget
Save as gif- Parameters:
target- Target to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- dither
VipsOption.DoubleAmount of dithering, effortVipsOption.IntQuantisation effort, bitdepthVipsOption.IntNumber of bits per pixel, interframe-maxerrorVipsOption.DoubleMaximum inter-frame error for transparency, reuseVipsOption.BooleanReuse palette from input, interpalette-maxerrorVipsOption.DoubleMaximum inter-palette error for palette reusage, interlaceVipsOption.BooleanGenerate an interlaced (progressive) GIF, reoptimiseVipsOption.BooleanReoptimise colour palettes, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
globalbalance
Global balance an image mosaic- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- gamma
VipsOption.DoubleImage gamma, int-outputVipsOption.BooleanInteger output
-
gravity
Place an image within a larger image with a certain gravity- Parameters:
direction-VipsCompassDirectionDirection to place image within width/heightwidth- Image width in pixelsheight- Image height in pixelsargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- extend
VipsOption.EnumVipsExtendHow to generate the extra pixels, backgroundVipsOption.ArrayDoubleColor for background pixels
-
grey
Make a grey ramp image- Parameters:
width- Image width in pixelsheight- Image height in pixelsargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- uchar
VipsOption.BooleanOutput an unsigned char image
-
grid
Grid an image- Parameters:
tileHeight- Chop into tiles this highacross- Number of tiles acrossdown- Number of tiles downargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
heifload
Load a HEIF image- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- page
VipsOption.IntFirst page to load, nVipsOption.IntNumber of pages to load, -1 for all, thumbnailVipsOption.BooleanFetch thumbnail image, autorotateVipsOption.BooleanRotate image using exif orientation, unlimitedVipsOption.BooleanRemove all denial of service limits, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
heifloadBuffer
Load a HEIF image- Parameters:
buffer- Buffer to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- page
VipsOption.IntFirst page to load, nVipsOption.IntNumber of pages to load, -1 for all, thumbnailVipsOption.BooleanFetch thumbnail image, autorotateVipsOption.BooleanRotate image using exif orientation, unlimitedVipsOption.BooleanRemove all denial of service limits, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
heifloadSource
Load a HEIF image- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- page
VipsOption.IntFirst page to load, nVipsOption.IntNumber of pages to load, -1 for all, thumbnailVipsOption.BooleanFetch thumbnail image, autorotateVipsOption.BooleanRotate image using exif orientation, unlimitedVipsOption.BooleanRemove all denial of service limits, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
heifsave
Save image in HEIF format- Parameters:
filename- Filename to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- Q
VipsOption.IntQ factor, bitdepthVipsOption.IntNumber of bits per pixel, losslessVipsOption.BooleanEnable lossless compression, compressionVipsOption.EnumVipsForeignHeifCompressionCompression format, effortVipsOption.IntCPU effort, subsample-modeVipsOption.EnumVipsForeignSubsampleSelect chroma subsample operation mode, speedVipsOption.IntCPU effort, encoderVipsOption.EnumVipsForeignHeifEncoderSelect encoder to use, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
heifsaveBuffer
Save image in HEIF format- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- Q
VipsOption.IntQ factor, bitdepthVipsOption.IntNumber of bits per pixel, losslessVipsOption.BooleanEnable lossless compression, compressionVipsOption.EnumVipsForeignHeifCompressionCompression format, effortVipsOption.IntCPU effort, subsample-modeVipsOption.EnumVipsForeignSubsampleSelect chroma subsample operation mode, speedVipsOption.IntCPU effort, encoderVipsOption.EnumVipsForeignHeifEncoderSelect encoder to use, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
heifsaveTarget
Save image in HEIF format- Parameters:
target- Target to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- Q
VipsOption.IntQ factor, bitdepthVipsOption.IntNumber of bits per pixel, losslessVipsOption.BooleanEnable lossless compression, compressionVipsOption.EnumVipsForeignHeifCompressionCompression format, effortVipsOption.IntCPU effort, subsample-modeVipsOption.EnumVipsForeignSubsampleSelect chroma subsample operation mode, speedVipsOption.IntCPU effort, encoderVipsOption.EnumVipsForeignHeifEncoderSelect encoder to use, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
histCum
Form cumulative histogram- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
histEntropy
Estimate image entropy- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
histEqual
Histogram equalisation- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- band
VipsOption.IntEqualise with this band
-
histFind
Find image histogram- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- band
VipsOption.IntFind histogram of band
-
histFindIndexed
Find indexed image histogram- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- combine
VipsOption.EnumVipsCombineCombine bins like this
-
histFindNdim
Find n-dimensional image histogram- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- bins
VipsOption.IntNumber of bins in each dimension
-
histIsmonotonic
Test for monotonicity- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
histLocal
Local histogram equalisation- Parameters:
width- Window width in pixelsheight- Window height in pixelsargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- max-slope
VipsOption.IntMaximum slope (CLAHE)
-
histMatch
Match two histograms- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
histNorm
Normalise histogram- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
histPlot
Plot histogram- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
houghCircle
Find hough circle transform- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- scale
VipsOption.IntScale down dimensions by this factor, min-radiusVipsOption.IntSmallest radius to search for, max-radiusVipsOption.IntLargest radius to search for
-
houghLine
Find hough line transform- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- width
VipsOption.IntHorizontal size of parameter space, heightVipsOption.IntVertical size of parameter space
-
iccExport
Output to device with ICC profile- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- pcs
VipsOption.EnumVipsPCSSet Profile Connection Space, intentVipsOption.EnumVipsIntentRendering intent, black-point-compensationVipsOption.BooleanEnable black point compensation, output-profileVipsOption.StringFilename to load output profile from, depthVipsOption.IntOutput device space depth in bits
-
iccImport
Import from device with ICC profile- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- pcs
VipsOption.EnumVipsPCSSet Profile Connection Space, intentVipsOption.EnumVipsIntentRendering intent, black-point-compensationVipsOption.BooleanEnable black point compensation, embeddedVipsOption.BooleanUse embedded input profile, if available, input-profileVipsOption.StringFilename to load input profile from
-
iccTransform
Transform between devices with ICC profiles- Parameters:
outputProfile- Filename to load output profile fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- pcs
VipsOption.EnumVipsPCSSet Profile Connection Space, intentVipsOption.EnumVipsIntentRendering intent, black-point-compensationVipsOption.BooleanEnable black point compensation, embeddedVipsOption.BooleanUse embedded input profile, if available, input-profileVipsOption.StringFilename to load input profile from, depthVipsOption.IntOutput device space depth in bits
-
identity
Make a 1D image where pixel values are indexes- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- bands
VipsOption.IntNumber of bands in LUT, ushortVipsOption.BooleanCreate a 16-bit LUT, sizeVipsOption.IntSize of 16-bit LUT
-
ifthenelse
Ifthenelse an image- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- blend
VipsOption.BooleanBlend smoothly between then and else parts
-
insert
Insert image @sub into @main at @x, @y- Parameters:
x- Left edge of sub in mainy- Top edge of sub in mainargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- expand
VipsOption.BooleanExpand output to hold all of both inputs, backgroundVipsOption.ArrayDoubleColor for new pixels
-
invert
Invert an image- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
invertlut
Build an inverted look-up table- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- size
VipsOption.IntLUT size to generate
-
invfft
Inverse FFT- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- real
VipsOption.BooleanOutput only the real part of the transform
-
join
Join a pair of images- Parameters:
direction-VipsDirectionJoin left-right or up-downargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- expand
VipsOption.BooleanExpand output to hold all of both inputs, shimVipsOption.IntPixels between images, backgroundVipsOption.ArrayDoubleColour for new pixels, alignVipsOption.EnumVipsAlignAlign on the low, centre or high coordinate edge
-
jp2kload
Load JPEG2000 image- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- page
VipsOption.IntLoad this page from the image, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
jp2kloadBuffer
Load JPEG2000 image- Parameters:
buffer- Buffer to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- page
VipsOption.IntLoad this page from the image, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
jp2kloadSource
Load JPEG2000 image- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- page
VipsOption.IntLoad this page from the image, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
jp2ksave
Save image in JPEG2000 format- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- tile-width
VipsOption.IntTile width in pixels, tile-heightVipsOption.IntTile height in pixels, losslessVipsOption.BooleanEnable lossless compression, QVipsOption.IntQ factor, subsample-modeVipsOption.EnumVipsForeignSubsampleSelect chroma subsample operation mode, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
jp2ksaveBuffer
Save image in JPEG2000 format- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- tile-width
VipsOption.IntTile width in pixels, tile-heightVipsOption.IntTile height in pixels, losslessVipsOption.BooleanEnable lossless compression, QVipsOption.IntQ factor, subsample-modeVipsOption.EnumVipsForeignSubsampleSelect chroma subsample operation mode, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
jp2ksaveTarget
Save image in JPEG2000 format- Parameters:
target- Target to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- tile-width
VipsOption.IntTile width in pixels, tile-heightVipsOption.IntTile height in pixels, losslessVipsOption.BooleanEnable lossless compression, QVipsOption.IntQ factor, subsample-modeVipsOption.EnumVipsForeignSubsampleSelect chroma subsample operation mode, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
jpegload
Load jpeg from file- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- shrink
VipsOption.IntShrink factor on load, autorotateVipsOption.BooleanRotate image using exif orientation, unlimitedVipsOption.BooleanRemove all denial of service limits, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
jpegloadBuffer
Load jpeg from buffer- Parameters:
buffer- Buffer to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- shrink
VipsOption.IntShrink factor on load, autorotateVipsOption.BooleanRotate image using exif orientation, unlimitedVipsOption.BooleanRemove all denial of service limits, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
jpegloadSource
Load image from jpeg source- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- shrink
VipsOption.IntShrink factor on load, autorotateVipsOption.BooleanRotate image using exif orientation, unlimitedVipsOption.BooleanRemove all denial of service limits, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
jpegsave
Save image to jpeg file- Parameters:
filename- Filename to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- Q
VipsOption.IntQ factor, optimize-codingVipsOption.BooleanCompute optimal Huffman coding tables, interlaceVipsOption.BooleanGenerate an interlaced (progressive) jpeg, no-subsampleVipsOption.BooleanDisable chroma subsample, trellis-quantVipsOption.BooleanApply trellis quantisation to each 8x8 block, overshoot-deringingVipsOption.BooleanApply overshooting to samples with extreme values, optimize-scansVipsOption.BooleanSplit spectrum of DCT coefficients into separate scans, quant-tableVipsOption.IntUse predefined quantization table with given index, subsample-modeVipsOption.EnumVipsForeignSubsampleSelect chroma subsample operation mode, restart-intervalVipsOption.IntAdd restart markers every specified number of mcu, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
jpegsaveBuffer
Save image to jpeg buffer- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- Q
VipsOption.IntQ factor, optimize-codingVipsOption.BooleanCompute optimal Huffman coding tables, interlaceVipsOption.BooleanGenerate an interlaced (progressive) jpeg, no-subsampleVipsOption.BooleanDisable chroma subsample, trellis-quantVipsOption.BooleanApply trellis quantisation to each 8x8 block, overshoot-deringingVipsOption.BooleanApply overshooting to samples with extreme values, optimize-scansVipsOption.BooleanSplit spectrum of DCT coefficients into separate scans, quant-tableVipsOption.IntUse predefined quantization table with given index, subsample-modeVipsOption.EnumVipsForeignSubsampleSelect chroma subsample operation mode, restart-intervalVipsOption.IntAdd restart markers every specified number of mcu, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
jpegsaveMime
Save image to jpeg mime- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- Q
VipsOption.IntQ factor, optimize-codingVipsOption.BooleanCompute optimal Huffman coding tables, interlaceVipsOption.BooleanGenerate an interlaced (progressive) jpeg, no-subsampleVipsOption.BooleanDisable chroma subsample, trellis-quantVipsOption.BooleanApply trellis quantisation to each 8x8 block, overshoot-deringingVipsOption.BooleanApply overshooting to samples with extreme values, optimize-scansVipsOption.BooleanSplit spectrum of DCT coefficients into separate scans, quant-tableVipsOption.IntUse predefined quantization table with given index, subsample-modeVipsOption.EnumVipsForeignSubsampleSelect chroma subsample operation mode, restart-intervalVipsOption.IntAdd restart markers every specified number of mcu, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
jpegsaveTarget
Save image to jpeg target- Parameters:
target- Target to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- Q
VipsOption.IntQ factor, optimize-codingVipsOption.BooleanCompute optimal Huffman coding tables, interlaceVipsOption.BooleanGenerate an interlaced (progressive) jpeg, no-subsampleVipsOption.BooleanDisable chroma subsample, trellis-quantVipsOption.BooleanApply trellis quantisation to each 8x8 block, overshoot-deringingVipsOption.BooleanApply overshooting to samples with extreme values, optimize-scansVipsOption.BooleanSplit spectrum of DCT coefficients into separate scans, quant-tableVipsOption.IntUse predefined quantization table with given index, subsample-modeVipsOption.EnumVipsForeignSubsampleSelect chroma subsample operation mode, restart-intervalVipsOption.IntAdd restart markers every specified number of mcu, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
jxlload
Load JPEG-XL image- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
jxlloadBuffer
Load JPEG-XL image- Parameters:
buffer- Buffer to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
jxlloadSource
Load JPEG-XL image- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
jxlsave
Save image in JPEG-XL format- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- tier
VipsOption.IntDecode speed tier, distanceVipsOption.DoubleTarget butteraugli distance, effortVipsOption.IntEncoding effort, losslessVipsOption.BooleanEnable lossless compression, QVipsOption.IntQuality factor, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
jxlsaveBuffer
Save image in JPEG-XL format- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- tier
VipsOption.IntDecode speed tier, distanceVipsOption.DoubleTarget butteraugli distance, effortVipsOption.IntEncoding effort, losslessVipsOption.BooleanEnable lossless compression, QVipsOption.IntQuality factor, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
jxlsaveTarget
Save image in JPEG-XL format- Parameters:
target- Target to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- tier
VipsOption.IntDecode speed tier, distanceVipsOption.DoubleTarget butteraugli distance, effortVipsOption.IntEncoding effort, losslessVipsOption.BooleanEnable lossless compression, QVipsOption.IntQuality factor, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
labelregions
Label regions in an image- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- segments
VipsOption.IntNumber of discrete contiguous regions
-
linear
Calculate (a * in + b)- Parameters:
a- Multiply by thisb- Add thisargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- uchar
VipsOption.BooleanOutput should be uchar
-
linecache
Cache an image as a set of lines- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- tile-height
VipsOption.IntTile height in pixels, accessVipsOption.EnumVipsAccessExpected access pattern, threadedVipsOption.BooleanAllow threaded access, persistentVipsOption.BooleanKeep cache between evaluations
-
logmat
Make a Laplacian of Gaussian image- Parameters:
sigma- Radius of GaussianminAmpl- Minimum amplitude of Gaussianargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- separable
VipsOption.BooleanGenerate separable Gaussian, integerVipsOption.BooleanGenerate integer Gaussian, precisionVipsOption.EnumVipsPrecisionGenerate with this precision
-
magickload
Load file with ImageMagick7- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- density
VipsOption.StringCanvas resolution for rendering vector formats like SVG, pageVipsOption.IntFirst page to load, nVipsOption.IntNumber of pages to load, -1 for all, all-framesVipsOption.BooleanRead all frames from an image, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
magickloadBuffer
Load buffer with ImageMagick7- Parameters:
buffer- Buffer to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- density
VipsOption.StringCanvas resolution for rendering vector formats like SVG, pageVipsOption.IntFirst page to load, nVipsOption.IntNumber of pages to load, -1 for all, all-framesVipsOption.BooleanRead all frames from an image, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
magicksave
Save file with ImageMagick- Parameters:
filename- Filename to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- format
VipsOption.StringFormat to save in, qualityVipsOption.IntQuality to use, optimize-gif-framesVipsOption.BooleanApply GIF frames optimization, optimize-gif-transparencyVipsOption.BooleanApply GIF transparency optimization, bitdepthVipsOption.IntNumber of bits per pixel, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
magicksaveBuffer
Save image to magick buffer- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- format
VipsOption.StringFormat to save in, qualityVipsOption.IntQuality to use, optimize-gif-framesVipsOption.BooleanApply GIF frames optimization, optimize-gif-transparencyVipsOption.BooleanApply GIF transparency optimization, bitdepthVipsOption.IntNumber of bits per pixel, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
mapim
Resample with a map image- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- interpolate
VipsOption.InterpolateInterpolate pixels with this, backgroundVipsOption.ArrayDoubleBackground value, premultipliedVipsOption.BooleanImages have premultiplied alpha, extendVipsOption.EnumVipsExtendHow to generate the extra pixels
-
maplut
Map an image though a lut- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- band
VipsOption.IntApply one-band lut to this band of in
-
maskButterworth
public VImage maskButterworth(int width, int height, double order, double frequencyCutoff, double amplitudeCutoff, VipsOption... args) throws VipsError Make a butterworth filter- Parameters:
width- Image width in pixelsheight- Image height in pixelsorder- Filter orderfrequencyCutoff- Frequency cutoffamplitudeCutoff- Amplitude cutoffargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- uchar
VipsOption.BooleanOutput an unsigned char image, nodcVipsOption.BooleanRemove DC component, rejectVipsOption.BooleanInvert the sense of the filter, opticalVipsOption.BooleanRotate quadrants to optical space
-
maskButterworthBand
public VImage maskButterworthBand(int width, int height, double order, double frequencyCutoffX, double frequencyCutoffY, double radius, double amplitudeCutoff, VipsOption... args) throws VipsError Make a butterworth_band filter- Parameters:
width- Image width in pixelsheight- Image height in pixelsorder- Filter orderfrequencyCutoffX- Frequency cutoff xfrequencyCutoffY- Frequency cutoff yradius- Radius of circleamplitudeCutoff- Amplitude cutoffargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- uchar
VipsOption.BooleanOutput an unsigned char image, nodcVipsOption.BooleanRemove DC component, rejectVipsOption.BooleanInvert the sense of the filter, opticalVipsOption.BooleanRotate quadrants to optical space
-
maskButterworthRing
public VImage maskButterworthRing(int width, int height, double order, double frequencyCutoff, double amplitudeCutoff, double ringwidth, VipsOption... args) throws VipsError Make a butterworth ring filter- Parameters:
width- Image width in pixelsheight- Image height in pixelsorder- Filter orderfrequencyCutoff- Frequency cutoffamplitudeCutoff- Amplitude cutoffringwidth- Ringwidthargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- uchar
VipsOption.BooleanOutput an unsigned char image, nodcVipsOption.BooleanRemove DC component, rejectVipsOption.BooleanInvert the sense of the filter, opticalVipsOption.BooleanRotate quadrants to optical space
-
maskFractal
public VImage maskFractal(int width, int height, double fractalDimension, VipsOption... args) throws VipsError Make fractal filter- Parameters:
width- Image width in pixelsheight- Image height in pixelsfractalDimension- Fractal dimensionargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- uchar
VipsOption.BooleanOutput an unsigned char image, nodcVipsOption.BooleanRemove DC component, rejectVipsOption.BooleanInvert the sense of the filter, opticalVipsOption.BooleanRotate quadrants to optical space
-
maskGaussian
public VImage maskGaussian(int width, int height, double frequencyCutoff, double amplitudeCutoff, VipsOption... args) throws VipsError Make a gaussian filter- Parameters:
width- Image width in pixelsheight- Image height in pixelsfrequencyCutoff- Frequency cutoffamplitudeCutoff- Amplitude cutoffargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- uchar
VipsOption.BooleanOutput an unsigned char image, nodcVipsOption.BooleanRemove DC component, rejectVipsOption.BooleanInvert the sense of the filter, opticalVipsOption.BooleanRotate quadrants to optical space
-
maskGaussianBand
public VImage maskGaussianBand(int width, int height, double frequencyCutoffX, double frequencyCutoffY, double radius, double amplitudeCutoff, VipsOption... args) throws VipsError Make a gaussian filter- Parameters:
width- Image width in pixelsheight- Image height in pixelsfrequencyCutoffX- Frequency cutoff xfrequencyCutoffY- Frequency cutoff yradius- Radius of circleamplitudeCutoff- Amplitude cutoffargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- uchar
VipsOption.BooleanOutput an unsigned char image, nodcVipsOption.BooleanRemove DC component, rejectVipsOption.BooleanInvert the sense of the filter, opticalVipsOption.BooleanRotate quadrants to optical space
-
maskGaussianRing
public VImage maskGaussianRing(int width, int height, double frequencyCutoff, double amplitudeCutoff, double ringwidth, VipsOption... args) throws VipsError Make a gaussian ring filter- Parameters:
width- Image width in pixelsheight- Image height in pixelsfrequencyCutoff- Frequency cutoffamplitudeCutoff- Amplitude cutoffringwidth- Ringwidthargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- uchar
VipsOption.BooleanOutput an unsigned char image, nodcVipsOption.BooleanRemove DC component, rejectVipsOption.BooleanInvert the sense of the filter, opticalVipsOption.BooleanRotate quadrants to optical space
-
maskIdeal
public VImage maskIdeal(int width, int height, double frequencyCutoff, VipsOption... args) throws VipsError Make an ideal filter- Parameters:
width- Image width in pixelsheight- Image height in pixelsfrequencyCutoff- Frequency cutoffargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- uchar
VipsOption.BooleanOutput an unsigned char image, nodcVipsOption.BooleanRemove DC component, rejectVipsOption.BooleanInvert the sense of the filter, opticalVipsOption.BooleanRotate quadrants to optical space
-
maskIdealBand
public VImage maskIdealBand(int width, int height, double frequencyCutoffX, double frequencyCutoffY, double radius, VipsOption... args) throws VipsError Make an ideal band filter- Parameters:
width- Image width in pixelsheight- Image height in pixelsfrequencyCutoffX- Frequency cutoff xfrequencyCutoffY- Frequency cutoff yradius- Radius of circleargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- uchar
VipsOption.BooleanOutput an unsigned char image, nodcVipsOption.BooleanRemove DC component, rejectVipsOption.BooleanInvert the sense of the filter, opticalVipsOption.BooleanRotate quadrants to optical space
-
maskIdealRing
public VImage maskIdealRing(int width, int height, double frequencyCutoff, double ringwidth, VipsOption... args) throws VipsError Make an ideal ring filter- Parameters:
width- Image width in pixelsheight- Image height in pixelsfrequencyCutoff- Frequency cutoffringwidth- Ringwidthargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- uchar
VipsOption.BooleanOutput an unsigned char image, nodcVipsOption.BooleanRemove DC component, rejectVipsOption.BooleanInvert the sense of the filter, opticalVipsOption.BooleanRotate quadrants to optical space
-
match
public VImage match(int xr1, int yr1, int xs1, int ys1, int xr2, int yr2, int xs2, int ys2, VipsOption... args) throws VipsError First-order match of two images- Parameters:
xr1- Position of first reference tie-pointyr1- Position of first reference tie-pointxs1- Position of first secondary tie-pointys1- Position of first secondary tie-pointxr2- Position of second reference tie-pointyr2- Position of second reference tie-pointxs2- Position of second secondary tie-pointys2- Position of second secondary tie-pointargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- hwindow
VipsOption.IntHalf window size, hareaVipsOption.IntHalf area size, searchVipsOption.BooleanSearch to improve tie-points, interpolateVipsOption.InterpolateInterpolate pixels with this
-
math
Apply a math operation to an image- Parameters:
math-VipsOperationMathMath to performargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
math2
Binary math operations- Parameters:
math2-VipsOperationMath2Math to performargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
math2Const
Binary math operations with a constant- Parameters:
math2-VipsOperationMath2Math to performc- Array of constantsargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
matload
Load mat from file- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
matrixinvert
Invert an matrix- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
matrixload
Load matrix- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
matrixloadSource
Load matrix- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
matrixprint
Print matrix- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- keep
VipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
matrixsave
Save image to matrix- Parameters:
filename- Filename to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- keep
VipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
matrixsaveTarget
Save image to matrix- Parameters:
target- Target to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- keep
VipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
max
Find image maximum- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- x
VipsOption.IntHorizontal position of maximum, yVipsOption.IntVertical position of maximum, sizeVipsOption.IntNumber of maximum values to find, out-arrayVipsOption.ArrayDoubleArray of output values, x-arrayVipsOption.ArrayIntArray of horizontal positions, y-arrayVipsOption.ArrayIntArray of vertical positions
-
measure
Measure a set of patches on a color chart- Parameters:
h- Number of patches across chartv- Number of patches down chartargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- left
VipsOption.IntLeft edge of extract area, topVipsOption.IntTop edge of extract area, widthVipsOption.IntWidth of extract area, heightVipsOption.IntHeight of extract area
-
merge
Merge two images- Parameters:
direction-VipsDirectionHorizontal or vertical mergedx- Horizontal displacement from sec to refdy- Vertical displacement from sec to refargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- mblend
VipsOption.IntMaximum blend size
-
min
Find image minimum- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- x
VipsOption.IntHorizontal position of minimum, yVipsOption.IntVertical position of minimum, sizeVipsOption.IntNumber of minimum values to find, out-arrayVipsOption.ArrayDoubleArray of output values, x-arrayVipsOption.ArrayIntArray of horizontal positions, y-arrayVipsOption.ArrayIntArray of vertical positions
-
morph
Morphology operation- Parameters:
morph-VipsOperationMorphologyMorphological operation to performargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
mosaic
public VImage mosaic(VEnum direction, int xref, int yref, int xsec, int ysec, VipsOption... args) throws VipsError Mosaic two images- Parameters:
direction-VipsDirectionHorizontal or vertical mosaicxref- Position of reference tie-pointyref- Position of reference tie-pointxsec- Position of secondary tie-pointysec- Position of secondary tie-pointargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- hwindow
VipsOption.IntHalf window size, hareaVipsOption.IntHalf area size, mblendVipsOption.IntMaximum blend size, bandnoVipsOption.IntBand to search for features on, dx0VipsOption.IntDetected integer offset, dy0VipsOption.IntDetected integer offset, scale1VipsOption.DoubleDetected scale, angle1VipsOption.DoubleDetected rotation, dy1VipsOption.DoubleDetected first-order displacement, dx1VipsOption.DoubleDetected first-order displacement
-
mosaic1
public VImage mosaic1(VEnum direction, int xr1, int yr1, int xs1, int ys1, int xr2, int yr2, int xs2, int ys2, VipsOption... args) throws VipsError First-order mosaic of two images- Parameters:
direction-VipsDirectionHorizontal or vertical mosaicxr1- Position of first reference tie-pointyr1- Position of first reference tie-pointxs1- Position of first secondary tie-pointys1- Position of first secondary tie-pointxr2- Position of second reference tie-pointyr2- Position of second reference tie-pointxs2- Position of second secondary tie-pointys2- Position of second secondary tie-pointargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- hwindow
VipsOption.IntHalf window size, hareaVipsOption.IntHalf area size, searchVipsOption.BooleanSearch to improve tie-points, interpolateVipsOption.InterpolateInterpolate pixels with this, mblendVipsOption.IntMaximum blend size, bandnoVipsOption.IntBand to search for features on
-
msb
Pick most-significant byte from an image- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- band
VipsOption.IntBand to msb
-
multiply
Multiply two images- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
openexrload
Load an OpenEXR image- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
openslideload
Load file with OpenSlide- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- level
VipsOption.IntLoad this level from the file, autocropVipsOption.BooleanCrop to image bounds, associatedVipsOption.StringLoad this associated image, attach-associatedVipsOption.BooleanAttach all associated images, rgbVipsOption.BooleanOutput RGB (not RGBA), flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
openslideloadSource
Load source with OpenSlide- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- level
VipsOption.IntLoad this level from the file, autocropVipsOption.BooleanCrop to image bounds, associatedVipsOption.StringLoad this associated image, attach-associatedVipsOption.BooleanAttach all associated images, rgbVipsOption.BooleanOutput RGB (not RGBA), flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
pdfload
Load PDF from file- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- page
VipsOption.IntFirst page to load, nVipsOption.IntNumber of pages to load, -1 for all, dpiVipsOption.DoubleDPI to render at, scaleVipsOption.DoubleFactor to scale by, backgroundVipsOption.ArrayDoubleBackground colour, passwordVipsOption.StringPassword to decrypt with, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
pdfloadBuffer
Load PDF from buffer- Parameters:
buffer- Buffer to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- page
VipsOption.IntFirst page to load, nVipsOption.IntNumber of pages to load, -1 for all, dpiVipsOption.DoubleDPI to render at, scaleVipsOption.DoubleFactor to scale by, backgroundVipsOption.ArrayDoubleBackground colour, passwordVipsOption.StringPassword to decrypt with, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
pdfloadSource
Load PDF from source- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- page
VipsOption.IntFirst page to load, nVipsOption.IntNumber of pages to load, -1 for all, dpiVipsOption.DoubleDPI to render at, scaleVipsOption.DoubleFactor to scale by, backgroundVipsOption.ArrayDoubleBackground colour, passwordVipsOption.StringPassword to decrypt with, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
percent
Find threshold for percent of pixels- Parameters:
percent- Percent of pixelsargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
perlin
Make a perlin noise image- Parameters:
width- Image width in pixelsheight- Image height in pixelsargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- cell-size
VipsOption.IntSize of Perlin cells, ucharVipsOption.BooleanOutput an unsigned char image, seedVipsOption.IntRandom number seed
-
phasecor
Calculate phase correlation- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
pngload
Load png from file- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- unlimited
VipsOption.BooleanRemove all denial of service limits, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
pngloadBuffer
Load png from buffer- Parameters:
buffer- Buffer to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- unlimited
VipsOption.BooleanRemove all denial of service limits, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
pngloadSource
Load png from source- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- unlimited
VipsOption.BooleanRemove all denial of service limits, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
pngsave
Save image to file as PNG- Parameters:
filename- Filename to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- compression
VipsOption.IntCompression factor, interlaceVipsOption.BooleanInterlace image, filterVipsOption.IntLibspng row filter flag(s), paletteVipsOption.BooleanQuantise to 8bpp palette, coloursVipsOption.IntMax number of palette colours, QVipsOption.IntQuantisation quality, ditherVipsOption.DoubleAmount of dithering, bitdepthVipsOption.IntWrite as a 1, 2, 4, 8 or 16 bit image, effortVipsOption.IntQuantisation CPU effort, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
pngsaveBuffer
Save image to buffer as PNG- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- compression
VipsOption.IntCompression factor, interlaceVipsOption.BooleanInterlace image, filterVipsOption.IntLibspng row filter flag(s), paletteVipsOption.BooleanQuantise to 8bpp palette, coloursVipsOption.IntMax number of palette colours, QVipsOption.IntQuantisation quality, ditherVipsOption.DoubleAmount of dithering, bitdepthVipsOption.IntWrite as a 1, 2, 4, 8 or 16 bit image, effortVipsOption.IntQuantisation CPU effort, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
pngsaveTarget
Save image to target as PNG- Parameters:
target- Target to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- compression
VipsOption.IntCompression factor, interlaceVipsOption.BooleanInterlace image, filterVipsOption.IntLibspng row filter flag(s), paletteVipsOption.BooleanQuantise to 8bpp palette, coloursVipsOption.IntMax number of palette colours, QVipsOption.IntQuantisation quality, ditherVipsOption.DoubleAmount of dithering, bitdepthVipsOption.IntWrite as a 1, 2, 4, 8 or 16 bit image, effortVipsOption.IntQuantisation CPU effort, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
ppmload
Load ppm from file- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
ppmloadSource
Load ppm base class- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
ppmsave
Save image to ppm file- Parameters:
filename- Filename to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- format
VipsOption.EnumVipsForeignPpmFormatFormat to save in, asciiVipsOption.BooleanSave as ascii, squashVipsOption.BooleanSave as one bit, bitdepthVipsOption.IntSet to 1 to write as a 1 bit image, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
ppmsaveTarget
Save to ppm- Parameters:
target- Target to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- format
VipsOption.EnumVipsForeignPpmFormatFormat to save in, asciiVipsOption.BooleanSave as ascii, squashVipsOption.BooleanSave as one bit, bitdepthVipsOption.IntSet to 1 to write as a 1 bit image, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
premultiply
Premultiply image alpha- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- max-alpha
VipsOption.DoubleMaximum value of alpha channel
-
prewitt
Prewitt edge detector- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
profile
Find image profiles- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
project
Find image projections- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
quadratic
Resample an image with a quadratic transform- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- interpolate
VipsOption.InterpolateInterpolate values with this
-
rad2float
Unpack Radiance coding to float RGB- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
radload
Load a Radiance image from a file- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
radloadBuffer
Load rad from buffer- Parameters:
buffer- Buffer to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
radloadSource
Load rad from source- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
radsave
Save image to Radiance file- Parameters:
filename- Filename to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- keep
VipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
radsaveBuffer
Save image to Radiance buffer- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- keep
VipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
radsaveTarget
Save image to Radiance target- Parameters:
target- Target to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- keep
VipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
rank
Rank filter- Parameters:
width- Window width in pixelsheight- Window height in pixelsindex- Select pixel at indexargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
rawload
public VImage rawload(String filename, int width, int height, int bands, VipsOption... args) throws VipsError Load raw data from a file- Parameters:
filename- Filename to load fromwidth- Image width in pixelsheight- Image height in pixelsbands- Number of bands in imageargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- offset
VipsOption.LongOffset in bytes from start of file, formatVipsOption.EnumVipsBandFormatPixel format in image, interpretationVipsOption.EnumVipsInterpretationPixel interpretation, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
rawsave
Save image to raw file- Parameters:
filename- Filename to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- keep
VipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
rawsaveFd
Write raw image to file descriptor- Parameters:
fd- File descriptor to write toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- keep
VipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
recomb
Linear recombination with matrix- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
reduce
public VImage reduce(double xshrink, double hshrink, double yshrink, double vshrink, VipsOption... args) throws VipsError Reduce an image- Parameters:
xshrink- Horizontal shrink factorhshrink- Horizontal shrink factoryshrink- Vertical shrink factorvshrink- Vertical shrink factorargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- kernel
VipsOption.EnumVipsKernelResampling kernel, gapVipsOption.DoubleReducing gap, centreVipsOption.BooleanUse centre sampling convention
-
reduceh
Shrink an image horizontally- Parameters:
xshrink- Horizontal shrink factorhshrink- Horizontal shrink factorargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- kernel
VipsOption.EnumVipsKernelResampling kernel, gapVipsOption.DoubleReducing gap, centreVipsOption.BooleanUse centre sampling convention
-
reducev
Shrink an image vertically- Parameters:
yshrink- Vertical shrink factorvshrink- Vertical shrink factorargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- kernel
VipsOption.EnumVipsKernelResampling kernel, gapVipsOption.DoubleReducing gap, centreVipsOption.BooleanUse centre sampling convention
-
relational
Relational operation on two images- Parameters:
relational-VipsOperationRelationalRelational to performargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
relationalConst
public VImage relationalConst(VEnum relational, List<Double> c, VipsOption... args) throws VipsError Relational operations against a constant- Parameters:
relational-VipsOperationRelationalRelational to performc- Array of constantsargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
remainder
Remainder after integer division of two images- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
remainderConst
-
replicate
Replicate an image- Parameters:
across- Repeat this many times horizontallydown- Repeat this many times verticallyargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
resize
Resize an image- Parameters:
scale- Scale image by this factorargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- interpolate
VipsOption.InterpolateInterpolate pixels with this, kernelVipsOption.EnumVipsKernelResampling kernel, gapVipsOption.DoubleReducing gap, centreVipsOption.BooleanUse centre sampling convention, vscaleVipsOption.DoubleVertical scale image by this factor, idxVipsOption.DoubleHorizontal input displacement, idyVipsOption.DoubleVertical input displacement
-
rot
-
rot45
Rotate an image- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- angle
VipsOption.EnumVipsAngle45Angle to rotate image
-
rotate
Rotate an image by a number of degrees- Parameters:
angle- Rotate anticlockwise by this many degreesargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- interpolate
VipsOption.InterpolateInterpolate pixels with this, backgroundVipsOption.ArrayDoubleBackground value, odxVipsOption.DoubleHorizontal output displacement, odyVipsOption.DoubleVertical output displacement, idxVipsOption.DoubleHorizontal input displacement, idyVipsOption.DoubleVertical input displacement
-
round
Perform a round function on an image- Parameters:
round-VipsOperationRoundRounding operation to performargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
sRGB2HSV
Transform sRGB to HSV- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
sRGB2scRGB
Convert an sRGB image to scRGB- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
scRGB2BW
Convert scRGB to BW- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- depth
VipsOption.IntOutput device space depth in bits
-
scRGB2XYZ
Transform scRGB to XYZ- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
scRGB2sRGB
Convert an scRGB image to sRGB- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- depth
VipsOption.IntOutput device space depth in bits
-
scale
Scale an image to uchar- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- exp
VipsOption.DoubleExponent for log scale, logVipsOption.BooleanLog scale
-
scharr
Scharr edge detector- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
sequential
Check sequential access- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- trace
VipsOption.BooleanTrace pixel requests, tile-heightVipsOption.IntTile height in pixels, accessVipsOption.EnumVipsAccessExpected access pattern
-
sharpen
Unsharp masking for print- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- radius
VipsOption.IntRadius of Gaussian, sigmaVipsOption.DoubleSigma of Gaussian, x1VipsOption.DoubleFlat/jaggy threshold, y2VipsOption.DoubleMaximum brightening, y3VipsOption.DoubleMaximum darkening, m1VipsOption.DoubleSlope for flat areas, m2VipsOption.DoubleSlope for jaggy areas
-
shrink
public VImage shrink(double xshrink, double hshrink, double yshrink, double vshrink, VipsOption... args) throws VipsError Shrink an image- Parameters:
xshrink- Horizontal shrink factorhshrink- Horizontal shrink factoryshrink- Vertical shrink factorvshrink- Vertical shrink factorargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- ceil
VipsOption.BooleanRound-up output dimensions
-
shrinkh
Shrink an image horizontally- Parameters:
xshrink- Horizontal shrink factorhshrink- Horizontal shrink factorargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- ceil
VipsOption.BooleanRound-up output dimensions
-
shrinkv
Shrink an image vertically- Parameters:
yshrink- Vertical shrink factorvshrink- Vertical shrink factorargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- ceil
VipsOption.BooleanRound-up output dimensions
-
sign
Unit vector of pixel- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
similarity
Similarity transform of an image- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- scale
VipsOption.DoubleScale by this factor, angleVipsOption.DoubleRotate anticlockwise by this many degrees, interpolateVipsOption.InterpolateInterpolate pixels with this, backgroundVipsOption.ArrayDoubleBackground value, odxVipsOption.DoubleHorizontal output displacement, odyVipsOption.DoubleVertical output displacement, idxVipsOption.DoubleHorizontal input displacement, idyVipsOption.DoubleVertical input displacement
-
sines
Make a 2D sine wave- Parameters:
width- Image width in pixelsheight- Image height in pixelsargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- uchar
VipsOption.BooleanOutput an unsigned char image, hfreqVipsOption.DoubleHorizontal spatial frequency, vfreqVipsOption.DoubleVertical spatial frequency
-
smartcrop
Extract an area from an image- Parameters:
width- Width of extract areaheight- Height of extract areaargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- attention-x
VipsOption.IntHorizontal position of attention centre, attention-yVipsOption.IntVertical position of attention centre, interestingVipsOption.EnumVipsInterestingHow to measure interestingness, premultipliedVipsOption.BooleanInput image already has premultiplied alpha
-
sobel
Sobel edge detector- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
spcor
Spatial correlation- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
spectrum
Make displayable power spectrum- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
stats
Find many image stats- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
stdif
Statistical difference- Parameters:
width- Window width in pixelsheight- Window height in pixelsargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- s0
VipsOption.DoubleNew deviation, bVipsOption.DoubleWeight of new deviation, m0VipsOption.DoubleNew mean, aVipsOption.DoubleWeight of new mean
-
subsample
Subsample an image- Parameters:
xfac- Horizontal subsample factoryfac- Vertical subsample factorargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- point
VipsOption.BooleanPoint sample
-
subtract
Subtract two images- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError
-
sum
-
svgload
Load SVG with rsvg- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- dpi
VipsOption.DoubleRender at this DPI, scaleVipsOption.DoubleScale output by this factor, unlimitedVipsOption.BooleanAllow SVG of any size, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
svgloadBuffer
Load SVG with rsvg- Parameters:
buffer- Buffer to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- dpi
VipsOption.DoubleRender at this DPI, scaleVipsOption.DoubleScale output by this factor, unlimitedVipsOption.BooleanAllow SVG of any size, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
svgloadSource
Load svg from source- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- dpi
VipsOption.DoubleRender at this DPI, scaleVipsOption.DoubleScale output by this factor, unlimitedVipsOption.BooleanAllow SVG of any size, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
switch1
-
text
Make a text image- Parameters:
text- Text to renderargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- font
VipsOption.StringFont to render with, widthVipsOption.IntMaximum image width in pixels, heightVipsOption.IntMaximum image height in pixels, alignVipsOption.EnumVipsAlignAlign on the low, centre or high edge, justifyVipsOption.BooleanJustify lines, dpiVipsOption.IntDPI to render at, autofit-dpiVipsOption.IntDPI selected by autofit, spacingVipsOption.IntLine spacing, fontfileVipsOption.StringLoad this font file, rgbaVipsOption.BooleanEnable RGBA output, wrapVipsOption.EnumVipsTextWrapWrap lines on word or character boundaries
-
thumbnail
Generate thumbnail from file- Parameters:
filename- Filename to read fromwidth- Size to this widthargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- height
VipsOption.IntSize to this height, sizeVipsOption.EnumVipsSizeOnly upsize, only downsize, or both, no-rotateVipsOption.BooleanDon't use orientation tags to rotate image upright, cropVipsOption.EnumVipsInterestingReduce to fill target rectangle, then crop, linearVipsOption.BooleanReduce in linear light, import-profileVipsOption.StringFallback import profile, export-profileVipsOption.StringFallback export profile, intentVipsOption.EnumVipsIntentRendering intent, auto-rotateVipsOption.BooleanUse orientation tags to rotate image upright, fail-onVipsOption.EnumVipsFailOnError level to fail on
-
thumbnailBuffer
Generate thumbnail from buffer- Parameters:
buffer- Buffer to load fromwidth- Size to this widthargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- option-string
VipsOption.StringOptions that are passed on to the underlying loader, heightVipsOption.IntSize to this height, sizeVipsOption.EnumVipsSizeOnly upsize, only downsize, or both, no-rotateVipsOption.BooleanDon't use orientation tags to rotate image upright, cropVipsOption.EnumVipsInterestingReduce to fill target rectangle, then crop, linearVipsOption.BooleanReduce in linear light, import-profileVipsOption.StringFallback import profile, export-profileVipsOption.StringFallback export profile, intentVipsOption.EnumVipsIntentRendering intent, auto-rotateVipsOption.BooleanUse orientation tags to rotate image upright, fail-onVipsOption.EnumVipsFailOnError level to fail on
-
thumbnailImage
Generate thumbnail from image- Parameters:
width- Size to this widthargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- height
VipsOption.IntSize to this height, sizeVipsOption.EnumVipsSizeOnly upsize, only downsize, or both, no-rotateVipsOption.BooleanDon't use orientation tags to rotate image upright, cropVipsOption.EnumVipsInterestingReduce to fill target rectangle, then crop, linearVipsOption.BooleanReduce in linear light, import-profileVipsOption.StringFallback import profile, export-profileVipsOption.StringFallback export profile, intentVipsOption.EnumVipsIntentRendering intent, auto-rotateVipsOption.BooleanUse orientation tags to rotate image upright, fail-onVipsOption.EnumVipsFailOnError level to fail on
-
thumbnailSource
Generate thumbnail from source- Parameters:
source- Source to load fromwidth- Size to this widthargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- option-string
VipsOption.StringOptions that are passed on to the underlying loader, heightVipsOption.IntSize to this height, sizeVipsOption.EnumVipsSizeOnly upsize, only downsize, or both, no-rotateVipsOption.BooleanDon't use orientation tags to rotate image upright, cropVipsOption.EnumVipsInterestingReduce to fill target rectangle, then crop, linearVipsOption.BooleanReduce in linear light, import-profileVipsOption.StringFallback import profile, export-profileVipsOption.StringFallback export profile, intentVipsOption.EnumVipsIntentRendering intent, auto-rotateVipsOption.BooleanUse orientation tags to rotate image upright, fail-onVipsOption.EnumVipsFailOnError level to fail on
-
tiffload
Load tiff from file- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- page
VipsOption.IntFirst page to load, subifdVipsOption.IntSubifd index, nVipsOption.IntNumber of pages to load, -1 for all, autorotateVipsOption.BooleanRotate image using orientation tag, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
tiffloadBuffer
Load tiff from buffer- Parameters:
buffer- Buffer to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- page
VipsOption.IntFirst page to load, subifdVipsOption.IntSubifd index, nVipsOption.IntNumber of pages to load, -1 for all, autorotateVipsOption.BooleanRotate image using orientation tag, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
tiffloadSource
Load tiff from source- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- page
VipsOption.IntFirst page to load, subifdVipsOption.IntSubifd index, nVipsOption.IntNumber of pages to load, -1 for all, autorotateVipsOption.BooleanRotate image using orientation tag, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
tiffsave
Save image to tiff file- Parameters:
filename- Filename to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- compression
VipsOption.EnumVipsForeignTiffCompressionCompression for this file, QVipsOption.IntQ factor, predictorVipsOption.EnumVipsForeignTiffPredictorCompression prediction, tileVipsOption.BooleanWrite a tiled tiff, tile-widthVipsOption.IntTile width in pixels, tile-heightVipsOption.IntTile height in pixels, pyramidVipsOption.BooleanWrite a pyramidal tiff, miniswhiteVipsOption.BooleanUse 0 for white in 1-bit images, bitdepthVipsOption.IntWrite as a 1, 2, 4 or 8 bit image, resunitVipsOption.EnumVipsForeignTiffResunitResolution unit, xresVipsOption.DoubleHorizontal resolution in pixels/mm, yresVipsOption.DoubleVertical resolution in pixels/mm, bigtiffVipsOption.BooleanWrite a bigtiff image, propertiesVipsOption.BooleanWrite a properties document to IMAGEDESCRIPTION, region-shrinkVipsOption.EnumVipsRegionShrinkMethod to shrink regions, levelVipsOption.IntZSTD compression level, losslessVipsOption.BooleanEnable WEBP lossless mode, depthVipsOption.EnumVipsForeignDzDepthPyramid depth, subifdVipsOption.BooleanSave pyr layers as sub-IFDs, premultiplyVipsOption.BooleanSave with premultiplied alpha, rgbjpegVipsOption.BooleanOutput RGB JPEG rather than YCbCr, squashVipsOption.BooleanSquash images down to 1 bit, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
tiffsaveBuffer
Save image to tiff buffer- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- compression
VipsOption.EnumVipsForeignTiffCompressionCompression for this file, QVipsOption.IntQ factor, predictorVipsOption.EnumVipsForeignTiffPredictorCompression prediction, tileVipsOption.BooleanWrite a tiled tiff, tile-widthVipsOption.IntTile width in pixels, tile-heightVipsOption.IntTile height in pixels, pyramidVipsOption.BooleanWrite a pyramidal tiff, miniswhiteVipsOption.BooleanUse 0 for white in 1-bit images, bitdepthVipsOption.IntWrite as a 1, 2, 4 or 8 bit image, resunitVipsOption.EnumVipsForeignTiffResunitResolution unit, xresVipsOption.DoubleHorizontal resolution in pixels/mm, yresVipsOption.DoubleVertical resolution in pixels/mm, bigtiffVipsOption.BooleanWrite a bigtiff image, propertiesVipsOption.BooleanWrite a properties document to IMAGEDESCRIPTION, region-shrinkVipsOption.EnumVipsRegionShrinkMethod to shrink regions, levelVipsOption.IntZSTD compression level, losslessVipsOption.BooleanEnable WEBP lossless mode, depthVipsOption.EnumVipsForeignDzDepthPyramid depth, subifdVipsOption.BooleanSave pyr layers as sub-IFDs, premultiplyVipsOption.BooleanSave with premultiplied alpha, rgbjpegVipsOption.BooleanOutput RGB JPEG rather than YCbCr, squashVipsOption.BooleanSquash images down to 1 bit, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
tiffsaveTarget
Save image to tiff target- Parameters:
target- Target to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- compression
VipsOption.EnumVipsForeignTiffCompressionCompression for this file, QVipsOption.IntQ factor, predictorVipsOption.EnumVipsForeignTiffPredictorCompression prediction, tileVipsOption.BooleanWrite a tiled tiff, tile-widthVipsOption.IntTile width in pixels, tile-heightVipsOption.IntTile height in pixels, pyramidVipsOption.BooleanWrite a pyramidal tiff, miniswhiteVipsOption.BooleanUse 0 for white in 1-bit images, bitdepthVipsOption.IntWrite as a 1, 2, 4 or 8 bit image, resunitVipsOption.EnumVipsForeignTiffResunitResolution unit, xresVipsOption.DoubleHorizontal resolution in pixels/mm, yresVipsOption.DoubleVertical resolution in pixels/mm, bigtiffVipsOption.BooleanWrite a bigtiff image, propertiesVipsOption.BooleanWrite a properties document to IMAGEDESCRIPTION, region-shrinkVipsOption.EnumVipsRegionShrinkMethod to shrink regions, levelVipsOption.IntZSTD compression level, losslessVipsOption.BooleanEnable WEBP lossless mode, depthVipsOption.EnumVipsForeignDzDepthPyramid depth, subifdVipsOption.BooleanSave pyr layers as sub-IFDs, premultiplyVipsOption.BooleanSave with premultiplied alpha, rgbjpegVipsOption.BooleanOutput RGB JPEG rather than YCbCr, squashVipsOption.BooleanSquash images down to 1 bit, keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
tilecache
Cache an image as a set of tiles- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- tile-width
VipsOption.IntTile width in pixels, tile-heightVipsOption.IntTile height in pixels, max-tilesVipsOption.IntMaximum number of tiles to cache, accessVipsOption.EnumVipsAccessExpected access pattern, threadedVipsOption.BooleanAllow threaded access, persistentVipsOption.BooleanKeep cache between evaluations
-
tonelut
Build a look-up table- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- in-max
VipsOption.IntSize of LUT to build, out-maxVipsOption.IntMaximum value in output LUT, LbVipsOption.DoubleLowest value in output, LwVipsOption.DoubleHighest value in output, PsVipsOption.DoublePosition of shadow, PmVipsOption.DoublePosition of mid-tones, PhVipsOption.DoublePosition of highlights, SVipsOption.DoubleAdjust shadows by this much, MVipsOption.DoubleAdjust mid-tones by this much, HVipsOption.DoubleAdjust highlights by this much
-
transpose3d
Transpose3d an image- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- page-height
VipsOption.IntHeight of each input page
-
unpremultiply
Unpremultiply image alpha- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- max-alpha
VipsOption.DoubleMaximum value of alpha channel, alpha-bandVipsOption.IntUnpremultiply with this alpha
-
vipsload
Load vips from file- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
vipsloadSource
Load vips from source- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- flags
VipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
vipssave
Save image to file in vips format- Parameters:
filename- Filename to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- keep
VipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
vipssaveTarget
Save image to target in vips format- Parameters:
target- Target to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- keep
VipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
webpload
Load webp from file- Parameters:
filename- Filename to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- page
VipsOption.IntFirst page to load, nVipsOption.IntNumber of pages to load, -1 for all, scaleVipsOption.DoubleFactor to scale by, shrinkVipsOption.IntShrink factor on load, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
webploadBuffer
Load webp from buffer- Parameters:
buffer- Buffer to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- page
VipsOption.IntFirst page to load, nVipsOption.IntNumber of pages to load, -1 for all, scaleVipsOption.DoubleFactor to scale by, shrinkVipsOption.IntShrink factor on load, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
webploadSource
Load webp from source- Parameters:
source- Source to load fromargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- page
VipsOption.IntFirst page to load, nVipsOption.IntNumber of pages to load, -1 for all, scaleVipsOption.DoubleFactor to scale by, shrinkVipsOption.IntShrink factor on load, flagsVipsOption.IntFlags for this file, memoryVipsOption.BooleanForce open via memory, accessVipsOption.EnumVipsAccessRequired access pattern for this file, fail-onVipsOption.EnumVipsFailOnError level to fail on, revalidateVipsOption.BooleanDon't use a cached result for this operation, sequentialVipsOption.BooleanSequential read only, failVipsOption.BooleanFail on first warning, discVipsOption.BooleanOpen to disc
-
webpsave
Save as WebP- Parameters:
filename- Filename to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- Q
VipsOption.IntQ factor, losslessVipsOption.BooleanEnable lossless compression, presetVipsOption.EnumVipsForeignWebpPresetPreset for lossy compression, smart-subsampleVipsOption.BooleanEnable high quality chroma subsampling, near-losslessVipsOption.BooleanEnable preprocessing in lossless mode (uses Q), alpha-qVipsOption.IntChange alpha plane fidelity for lossy compression, min-sizeVipsOption.BooleanOptimise for minimum size, kminVipsOption.IntMinimum number of frames between key frames, kmaxVipsOption.IntMaximum number of frames between key frames, effortVipsOption.IntLevel of CPU effort to reduce file size, reduction-effortVipsOption.IntLevel of CPU effort to reduce file size, mixedVipsOption.BooleanAllow mixed encoding (might reduce file size), keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
webpsaveBuffer
Save as WebP- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- Q
VipsOption.IntQ factor, losslessVipsOption.BooleanEnable lossless compression, presetVipsOption.EnumVipsForeignWebpPresetPreset for lossy compression, smart-subsampleVipsOption.BooleanEnable high quality chroma subsampling, near-losslessVipsOption.BooleanEnable preprocessing in lossless mode (uses Q), alpha-qVipsOption.IntChange alpha plane fidelity for lossy compression, min-sizeVipsOption.BooleanOptimise for minimum size, kminVipsOption.IntMinimum number of frames between key frames, kmaxVipsOption.IntMaximum number of frames between key frames, effortVipsOption.IntLevel of CPU effort to reduce file size, reduction-effortVipsOption.IntLevel of CPU effort to reduce file size, mixedVipsOption.BooleanAllow mixed encoding (might reduce file size), keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
webpsaveMime
Save image to webp mime- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- Q
VipsOption.IntQ factor, losslessVipsOption.BooleanEnable lossless compression, presetVipsOption.EnumVipsForeignWebpPresetPreset for lossy compression, smart-subsampleVipsOption.BooleanEnable high quality chroma subsampling, near-losslessVipsOption.BooleanEnable preprocessing in lossless mode (uses Q), alpha-qVipsOption.IntChange alpha plane fidelity for lossy compression, min-sizeVipsOption.BooleanOptimise for minimum size, kminVipsOption.IntMinimum number of frames between key frames, kmaxVipsOption.IntMaximum number of frames between key frames, effortVipsOption.IntLevel of CPU effort to reduce file size, reduction-effortVipsOption.IntLevel of CPU effort to reduce file size, mixedVipsOption.BooleanAllow mixed encoding (might reduce file size), keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
webpsaveTarget
Save as WebP- Parameters:
target- Target to save toargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- Q
VipsOption.IntQ factor, losslessVipsOption.BooleanEnable lossless compression, presetVipsOption.EnumVipsForeignWebpPresetPreset for lossy compression, smart-subsampleVipsOption.BooleanEnable high quality chroma subsampling, near-losslessVipsOption.BooleanEnable preprocessing in lossless mode (uses Q), alpha-qVipsOption.IntChange alpha plane fidelity for lossy compression, min-sizeVipsOption.BooleanOptimise for minimum size, kminVipsOption.IntMinimum number of frames between key frames, kmaxVipsOption.IntMaximum number of frames between key frames, effortVipsOption.IntLevel of CPU effort to reduce file size, reduction-effortVipsOption.IntLevel of CPU effort to reduce file size, mixedVipsOption.BooleanAllow mixed encoding (might reduce file size), keepVipsOption.IntWhich metadata to retain, backgroundVipsOption.ArrayDoubleBackground value, page-heightVipsOption.IntSet page height for multipage save, profileVipsOption.StringFilename of ICC profile to embed, stripVipsOption.BooleanStrip all metadata from image
-
worley
Make a worley noise image- Parameters:
width- Image width in pixelsheight- Image height in pixelsargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- cell-size
VipsOption.IntSize of Worley cells, seedVipsOption.IntRandom number seed
-
wrap
Wrap image origin- Parameters:
args- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- x
VipsOption.IntLeft edge of input in output, yVipsOption.IntTop edge of input in output
-
xyz
Make an image where pixel values are coordinates- Parameters:
width- Image width in pixelsheight- Image height in pixelsargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- csize
VipsOption.IntSize of third dimension, dsizeVipsOption.IntSize of fourth dimension, esizeVipsOption.IntSize of fifth dimension
-
zone
Make a zone plate- Parameters:
width- Image width in pixelsheight- Image height in pixelsargs- Array of VipsOption to apply to this operation- Throws:
VipsError- OptionalArg:
- uchar
VipsOption.BooleanOutput an unsigned char image
-
zoom
Zoom an image- Parameters:
xfac- Horizontal zoom factoryfac- Vertical zoom factorargs- Array of VipsOption to apply to this operation- Throws:
VipsError
-
getWidth
-
getHeight
-
hasAlpha
-
newFromFile
-
newFromSource
-
writeToFile
- Throws:
VipsError
-
write
-
writeToTarget
- Throws:
VipsError
-
newImage
-