Image Extender (Content-Aware Canvas Expand)

Make a photo wider or taller without stretching it: the new space is filled with texture copied from the photo itself, ready for social sizes.

Chạy trong trình duyệt của bạn. Tệp không bao giờ rời khỏi thiết bị. Xem cách tự kiểm tra

…

Cách thực hiện

  1. 1
    Thêm ảnh

    Chọn hình ảnh để mở rộng.

  2. 2
    Chọn hình dạng

    Chọn một thiết lập trước xã hội hoặc hình dạng và biên tùy chỉnh.

  3. 3
    Đặt ảnh

    Di chuyển nó sang trái, phải, lên hoặc xuống trên tấm vải mới.

  4. 4
    Chờ cho đầy.

    Khu vực mới được lấp đầy tự động.

  5. 5
    Làm tinh chế

    Thay đổi kích thước miếng dán hoặc thử một loại khác.

  6. 6
    Xuất khẩu

    Tải ảnh mở rộng.

Giới thiệu công cụ này

Các nền tảng xã hội và trang web đều muốn một hình dạng khác nhau: 16:9 cho YouTube, 4:5 cho Instagram, 9:16 cho câu chuyện, 1,91:1 cho xem trước liên kết. Công cụ này thêm canvas xung quanh ảnh của bạn và lấp đầy nó với kết cấu phù hợp với nền hiện có, sử dụng phương pháp PatchMatch đằng sau việc điền ý thức nội dung.

How the fill works

The new canvas is created with your photo placed where you choose. The empty area is first filled with smooth colours flowing in from the edges. Then PatchMatch searches the photo for small patches (you set their size) that match the area around each missing pixel, and copies them in. This repeats over several sizes, from a coarse version of the picture to the final one, so large structures and fine texture both fit. The fill is computed on a reduced copy for speed, enlarged and blended into the full-size picture with a soft seam.

Shapes and placement

Choose a new shape: the same proportions with extra margin, 1:1, 4:5, 9:16, 16:9, 3:2, 2:3 or 1.91:1. The picture position sliders decide where the original sits, for example at the bottom so new sky is added above, or to one side to leave space for text.

Patch size and variations

Larger patches copy bigger structures such as waves, clouds or brick rows; smaller patches suit fine textures like grass or sand. If a fill shows an obvious repeat, use try another fill to start from a different random seed.

What extends well

Skies, seas, sand, grass, fields, foliage, plain or textured walls, studio backgrounds and blurred backgrounds. These are the backgrounds that usually surround a subject.

What does not

The tool copies existing texture; it does not imagine new objects. It cannot complete a person cut off at the frame, continue text or invent a building. Generative outpainting models that can do that, such as LaMa or diffusion models, are hundreds of megabytes and do not run comfortably in a browser, so they are not used here.

Presets

YouTube 16:9, Instagram portrait 4:5, story 9:16, Facebook link 1.91:1 and room around the subject.

Tips

Leave the subject away from the side you extend. If a filled area shows a seam, increase the patch size or try another fill. Crop the result afterwards if the outer edge is less convincing.

Limits

The fill is solved at reduced resolution, so very large extensions are slightly softer than the original photo. Complex scenes may need a manual touch-up. Everything runs locally.

Ví dụ có lời giải

Một bức ảnh chân dung 3000 x 4000 trên bãi biển được mở rộng đến 16:9 cho YouTube: vải trở thành 7111 x 4000 với hình ảnh tập trung, và biển, cát và bầu trời được lấp đầy bên trái và phải bằng kích thước vá 9.

Tóm tắt

Câu hỏi thường gặp

Nó kéo dài ảnh của tôi?

Không, các pixel ban đầu được giữ nguyên; chỉ có khu vực mới được lấp đầy.

Những nền tảng nào có hiệu quả?

Các kết cấu tự nhiên và nền đơn giản: bầu trời, biển, cát, cỏ, tường và bối cảnh mờ.

Nó có thể thêm một cánh tay hoặc vật bị thiếu không?

Không, nó sao chép kết cấu từ ảnh và không thể phát minh ra những vật mới.

Làm sao tôi có được kết quả khác?

Di chuyển thử một lần điền khác để sử dụng một khởi động ngẫu nhiên khác, hoặc thay đổi kích thước miếng vá.

Tại sao khu vực mới này mềm hơn một chút?

Việc điền được tính trên một bản sao nhỏ hơn để tăng tốc độ và sau đó mở rộng.

Bức ảnh đã được tải lên chưa?

Không, việc điền được tính toán trong trình duyệt của anh.

Hoàn toàn miễn phíKhông phí, không đăng ký
Tệp luôn riêng tưMọi thứ chạy trong trình duyệt của bạn
Dễ dùng bằng ngôn ngữ của bạnCó nhiều ngôn ngữ