removed OutOfMemoryException when attaching a picture to a report.