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 di browser Anda. File Anda tidak pernah keluar dari perangkat. Lihat cara memeriksa
…
Cara melakukannya
- 1Tambahkan foto
Pilih gambar untuk diperpanjang.
- 2Pilih bentuk
Pilih pengaturan sosial atau bentuk dan margin khusus.
- 3Tempatkan foto
Pindahkan ke kiri, kanan, atas atau bawah pada kanvas baru.
- 4Tunggu untuk mengisi
Area baru diisi secara otomatis.
- 5Perbaiki
Ubah ukuran patch atau coba isian lain.
- 6Ekspor
Unduh gambar yang diperpanjang.
Tentang alat ini
Platform sosial dan situs web masing-masing menginginkan bentuk yang berbeda: 16:9 untuk YouTube, 4:5 untuk Instagram, 9:16 untuk cerita, 1.91:1 untuk pratinjau tautan. Memotong memotong subjek; meregangkannya mendistorsi; batas terlihat malas. Mengembang latar belakang seringkali merupakan jawaban terbaik. Alat ini menambahkan kanvas di sekitar foto Anda dan mengisi dengan tekstur yang cocok dengan latar belakang yang ada, menggunakan metode PatchMatch di balik isi konten-aware.
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 perhitungan
Foto potret 3000 x 4000 di pantai diperpanjang menjadi 16:9 untuk YouTube: kanvas menjadi 7111 x 4000 dengan foto berpusat, dan laut, pasir dan langit dipenuhi kiri dan kanan dengan patch ukuran 9.
Fakta singkat
- Kategori: Gambar
- Berfungsi di browser Anda, tanpa daftar, tanpa unggah.
- Masukan Anda tetap di perangkat Anda.
- Tersedia dalam bahasa Inggris.
- Konten terakhir ditinjau:
- Sumber resmi: Barnes, Shechtman, Finkelstein and Goldman, PatchMatch, ACM Transactions on Graphics (SIGGRAPH 2009)
Pertanyaan yang sering diajukan
Apakah itu meregangkan foto saya?
Tidak. piksel asli tetap tidak berubah; hanya area baru yang diisi.
Apa latar belakang yang bekerja?
Tekstur alami dan latar belakang yang sederhana: langit, laut, pasir, rumput, dinding dan latar belakang kabur.
Bisakah menambahkan lengan atau benda yang hilang?
Tidak, itu menyalin tekstur dari foto dan tidak bisa menemukan benda baru.
Bagaimana aku bisa mendapatkan hasil yang berbeda?
Pindahkan coba isian lain untuk menggunakan awal acak yang berbeda, atau ubah ukuran patch.
Mengapa area baru sedikit lebih lembut?
Isian dihitung pada salinan yang lebih kecil untuk kecepatan dan kemudian diperbesar.
Apakah foto diunggah?
Tidak, isiannya dihitung dalam browsermu.
