ImageOptimizer
Class that can be used to optimize an image.
Gets or sets a value indicating whether various compression types will be used to find
the smallest file. This process will take extra time because the file has to be written
multiple times.
public ImageOptimizer()
Performs compression on the specified the file. With some formats the image will be decoded
and encoded and this will result in a small quality reduction. If the new file size is not
smaller the file won't be overwritten.
Performs compression on the specified the file. With some formats the image will be decoded
and encoded and this will result in a small quality reduction. If the new file size is not
smaller the file won't be overwritten.
Returns true when the supplied file name is supported based on the extension of the file.
Returns true when the supplied formation information is supported.
Returns true when the supplied file name is supported based on the extension of the file.
Performs lossless compression on the specified the file. If the new file size is not smaller
the file won't be overwritten.
Performs lossless compression on the specified file. If the new file size is not smaller
the file won't be overwritten.