image/graphic
A graphic file describes an image that is made of marks: a screen, a document, a diagram, or a chart. Examples include a screenshot, a slide, a map, a logo, and a scanned page. A graphic has no viewpoint, so nothing about lenses, light, or framing applies. A graphic has parts: a layout, text, and sometimes pictures inside it.
x, y for a point and x, y, w, h for a box.checkout-flow.png.analyzemediaone JSON object next to the originalFrom top to bottom: the envelope, then six fields. This is the smallest type.
formatversiontypegeneratedmeasuredsourcethe file, and usually nothing elsename, bytes, sha256, quickHashmeasuredimagemeasuredcamera · exposure · recorded · locationmeasuredA graphic has no viewpoint, so nothing about lenses, light, or framing applies. A graphic is its parts: where each part is, what it is, and what it says or holds.
summaryobservedkindobservedlanguageobservedpicturemeasuredparts[]observedtext holds the words when the part is text, and a description otherwise. A reader that wants only the words concatenates them.quality[]observedThe screenshot shows a web checkout page as eight parts in reading order. The purple part is a picture inside the graphic, a product thumbnail. It is a part like the others, with the kind picture. Every box is a fraction of the frame, so you can point at a control without the pixel size.
A graphic file answers the question "what is on this screen or page, where is it, and what does it say". For a document, the text of the parts is the point of the file. For a screen, the parts give every control with its box. A graphic file never holds time, form, composition, people, or objects. A screenshot of a photo is a graphic with a picture part.
Rules you can rely on
- Position Positions are fractions of width and height from the top left, with two decimals:
x, yfor a point andx, y, w, hfor a box. The format doesn't use pixels.source.imagegives the pixel size. - Identity People are letters, from left to right. Lists are in reading order.
- Absent versus empty A missing section means that the writer didn't analyze it. An empty section means that the writer analyzed it and found nothing.
- Measured versus observed The grade is a property of the field, stated for every field. No field holds an opinion about quality, importance, or intent.
- Vocabularies Each vocabulary is a closed list that includes
other. Read an unknown value asother. - Types are declared A file has the type that it declares. The format defines no test to tell types apart.