This bug turned out to be more serious than I thought. It was a combination of 2 bugs.
1. Watermark images should be converted to a safe mode
2. There was a serious bug in convert_safe_mode. The transparency index was being deleted before converting to RGBA. Which will result in losing the transparency in the result. This should have been discovered long time ago since this function is used everywhere.
This bug turned out to be more serious than I thought. It was a combination of 2 bugs.
1. Watermark images should be converted to a safe mode
2. There was a serious bug in convert_safe_mode. The transparency index was being deleted before converting to RGBA. Which will result in losing the transparency in the result. This should have been discovered long time ago since this function is used everywhere.
I fixed both bugs along with 2 possible bugs in this branch: https:/ /code.launchpad .net/~nadiana/ phatch/ bug_fix_ 487435