{"course":{"slug":"image-editing","title":"Editing an Image","url":"https://addaly.com/learn/image-editing","level":"beginner","track":"create"},"lesson":{"slug":"generative-expand-and-outpainting","title":"Making a photograph bigger than it was taken","url":"https://addaly.com/learn/image-editing/generative-expand-and-outpainting","position":61,"of":78,"minutes":8,"answer":"Outpainting is inpainting with the mask outside the frame, so it works best in 20 to 30 per cent stages with generous overlap, and because viewers read extended content as part of the scene.","keyIdea":"Outpainting is inpainting with the mask outside the frame, so it works best in 20 to 30 per cent stages with generous overlap, and because viewers read extended content as part of the scene, it is the generative operation most in need of disclosure outside advertising and design."},"body":{"format":"markdown","text":"## The job this solves\n\nA photograph shot in portrait is needed as a wide banner. A square product shot needs to become 16:9 for a slide. A portrait cropped too tight needs headroom for a magazine's masthead. The image does not extend that far.\n\nThe old answers were to crop something else, to mirror a strip of the edge, or to place the photograph on a coloured panel. **Outpainting** extends the canvas and generates plausible content into the new area, conditioned on the existing pixels along the boundary.\n\nMechanically it is inpainting with the mask outside the original image instead of inside it. All the properties from the first lesson apply: it is softer, cleaner, wrong about text and regular geometry, and non-deterministic.\n\n## Technique that works\n\n**Extend in stages, not in one jump.** Asking for 100 per cent more width in one operation gives the model a thin strip of context along one edge to condition a very large region. It drifts. Extending by 20 to 30 per cent, then again, gives each pass substantial context and a much more coherent result.\n\n**Keep overlap.** Include a band of the existing image inside the generated region; most tools do this automatically, and where the setting is exposed, 64 to 128 pixels is a reasonable overlap.\n\n**Describe the scene, not the extension.** \"Continues the wooden table and grey wall, soft window light from the left\" works. \"More table\" does not.\n\n**Expect the horizon to drift.** A horizon or a strong architectural line will bend slightly across the new region. Check it with a straight edge and correct by transforming the generated area or by cloning the real line outward.\n\n**Then unify.** Grain, vignette, black point and colour across the whole extended image, exactly as in compositing. The generated strip is cleaner than the photograph.\n\n## Aspect-ratio conversion, which is the real use\n\nOne photograph has to appear as:\n\n- 1:1 for a marketplace grid\n- 4:5 for a social feed\n- 9:16 for a story or reel\n- 16:9 for a slide or a website hero\n- 3:1 for a banner\n\nCropping to all five destroys the composition in at least three of them. Outpainting the background outward, then cropping, keeps the subject where it belongs in each format.\n\nThe practical workflow: extend the master file generously in both directions once, keeping the extension on its own layers, then crop that single master to each ratio. One generation, five outputs, and the subject sits correctly in all of them.\n\nThis is the most useful application of generative imaging in everyday commercial work, and it is the least discussed.\n\n## Alternatives that need no model\n\nFor a modest extension, three older techniques still work and are exact:\n\n**Mirror the edge.** Copy a strip, flip it, and blend it in with a soft mask. Invisible on texture (grass, water, sky, bokeh) and obvious on anything with recognisable content.\n\n**Content-aware scale** (*Edit > Content-Aware Scale*, and GIMP's *Liquid Rescale* plugin, which is the free implementation of seam carving). This stretches a photograph while protecting important regions, by removing or duplicating low-energy vertical seams. It works remarkably well on a landscape with a lot of sky and fails visibly on anything with structure.\n\n**Extend with a graphic panel.** Put the photograph on a coloured or textured field and use the space for type. This is design rather than illusion, it is honest, and for many layouts it looks better than a generated extension.\n\nConsider these first. They are faster, free, deterministic, and they invent nothing.\n\n## Free tools\n\n**ComfyUI**, **AUTOMATIC1111** and **Fooocus** all do outpainting with local Stable Diffusion models. Krita's AI diffusion plugin does it on a canvas you can then keep editing. Several phone apps offer it.\n\nAdobe's Generative Expand is the integrated paid version, available from the crop tool.\n\n## The honesty question, which is different here\n\nOutpainting raises a question that inpainting does not, and it is worth stating plainly.\n\nRemoving an object is a subtraction that a viewer may or may not notice. **Extending a photograph adds content that the viewer will read as part of the scene**: more of the room, more of the street, more of the landscape. They will believe it was there, because everything else in the frame was.\n\nSo:\n\n- **Advertising, book covers, banners, design.** Unremarkable.\n- **Editorial and documentary.** Not acceptable. Extending a news photograph fabricates the scene around the event.\n- **Property.** An extended room shows more room than exists. This is the sky-replacement problem with a sharper edge to it.\n- **Portraits and people.** Extending the frame around a person often generates additional limbs, objects or figures at the boundary. Check.\n\nThe delivery note habit applies: \"canvas extended by generative fill on left and right; original frame supplied.\"\n\n## The limit\n\nThe further you extend, the less the original constrains the result, and the more the output reflects the training data rather than your photograph. A 20 per cent extension of a textured background is usually indistinguishable. A photograph extended to three times its width is mostly a generated image with a photograph in the middle of it, and it will look like one: the generated regions share a smoothness, a colour character and a compositional blandness that becomes obvious at scale.\n\nWhen the extension exceeds roughly half the original dimension, stop and consider whether the honest answer is a different photograph."},"check":{"question":"A designer needs one photograph in five aspect ratios. What is the most efficient approach that keeps the subject correctly placed in each?","options":[{"text":"Crop to each ratio from the original, accepting that the subject will sit differently in each, since cropping is exact and introduces nothing.","correct":false,"tempting":"Preserves accuracy at the cost of the brief: in at least three of the five ratios the composition collapses, which is the problem the task set out to solve."},{"text":"Outpaint separately for each ratio, since each extension can then be tailored to that format's requirements.","correct":false,"tempting":"Produces five independent generations of the same background, which will differ from one another and give the set an inconsistent look across formats."},{"text":"Extend the master generously in both directions once, keeping the extension on its own layers, then crop that single master to each ratio.","correct":true},{"text":"Use content-aware scale to stretch the image to each ratio, which protects the subject while adjusting the background.","correct":false,"tempting":"Names a genuinely useful seam-carving tool that works on sky and texture and visibly distorts any background containing structure across five different stretch factors."}]},"prev":{"slug":"generative-fill-in-practice","title":"Getting a usable result in three attempts instead of thirty","url":"https://addaly.com/learn/image-editing/generative-fill-in-practice"},"next":{"slug":"ai-upscaling-choices","title":"Which upscaler, for which material","url":"https://addaly.com/learn/image-editing/ai-upscaling-choices"},"authorship":"Founder and series editor: Dr Mustafa Mun. Written by AI models to a written standard. Exam keys checked blind by a second model: 3,665 of 3,666 agreed. Academic review invited.","review":{"status":"Draft, open for academic review"},"cite":"Addaly (2026) 'Making a photograph bigger than it was taken', in Editing an Image. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/image-editing/generative-expand-and-outpainting (Accessed: 13 October 2026).","licence":{"name":"CC BY-NC-SA 4.0","url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"reader":{"schema":1,"title":"Making a photograph bigger than it was taken","courseTitle":"Editing an Image","module":{"index":7,"slug":"ai-inside-the-image-editor","title":"AI inside the image editor"},"answer":null,"keyIdea":"Outpainting is inpainting with the mask outside the frame, so it works best in 20 to 30 per cent stages with generous overlap, and because viewers read extended content as part of the scene, it is the generative operation most in need of disclosure outside advertising and design.","hero":{"kind":"plate","image":null,"alt":null,"caption":null},"blocks":[{"t":"h2","id":"the-job-this-solves","runs":[{"text":"The job this solves"}]},{"t":"p","runs":[{"text":"A photograph shot in portrait is needed as a wide banner. A square product shot needs to become 16:9 for a slide. A portrait cropped too tight needs headroom for a magazine’s masthead. The image does not extend that far."}]},{"t":"p","runs":[{"text":"The old answers were to crop something else, to mirror a strip of the edge, or to place the photograph on a coloured panel. "},{"text":"Outpainting","b":true},{"text":" extends the canvas and generates plausible content into the new area, conditioned on the existing pixels along the boundary."}]},{"t":"p","runs":[{"text":"Mechanically it is inpainting with the mask outside the original image instead of inside it. All the properties from the first lesson apply: it is softer, cleaner, wrong about text and regular geometry, and non-deterministic."}]},{"t":"h2","id":"technique-that-works","runs":[{"text":"Technique that works"}]},{"t":"p","runs":[{"text":"Extend in stages, not in one jump.","b":true},{"text":" Asking for 100 per cent more width in one operation gives the model a thin strip of context along one edge to condition a very large region. It drifts. Extending by 20 to 30 per cent, then again, gives each pass substantial context and a much more coherent result."}]},{"t":"p","runs":[{"text":"Keep overlap.","b":true},{"text":" Include a band of the existing image inside the generated region; most tools do this automatically, and where the setting is exposed, 64 to 128 pixels is a reasonable overlap."}]},{"t":"p","runs":[{"text":"Describe the scene, not the extension.","b":true},{"text":" “Continues the wooden table and grey wall, soft window light from the left” works. “More table” does not."}]},{"t":"p","runs":[{"text":"Expect the horizon to drift.","b":true},{"text":" A horizon or a strong architectural line will bend slightly across the new region. Check it with a straight edge and correct by transforming the generated area or by cloning the real line outward."}]},{"t":"p","runs":[{"text":"Then unify.","b":true},{"text":" Grain, vignette, black point and colour across the whole extended image, exactly as in compositing. The generated strip is cleaner than the photograph."}]},{"t":"h2","id":"aspect-ratio-conversion-which-is-the-real-use","runs":[{"text":"Aspect-ratio conversion, which is the real use"}]},{"t":"p","runs":[{"text":"One photograph has to appear as:"}]},{"t":"ul","items":[[{"text":"1:1 for a marketplace grid"}],[{"text":"4:5 for a social feed"}],[{"text":"9:16 for a story or reel"}],[{"text":"16:9 for a slide or a website hero"}],[{"text":"3:1 for a banner"}]]},{"t":"p","runs":[{"text":"Cropping to all five destroys the composition in at least three of them. Outpainting the background outward, then cropping, keeps the subject where it belongs in each format."}]},{"t":"p","runs":[{"text":"The practical workflow: extend the master file generously in both directions once, keeping the extension on its own layers, then crop that single master to each ratio. One generation, five outputs, and the subject sits correctly in all of them."}]},{"t":"p","runs":[{"text":"This is the most useful application of generative imaging in everyday commercial work, and it is the least discussed."}]},{"t":"h2","id":"alternatives-that-need-no-model","runs":[{"text":"Alternatives that need no model"}]},{"t":"p","runs":[{"text":"For a modest extension, three older techniques still work and are exact:"}]},{"t":"p","runs":[{"text":"Mirror the edge.","b":true},{"text":" Copy a strip, flip it, and blend it in with a soft mask. Invisible on texture (grass, water, sky, bokeh) and obvious on anything with recognisable content."}]},{"t":"p","runs":[{"text":"Content-aware scale","b":true},{"text":" ("},{"text":"Edit > Content-Aware Scale","i":true},{"text":", and GIMP’s "},{"text":"Liquid Rescale","i":true},{"text":" plugin, which is the free implementation of seam carving). This stretches a photograph while protecting important regions, by removing or duplicating low-energy vertical seams. It works remarkably well on a landscape with a lot of sky and fails visibly on anything with structure."}]},{"t":"p","runs":[{"text":"Extend with a graphic panel.","b":true},{"text":" Put the photograph on a coloured or textured field and use the space for type. This is design rather than illusion, it is honest, and for many layouts it looks better than a generated extension."}]},{"t":"p","runs":[{"text":"Consider these first. They are faster, free, deterministic, and they invent nothing."}]},{"t":"h2","id":"free-tools","runs":[{"text":"Free tools"}]},{"t":"p","runs":[{"text":"ComfyUI","b":true},{"text":", "},{"text":"AUTOMATIC1111","b":true},{"text":" and "},{"text":"Fooocus","b":true},{"text":" all do outpainting with local Stable Diffusion models. Krita’s AI diffusion plugin does it on a canvas you can then keep editing. Several phone apps offer it."}]},{"t":"p","runs":[{"text":"Adobe’s Generative Expand is the integrated paid version, available from the crop tool."}]},{"t":"h2","id":"the-honesty-question-which-is-different-here","runs":[{"text":"The honesty question, which is different here"}]},{"t":"p","runs":[{"text":"Outpainting raises a question that inpainting does not, and it is worth stating plainly."}]},{"t":"p","runs":[{"text":"Removing an object is a subtraction that a viewer may or may not notice. "},{"text":"Extending a photograph adds content that the viewer will read as part of the scene","b":true},{"text":": more of the room, more of the street, more of the landscape. They will believe it was there, because everything else in the frame was."}]},{"t":"p","runs":[{"text":"So:"}]},{"t":"ul","items":[[{"text":"Advertising, book covers, banners, design.","b":true},{"text":" Unremarkable."}],[{"text":"Editorial and documentary.","b":true},{"text":" Not acceptable. Extending a news photograph fabricates the scene around the event."}],[{"text":"Property.","b":true},{"text":" An extended room shows more room than exists. This is the sky-replacement problem with a sharper edge to it."}],[{"text":"Portraits and people.","b":true},{"text":" Extending the frame around a person often generates additional limbs, objects or figures at the boundary. Check."}]]},{"t":"p","runs":[{"text":"The delivery note habit applies: “canvas extended by generative fill on left and right; original frame supplied.”"}]},{"t":"h2","id":"the-limit","runs":[{"text":"The limit"}],"role":"limit"},{"t":"p","runs":[{"text":"The further you extend, the less the original constrains the result, and the more the output reflects the training data rather than your photograph. A 20 per cent extension of a textured background is usually indistinguishable. A photograph extended to three times its width is mostly a generated image with a photograph in the middle of it, and it will look like one: the generated regions share a smoothness, a colour character and a compositional blandness that becomes obvious at scale."}]},{"t":"p","runs":[{"text":"When the extension exceeds roughly half the original dimension, stop and consider whether the honest answer is a different photograph."}]}],"check":{"question":[{"text":"A designer needs one photograph in five aspect ratios. What is the most efficient approach that keeps the subject correctly placed in each?"}],"options":[{"text":[{"text":"Crop to each ratio from the original, accepting that the subject will sit differently in each, since cropping is exact and introduces nothing."}],"correct":false,"tempting":[{"text":"Preserves accuracy at the cost of the brief: in at least three of the five ratios the composition collapses, which is the problem the task set out to solve."}]},{"text":[{"text":"Outpaint separately for each ratio, since each extension can then be tailored to that format’s requirements."}],"correct":false,"tempting":[{"text":"Produces five independent generations of the same background, which will differ from one another and give the set an inconsistent look across formats."}]},{"text":[{"text":"Extend the master generously in both directions once, keeping the extension on its own layers, then crop that single master to each ratio."}],"correct":true,"tempting":null},{"text":[{"text":"Use content-aware scale to stretch the image to each ratio, which protects the subject while adjusting the background."}],"correct":false,"tempting":[{"text":"Names a genuinely useful seam-carving tool that works on sky and texture and visibly distorts any background containing structure across five different stretch factors."}]}],"order":[0,2,3,1],"why":null},"prev":{"slug":"generative-fill-in-practice","title":"Getting a usable result in three attempts instead of thirty","minutes":9},"next":{"slug":"ai-upscaling-choices","title":"Which upscaler, for which material","minutes":9}}}