Optimalization of image sizes - removed useless bits