convert graphics to bitmap

Some files are too complex to render and conversion from .pdf to .swf fails. Converting graphics to bitmaps fixes the problem for these files.