--- '@embedpdf/plugin-form': minor --- Image fields: a push button that takes an image (`takesImage`) is an image field, filled with a picture. The engine reads that fact from the press Acrobat's own image fields have, and the plugin follows it alone. - `form.setButtonImage(field, { source } | null)` puts a PNG, a JPEG or a one-page PDF in, or takes it out, as one change and one step to undo. It is filling in, gated by `canFill()`; the box says it holds a picture at once. It rejects `invalid-input` for a push button that is no image field, and a call cancelled while its picture loads writes nothing. - Its box is a new `control: 'image'`, with `hasImage`: every box of a push button with `takesImage: true`, and no other. A button that only shows a picture, such as a logo in a box with `layout: 'image'`, stays `control: 'button'`, and so does an icon-only print or submit button. Never by the field's name, its layout or its picture. - **Upgrading from 3.4:** a box that was `control: 'button'` is `control: 'image'` when its field is an Acrobat image field, a push button whose press runs `event.target.buttonImportIcon()`. An app that draws its own controls gets the new kind there, and typed code that covers every `control` needs a case for it. No other button changes. - An image field takes a value: it is `empty` while it holds no picture, so a required one is listed by `validate()`, it shows its purpose's placeholder, its tint and counts as `yours` like any field that takes a value. `prefill()` leaves it. - Two tools place one, with `takesImage: true` and `layout: 'image'`: `signer-initials` (purpose `initials`, 72 × 36), a signing tool, and `form-image` (120 × 90), a form tool. `form-signature` places its field with the purpose `signature`, so an empty one shows "Signature". A tool's `field` takes `takesImage` on a push button's tool. - `addWidget()` copies the last box's `layout` with its look, and an image field's new box is an image box. - `getWidgetAt()` says whether the box under the point is an image field's, with `imageBox`, by the same rule. - A box's press, changed with `updateWidget()`, and a box added or deleted change what its button is at once: the field's `takesImage` and each box's `control` follow without a reload.