Write an Emacs function that will change IMG tags in documentation from:
to
<img width="W" height="H" src="xxx.gif">
 
where W and H are half of gif width and height. (Half because screenshots are made on retina display).
Invocation should be:
emacs -l haskell-manual-gif-size-fixup.el -f haskell-manual-gif-size-fixup-batch-and-exit *.html