-
-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
enhancementNew feature or requestNew feature or request
Description
SDK/packages/image-transform/lib/transform.js
Line 102 in ebc8a44
// CASE: dont make the image bigger than it was |
you should allow to define image quality, sharp does have options.quality option, default is 80 and graphic blogs need maximum quality
https://sharp.pixelplumbing.com/api-output#parameters-7
https://ghost.org/docs/themes/assets/
// package.json
"config": {
"image_sizes": {
"xxs": {
"width": 30,
"quality": 100
},
"xs": {
"width": 100,
"quality": 100
},
"s": {
"width": 300,
"quality": 100
},
"m": {
"width": 600,
"quality": 100
},
"l": {
"width": 1000,
"quality": 100
},
"xl": {
"width": 2000,
"quality": 90
}
}
}
it looks like, that this simple option add will enable new quality option
...imageDimensionConfig
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request