Your fix will work fine when saving GIF images as GIF. But will not work if the user tries to save a non-palette based PNG image with transparency as GIF (which is a very likely scenario)
There is also another issue I was intending to fix. Currently if you save any type other than GIF as GIF the resulting colors will be dithered like this: http://nadiana.com/sites/default/files/pil_tips/mouse-bad.gif the fix is really easy just use the adaptive palette when converting to 'P'.
Hi Stani,
Your fix will work fine when saving GIF images as GIF. But will not work if the user tries to save a non-palette based PNG image with transparency as GIF (which is a very likely scenario)
There is also another issue I was intending to fix. Currently if you save any type other than GIF as GIF the resulting colors will be dithered like this: http:// nadiana. com/sites/ default/ files/pil_ tips/mouse- bad.gif the fix is really easy just use the adaptive palette when converting to 'P'.
Nadia