remove wrapper module
fix GIF dimensions bug, add duration info for animated GIF