tweaked, cleaned up webp and jp2 stuff