updated README.md with code changes and better details.
added gif, animated gif, and png resizing.