added formula for libwebp used by spellfall