You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A `Promise` is returned when `callback` is not provided.
19
19
20
20
-`format`: Name of decoder used to decompress image data e.g. `jpeg`, `png`, `webp`, `gif`, `svg`
21
21
-`size`: Total size of image in bytes, for Stream and Buffer input only
22
22
-`width`: Number of pixels wide (EXIF orientation is not taken into consideration, see example below)
23
23
-`height`: Number of pixels high (EXIF orientation is not taken into consideration, see example below)
24
-
-`space`: Name of colour space interpretation e.g. `srgb`, `rgb`, `cmyk`, `lab`, `b-w`[...](https://www.libvips.org/API/current/VipsImage.html#VipsInterpretation)
24
+
-`space`: Name of colour space interpretation e.g. `srgb`, `rgb`, `cmyk`, `lab`, `b-w`[...](https://www.libvips.org/API/current/enum.Interpretation.html)
25
25
-`channels`: Number of bands e.g. `3` for sRGB, `4` for CMYK
26
-
-`depth`: Name of pixel depth format e.g. `uchar`, `char`, `ushort`, `float`[...](https://www.libvips.org/API/current/VipsImage.html#VipsBandFormat)
26
+
-`depth`: Name of pixel depth format e.g. `uchar`, `char`, `ushort`, `float`[...](https://www.libvips.org/API/current/enum.BandFormat.html)
27
27
-`density`: Number of pixels per inch (DPI), if present
28
28
-`chromaSubsampling`: String containing JPEG chroma subsampling, `4:2:0` or `4:4:4` for RGB, `4:2:0:4` or `4:4:4:4` for CMYK
29
29
-`isProgressive`: Boolean indicating whether the image is interlaced using a progressive scan
0 commit comments