User blog comment:Ash9876/Gif Resizing/@comment-4666155-20130728000658

THIS IS MAGIC!!!