dev #227
@ -124,7 +124,7 @@ const resizeImage = async (image) => {
|
|||||||
|
|
||||||
// scale이 0.8 이하인 경우 완성된 이미지를 전체적으로 확대
|
// scale이 0.8 이하인 경우 완성된 이미지를 전체적으로 확대
|
||||||
if (originalScale <= 0.8) {
|
if (originalScale <= 0.8) {
|
||||||
const enlargeRatio = 1.5 // 25% 확대
|
const enlargeRatio = 1.5 // 50% 확대
|
||||||
const newWidth = Math.round(mixedImage.bitmap.width * enlargeRatio)
|
const newWidth = Math.round(mixedImage.bitmap.width * enlargeRatio)
|
||||||
const newHeight = Math.round(mixedImage.bitmap.height * enlargeRatio)
|
const newHeight = Math.round(mixedImage.bitmap.height * enlargeRatio)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user