Jev Image
A PNG or JPEG image to send with a request.
Place it anywhere content goes, as its reference: in a string template ("Is $photo damaged?"), through jsonOf or entry, as a @Serializable field, or with the builders' image overloads ("thumbs_up" means thumb). The API replaces every occurrence of the reference with the image. Placing an image doesn't send it: attach it to the request, or attach it to a JevQuery, so its bytes travel with the questions.
The factories never throw for bad content. Empty bytes, invalid base64, bytes that are neither a PNG nor a JPEG, or more than the API's 16 MiB per image are reported, with every other problem, when the QuestionSet the image is attached to is validated. Only read throws, for a file it can't read, and it reads no further than that limit. The API's pixel limits are left to the API.
Properties
The text that stands for the image. A generated one is jev4k-image- and a UUID whose first group is the same for every image this process generates, so jev4k can tell its own references from text that only looks like one. One you choose should be as unlikely to occur in your text, since the API matches it anywhere inside a string, and mustn't occur inside another image's reference.