output jpg from viewshot
This commit is contained in:
@@ -52,7 +52,7 @@ export const PlaceholderCanvas = React.forwardRef<PlaceholderCanvasRef, {}>(
|
|||||||
ref={viewshotRef}
|
ref={viewshotRef}
|
||||||
options={{
|
options={{
|
||||||
fileName: 'placeholderAvatar',
|
fileName: 'placeholderAvatar',
|
||||||
format: 'webp',
|
format: 'jpg',
|
||||||
quality: 0.8,
|
quality: 0.8,
|
||||||
height: 150 * SIZE_MULTIPLIER,
|
height: 150 * SIZE_MULTIPLIER,
|
||||||
width: 150 * SIZE_MULTIPLIER,
|
width: 150 * SIZE_MULTIPLIER,
|
||||||
|
|||||||
Reference in New Issue
Block a user