Add a caption to an image
The file4edit caption tool draws readable text onto an image, either as a bar that extends the canvas or as an overlay drawn over the picture itself. Type size is set as a share of the image width rather than in pixels, so the caption scales with the file instead of shrinking on a large photograph. Text wraps by real measurement: it keeps the newlines you type, breaks a word too long for the line, and shrinks the type to a floor of 8 px before it will grow the canvas rather than clip a line.
How it works
- Add the image Drop an image onto the page. Caption works on one image at a time, and if you drop several it keeps the first.
- Type the caption Write in the caption text box. Enter starts a new line, and anything longer than the image wraps by itself. The filename is used as a starting caption, so overwrite it with your own.
- Choose the placement Pick bar below, bar above, overlay bottom, overlay top or overlay centred. A bar is added to the canvas so nothing in the picture is covered; an overlay is drawn on top of the picture.
- Set the type and panel Set the type size as a percentage of the image width, choose a typeface and weight, and set the text color. Then set the panel color, panel opacity and padding.
- Export Choose an output format — WebP, PNG, JPEG, AVIF, GIF or BMP — and press Export captioned image. The file is written from the full-resolution canvas and saved as name-caption.ext.
Questions
- Does a caption cover part of the image?
- Only if you pick an overlay. In file4edit's caption tool, a bar below or a bar above adds height to the canvas, so the file simply gets taller and no part of the picture is hidden. The three overlay placements draw the text on top of the picture instead, which costs image rather than height.
- What happens if the caption is longer than the image is wide?
- Nothing is clipped. The text is wrapped by measuring each line against the available width, breaking on spaces and inside a word that is too long for a line on its own. A bar grows to whatever the wrapped block needs. An overlay steps the type size down to a floor of 8 px to fit, and past that floor the canvas grows rather than lose a line.
- Does the exported file keep the original EXIF data?
- No. Exporting writes a new file from the canvas, so EXIF — the camera, the timestamp and any location tag — is not carried over. That is a side effect worth knowing: the caption tool strips that metadata whether or not you wanted it to.
Every tool