Set the content of the object as a System.Drawing.Bitmap.
If transparency is required, the PixMap must be contained within
an ObjectSoup.
After the Bitmap has been set, the PixMap will be uncompressed.
You may wish to compress it using a call like CompressJpeg or CompressFlate.
|