For some time I didn't keep my post thumbnails in NextGen Gallery. On this website they are all PNG images with a transparent background. The thumbnails created by NextGen were losing background transparency and their background was black. It was unacceptable because of theme switching. My themes use different backgrounds and thumbnails looked rather ugly. Finally I found this post: ...plugin-nextgen-gallery-problems-with-png-transparency-thumbnails which offered a solution. It requires a modification of NextGen plugin code and after every upgrade of NextGen you'll have to remember to re-apply this patch.