'Declaration Public Class JPEGCompressor Inherits ImageCompressor
public class JPEGCompressor : ImageCompressor
JPEG is a lossy compression algorithm whose quality settings are measured on a scale of 0-100.
Note: Since this compression algorithm is inherently lossy, it is possible that the transparency mechanism within this assembly, such as through Image.Image Constructor(Image,Color), will seem to partially function. This is because not all of the colors will necessarily be exactly what they were originally (i.e. White (255, 255, 255) may be (253, 255, 255)), so when checking the pixel to see if it is the transparent color specified, it will not be considered a match. In this scenario, it is recommended to use FlateCompressor.
Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
View on GitHub