The current PictureManager doesn't preserve transparency when resizing transparent PNGs. The following modified PictureManager.cs file fixes it and a few other things:
UPDATED 22-SEPT-2010
http://www.mediafire.com/file/1dudv4pxn8dddiz/PictureManager_PNG_Transparency_Fix.zip (file and instructions)
http://www.mediafire.com/file/94eai7gbigwxrsa/PictureManager.cs (file only)
Changes to PictureManager.cs:
-changed method name getImageCodeInfo to getImageCodecInfo (fixes typo)
Updates in GetPictureUrl() method:
-GIFs use white background (instead of graphic object's default of black)
-uses image codec "image/jpeg" for GIFs for better quality
-implements current behavior where all images use the jpeg codec
-use actual codec info when saving the image (instead of hard-coded "image/jpeg" -used as fallback value and for GIFs)
Updates in ValidatePicture() method:
-added extension parameter to use for getting actual codec info when saving the image (instead of hard-coded "image/jpeg" -used as fallback value and for GIFs)
-This affects methods: InsertPicture() and UpdatePicture() (updated their calls to ValidatePicture())
These changes refer to version 1.80. After apply the changes, you will need to recompile the solution.
.