From 00f4de5765f265a03a03d2cb080819dd09bb4b15 Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Tue, 11 Aug 2020 10:18:21 +0200 Subject: [PATCH] fix(Media): cover no jpeg compression --- src/MediaService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MediaService.ts b/src/MediaService.ts index 81e02f5..d96f59f 100644 --- a/src/MediaService.ts +++ b/src/MediaService.ts @@ -62,7 +62,7 @@ export default class MediaService { transformOptions = { width: 250, withoutEnlargement: true, fit: 'cover' } } if (type === 'cover') { - quality = 90 + quality = 100 transformOptions = { height: 550, withoutEnlargement: true, fit: 'cover' } } console.log('transform called', transformOptions)