Skip to content

Commit

Permalink
feat:img 리사이징 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyojoonm committed Dec 1, 2022
1 parent e3d7597 commit 5002858
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ MultipartFile resizeImage(String fileName, String fileFormatName, MultipartFile

BufferedImage imageNoAlpha = imageMarvin.getBufferedImageNoAlpha();
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ImageIO.write(imageNoAlpha, fileFormatName, baos);
baos.flush();

return new MockMultipartFile(fileName, baos.toByteArray());

Expand Down

0 comments on commit 5002858

Please sign in to comment.