public void GlobalSetup() { var sourceFile = Common.GetSourceImagePath(imageIndex); image = ImageFrame.FromFile(sourceFile); LZEncoded = image.AsLZEncodedUsingHashTable(12289); GZipEncoded = image.AsGZipEncoded(); }
public GZipImageFrame EncodeGZip() => image.AsGZipEncoded();