swappedjpg to gif for cartoons