Tried these options it still does not work and not getting into the frame. Trying with different width, height values but not able to succeed yet. The trying out itself is very time consuming as you need to restart the server every time and clear cache for the changed image to take effect. If anyone has gone through this grind and got a solution, please do share. Thx.
For Cloud customers this might be cool as well, BTW you can generate GIF as well using PowerPoint adding a full screen video and saving the PPT as .GIF.