mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-15 10:09:45 +00:00
Updating AVIF, and 'auto' SSIM option (#1008)
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import type { EncodeOptions } from 'codecs/avif/enc/avif_enc';
|
||||
import { EncodeOptions, AVIFTune } from 'codecs/avif/enc/avif_enc';
|
||||
|
||||
export { EncodeOptions };
|
||||
export { EncodeOptions, AVIFTune };
|
||||
|
||||
export const label = 'AVIF';
|
||||
export const mimeType = 'image/avif';
|
||||
@@ -27,5 +27,5 @@ export const defaultOptions: EncodeOptions = {
|
||||
subsample: 1,
|
||||
chromaDeltaQ: false,
|
||||
sharpness: 0,
|
||||
targetSsim: false,
|
||||
tune: AVIFTune.auto,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user