Outpainting adds picture where there was none. A portrait product shot that has to become a square, a story or a wide banner needs more background at its sides or above and below; the new area continues the floor, the wall or the scene so that the join does not show. Inpainting is the reverse case, where an area inside the image is replaced.
For product images the important question is what happens to the original. In Herofab's Extend image tool only the new area is generated and the original pixels are placed back on top, so the product stays as it was. The scene around it is new and deserves a look for repeated patterns or a horizon that does not line up.
Outpainting changes the format, not the product's share of the frame in the way a crop does: the product becomes smaller relative to the whole picture. Where a marketplace asks that the product fill most of the image, an extended version suits banners and social formats better than the main image.
How an image is extended
The original is placed on a larger canvas in the new format, and the empty margin is generated from what the picture already shows: the direction of the light, the line of the floor, the texture of the wall, the fall of the shadows. A soft transition is laid over the join.
Tools differ in one point that matters for products. Some generate only the margin and keep the original pixels; others redraw the whole picture in the new format, and the product can change slightly in the process. Comparing the product area with the source at full size shows which kind was at work.
How much is added, and where it is used
The amount of new area decides how demanding the task is. From an upright format to a square, a strip is added on each side. From an upright format to a wide banner, most of the final picture is generated and the photographed part becomes a small share of it.
Extended images serve the places that need a shape the shoot did not provide: shop headers, newsletter banners, story formats and adverts. A product on a plain white ground is a separate case. Its margin can be widened with plain white, which reaches the new format without any generated content.
Faults to look for in the new area
The join is the first place to look. A floor line that bends, a shadow that stops at the old edge or changes direction, and a change in grain between the photographed and the generated part all reveal where the original ended.
The second is content that was not asked for. A generated margin can contain an extra piece of furniture, a second copy of the product, a figure or signs with letter-like marks. In a product image nothing in the added area should be open to being taken for part of the offer.
Outpainting and related terms
- Aspect ratio
- The aspect ratio is the shape of the frame, written as width to height. It is the usual reason for outpainting: the picture exists in one shape and is needed in another.
Product fill- Product fill states how much of the frame the product takes up. Every extension lowers it, because the frame grows and the product does not, so fill is the figure to measure again afterwards.
- Image upscaling
- Image upscaling makes the same picture larger in pixels without showing anything new. Outpainting shows more scene around the same subject. The first changes size, the second changes framing, and one picture may need both.
- Image dimensions
- Image dimensions are the pixel counts of width and height. Outpainting raises at least one of them by adding area; the photographed part keeps the pixels it had, unless the tool reduces the whole picture to a fixed output size.
A checklist for an extended image
- The product area is identical to the source when the two are compared at full size.
- No line shows where the original ends: floor, wall and horizon continue straight across the join.
- Shadows fall in one direction in the old and the new part, and the product's own shadow is not cut off.
- The new area contains no added objects, people or lettering that could be taken for part of the offer.
- Grain and sharpness are alike on both sides of the join, so that the added area does not look smoother than the photograph.
