Метод | Описание | |
---|---|---|
ChromaSubsampling ( this image, int value ) : ImgixImage |
Chroma subsampling for JPEG and Progressive JPEG
|
|
ClientHints ( this image, string value ) : ImgixImage |
Adds ch parameter opting in to using client hints.
|
|
ColorQuantization ( this image, int value ) : ImgixImage |
Adds color quantization to the image, limiting the amount of colors in the image.
|
|
DPI ( this image, int value ) : ImgixImage |
Sets the DPI value in the Exif header
|
|
Download ( this image, string value ) : ImgixImage |
When used in an a tag forces download with the specified name
|
|
Lossless ( this image, string value ) : ImgixImage |
Should the returned image be lossless
|
|
OutputFormat ( this image, string value ) : ImgixImage |
Sets the output format of the image.
|
|
Quality ( this image, int value ) : ImgixImage |
SEts the oputput quality of the image
|
public static ChromaSubsampling ( this image, int value ) : ImgixImage | ||
image | this | The image to transform |
value | int | /// Values: 420, 422, and 444 /// Default: 420 /// |
Результат | ImgixImage |
public static ClientHints ( this image, string value ) : ImgixImage | ||
image | this | The image to transform |
value | string | /// A comma seperated list of hints /// Values: Width and DPR are currently supported /// |
Результат | ImgixImage |
public static ColorQuantization ( this image, int value ) : ImgixImage | ||
image | this | The image to transform |
value | int | /// Values: 2-256 /// |
Результат | ImgixImage |
public static DPI ( this image, int value ) : ImgixImage | ||
image | this | The image to transform |
value | int | /// The DPI value /// |
Результат | ImgixImage |
public static Download ( this image, string value ) : ImgixImage | ||
image | this | The image to transform |
value | string | /// The download name of the image /// |
Результат | ImgixImage |
public static Lossless ( this image, string value ) : ImgixImage | ||
image | this | The image to transform |
value | string | /// Values: 0, 1, true, false /// |
Результат | ImgixImage |
public static OutputFormat ( this image, string value ) : ImgixImage | ||
image | this | The image to transform |
value | string | /// The format name /// Values: gif, jp2, jpg, json, jxr, pjpg, mp4, png, png8, png32, webp /// |
Результат | ImgixImage |
public static Quality ( this image, int value ) : ImgixImage | ||
image | this | The image to transform |
value | int | /// Values: 0-100 /// Default: 75 /// |
Результат | ImgixImage |