Is there really a need for this change? This code is only for animated GIFs and this change prevents pixel manipulating filters from working on them. convert() without parameters would already convert to RGB or RGBA depending on transparency metadata.