phatch-dev team mailing list archive
-
phatch-dev team
-
Mailing list archive
-
Message #00033
Re: variable border action
On Mon, Jun 1, 2009 at 4:34 PM, Nadia Alramli <nadiana@xxxxxxxxx> wrote:
>
> I can see a possible issue here. The colors in the palette are not
> necessaryly unique. So it is possible to match the wrong index. In my
> opinion a simpler solution is to create the new image in mode 'RGBA' instead
> of 'RGB'. The GIF transparency will be kept this way. Then to convert from
> RGBA to P you can use the updated solution here:
> http://nadiana.com/pil-tips-converting-png-gif#Thesolution
> I updated the article with a much better solution. I discovered it today
> while playing with convert to find a solution for your issue.
>
Thanks for looking at it. This solution is MUCH cleaner than the one I was
using! I have it in my code at home, of course now that I am at work, I've
realized I forgot to check in the changes... I will do so for further review
this evening.
>
> I'm glad to have you in our team :)
>
Thanks, glad to be here.
Regards,
Erich
References