Yes, there was a problem with GIF background color transparency settings.
It is fixed now, new code is in SVN repository.
Also you don't need to set image format before loading (like in your code example).
Whole image (size, format, etc.) is thrown away during loading.