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.
Berjalan dalam pelayar anda. Fail anda tidak pernah meninggalkan peranti. Lihat cara menyemaknya
…
Cara melakukannya
- 1Tambah gambar
Pilih gambar untuk diperluaskan.
- 2Pilih bentuk
Pilih persediaan sosial atau bentuk dan margin tersuai.
- 3Letakkan gambar
Pindahkan ke kiri, kanan, atas atau bawah pada kanvas baru.
- 4Tunggu untuk mengisi
Kawasan baru diisi secara automatik.
- 5Memperhaluskan
Ubah saiz tampalan atau cuba isian lain.
- 6Pengeksportan
Muat turun gambar yang diperpanjang.
Tentang alat ini
Platform sosial dan laman web masing-masing mahukan bentuk yang berbeza: 16:9 untuk YouTube, 4:5 untuk Instagram, 9:16 untuk cerita, 1.91:1 untuk pratonton pautan. Memotong memotong subjek; meregangkan memutarbalikkannya; sempadan kelihatan malas. Mengeluaskan latar belakang sering merupakan jawapan terbaik. Alat ini menambah kanvas di sekitar foto anda dan mengisi dengan tekstur yang sesuai dengan latar belakang sedia ada, menggunakan kaedah PatchMatch di sebalik isian sedar kandungan.
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.
Contoh berselesaian
Foto potret 3000 x 4000 di pantai diperluaskan kepada 16:9 untuk YouTube: kanvas menjadi 7111 x 4000 dengan foto berpusat, dan laut, pasir dan langit dipenuhi kiri dan kanan dengan patch saiz 9.
Ringkasnya
- Kategori: Imej
- Berjalan dalam pelayar, tanpa pendaftaran, tanpa muat naik.
- Maklumat yang anda masukkan kekal pada peranti anda.
- Tersedia dalam bahasa Inggeris.
- Kandungan disemak kali terakhir:
- Sumber rasmi: Barnes, Shechtman, Finkelstein and Goldman, PatchMatch, ACM Transactions on Graphics (SIGGRAPH 2009)
Soalan lazim
Adakah ia meregangkan gambar saya?
Tidak, piksel asal tidak berubah; hanya kawasan baru yang diisi.
Latar belakang macam mana yang boleh?
Tekstur semula jadi dan latar belakang biasa: langit, laut, pasir, rumput, dinding dan latar belakang kabur.
Bolehkah ia menambah lengan atau objek yang hilang?
Tidak, ia menyalin tekstur dari gambar dan tidak boleh mencipta objek baru.
Bagaimana saya boleh mendapatkan hasil yang berbeza?
Pindahkan cuba isian lain untuk menggunakan permulaan rawak yang berbeza, atau ubah saiz tambalan.
Kenapa kawasan baru agak lembut?
Penuh dikira pada salinan yang lebih kecil untuk kelajuan dan kemudian diperbesar.
Adakah gambar dimuat naik?
Tidak, pengisian dikira dalam pelayar anda.
