Max bytes

Usage: max_bytes(number-of-bytes)

Description

This filter automatically degrades the quality of the image until the image is under the specified amount of bytes.

Arguments

  • number-of-bytes - The maximum number of bytes for the given image.