Python files for my blogpost. For details refer the same.
fn_imrotate1.py
contains the final function which can rotate the input image for given degrees with two options 'same' or 'full'. The option 'same' creates
a rotatated image with same size as input image, while 'full' option produces the output image showing full image rotation of the input image.
Usage:
python fn_imrotate1.py