resizeService
images-resizer
Main service which resize images and so on
Resize image according to the width or the height or both
Param | Type | Details |
---|---|---|
image | Object | DomImage html image to resize |
width | number | desired final image width |
height | number | integer desired final image height |
step | number | integer the number of step to finally have the image to the desired size |
outputFormat | string | string the format of the output file for example image/jpeg, image/png,... |
string | resized image in base64 |