Closed jadhaidar closed 4 years ago
Scenario: project requirements expect a file input to compress all images selected as well as convert them to .jpeg format before uploading to server.
.jpeg
Solution: I added the ability to simply pass a fileType override through the options param before calling on the canvasToFile helper function.
fileType
canvasToFile
Scenario: project requirements expect a file input to compress all images selected as well as convert them to
.jpeg
format before uploading to server.Solution: I added the ability to simply pass a
fileType
override through the options param before calling on thecanvasToFile
helper function.