//
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0.
//
namespace ImageSharp.Formats
{
///
/// Encapsulates the options for the .
///
public interface IJpegEncoderOptions : IEncoderOptions
{
///
/// Gets the quality, that will be used to encode the image. Quality
/// index must be between 0 and 100 (compression from max to min).
///
/// The quality of the jpg image from 0 to 100.
int Quality { get; }
///
/// Gets the subsample ration, that will be used to encode the image.
///
/// The subsample ratio of the jpg image.
JpegSubsample? Subsample { get; }
}
}