How to store a buffer with .moveToDisk #4273
-
Hi,
Now I also want to resize the image where I decided to use the sharp lib. However, now I am confused how to use the
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The You can use the |
Beta Was this translation helpful? Give feedback.
The
image.moveToDisk
is a method that exists on theMultipartFile
instance. Now, once you resize this file and get a buffer, you are not longer using the multipart file, therefore you will have to useDrive
APIs directly.You can use the
cuid
helper to generate a random name.