fix(Media): cover no jpeg compression

This commit is contained in:
Matthieu Bessat 2020-08-11 10:18:21 +02:00
parent c1d2457bff
commit 00f4de5765

View file

@ -62,7 +62,7 @@ export default class MediaService {
transformOptions = { width: 250, withoutEnlargement: true, fit: 'cover' } transformOptions = { width: 250, withoutEnlargement: true, fit: 'cover' }
} }
if (type === 'cover') { if (type === 'cover') {
quality = 90 quality = 100
transformOptions = { height: 550, withoutEnlargement: true, fit: 'cover' } transformOptions = { height: 550, withoutEnlargement: true, fit: 'cover' }
} }
console.log('transform called', transformOptions) console.log('transform called', transformOptions)