release webp resource when done