Name Description Size
SkEncoder.h A single frame to be encoded into an animated image. If a frame does not fit in the canvas size, this is an error. TODO(skia:13705): Add offsets when we have support for an encoder that supports using offsets. 1542
SkICC.h 1293
SkJpegEncoder.h Reduction by a factor of two in both the horizontal and vertical directions. 4545
SkPngEncoder.h Selects which filtering strategies to use. If a single filter is chosen, libpng will use that filter for every row. If multiple filters are chosen, libpng will use a heuristic to guess which filter will encode smallest, then apply that filter. This happens on a per row basis, different rows can use different filters. Using a single filter (or less filters) is typically faster. Trying all of the filters may help minimize the output file size. Our default value matches libpng's default. 3817
SkWebpEncoder.h |fCompression| determines whether we will use webp lossy or lossless compression. |fQuality| must be in [0.0f, 100.0f]. If |fCompression| is kLossy, |fQuality| corresponds to the visual quality of the encoding. Decreasing the quality will result in a smaller encoded image. If |fCompression| is kLossless, |fQuality| corresponds to the amount of effort put into the encoding. Lower values will compress faster into larger files, while larger values will compress slower into smaller files. This scheme is designed to match the libwebp API. 2844