resize bitmaps to a better quality version (with bilinear filtering)

See this thread http://stackoverflow.com/a/7468636

Using bilinear filtering gives much nicer images on the output