Upload and transform images with sharp
Choose an image (e.g. JPEG, PNG, WebP, AVIF, GIF or TIFF) and the server converts, crops, resizes and rotates it.
The form is sent as multipart/form-data, so the route reads it with formData() and gets the image as a File. Jeasx doesn't ship an image processor, so the conversion is done in userland with sharp. The result is embedded as a data: URI, so your image is never stored.