Usage: max_bytes(number-of-bytes)
This filter automatically degrades the quality of the image until the image is under the specified amount of bytes.
number-of-bytes - The maximum number of bytes for the given image.
http://thumbor-server/filters:max_bytes(40000)/some/image.jpg