Skip to content

Commit

Permalink
refactor: 이미지 리사이징 최대 크기 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
GC-Park committed Sep 20, 2023
1 parent 7e83f61 commit 53b73f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/hooks/useCompressImage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const useCompressImage = () => {
const compressImage = async (file: File) => {
const resizingBlob = await imageCompression(file, {
maxSizeMB: 1,
maxWidthOrHeight: 500,
maxWidthOrHeight: 750,
useWebWorker: true,
});
const resizingFile = new File([resizingBlob], file.name, {
Expand Down

0 comments on commit 53b73f8

Please sign in to comment.