convert graphics to bitmap if pdf-swf conversion fails
Merge pull request #327 from gugat/tobitmaps

convert graphics to bitmap