added a convert to png file
fixed a small bug in gif2png