reduce line image size