Author: Aman Kumar @alpha74
INPUT:
- Image file
OUTPUT:
- Image of new resolution
- JSON file having attributes of new file (image64, size, resolution)
DETAILS:
- Works with JPEG images.
- image64 is the Base64 encoding of the image.
- Code can be modified easily to work with commandline image filename.