I need to convert a sequence of 10 .ppm images to a gif file and I must use the function convert and the module subprocess so What should I do?