python image functions
Base64FromUrl
returns the base64 string of the image from the passed url
| param | description |
|---|---|
| url | the url of the image |
return: the base64 string of the image
=============
CropResizeImg
crops and resize the image to create the thumbnail
| param | description |
|---|---|
| origFilePath | the path of the file on the disc |
| destFilePath | the destination file path on the disc |
| img_w | the desired image width |
| img_h | the desired image height |
return: void
=============
CropResizeImg64
crops and resize the image to create the thumbnail from a base64 string
| param | description |
|---|---|
| orig64 | the base64 string of the image |
| img_w | the desired image width |
| img_h | the desired image height |
return: the resized/cropped base64 string of the image