تصویر کا کنارہ

استعمال کا طریقہ 4 مراحل
  1. ایک تصویر منتخب کریں دبائیں۔
  2. حاشیے کی چوڑائی، اندرونی گنجائش اور انداز طے کریں۔
  3. حاشیے کا رنگ اور گنجائش کا رنگ چنیں۔
  4. حاشیہ لگائیں دبائیں، پھر نتیجہ ڈاؤن لوڈ کریں۔
پوری طرح آپ کے براؤزر میں پروسیس ہوتا ہے۔ کچھ اپ لوڈ نہیں ہوتا۔
تصویر اور حاشیے کے درمیان ایک مَیٹ، گنجائش کے رنگ میں۔
نتیجہ

حاشیہ تصویر پر کھینچنے کے بجائے اس کے باہر لگایا جاتا ہے، اس لیے کینوس بڑا ہو جاتا ہے اور اصل کا کوئی حصہ نہیں ڈھکتا۔ حاشیے کی چوڑائیاں اصل تصویر کے پکسلوں میں ہیں، یعنی وہی ترتیب بڑی تصویر پر چھوٹی تصویر کے مقابلے میں پتلی لگتی ہے — پرنٹ سے پہلے بتائی گئی آؤٹ پٹ سائز دیکھ لیں۔ پولرائیڈ انداز صرف نچلا کنارہ چوڑا کرتا ہے، کلاسیکی 1:1.2 تناسب میں۔

یہ ٹول کیسے کام کرتا ہے

تصویر کے گرد ایک بارڈر بنایا جاتا ہے اور، اس سے الگ، تصویر اور اس بارڈر کے درمیان گدی ڈالی جا سکتی ہے۔ دونوں آزاد ہیں، اور یہی وہ چیز ہے جو فریم کیے ہوئے پرنٹ والا انداز دیتی ہے: تصویر کے بالکل گرد ایک رنگ کی پٹی، اور اس سے باہر کسی اور رنگ کی لکیر۔ صرف ایک استعمال کریں تو سادہ فریم ملتا ہے۔

تصویر کاٹی نہیں جاتی — کینوس بڑھ کر جو کچھ شامل ہو اسے جگہ دے دیتا ہے، اس لیے کناروں سے کچھ ضائع نہیں ہوتا۔ کئی بارڈر انداز دستیاب ہیں، اور نتیجے کی صورت آپ کی مرضی ہے، جن صورتوں میں شفافیت نہیں انہیں پہلے گدی کے رنگ پر چپٹا کر دیا جاتا ہے۔

فریم دینا بغیر دبائے

  • کینوس بڑھتا ہے، تصویر سکڑتی نہیں: برآمد شدہ فائل پیمائشوں میں اصل سے ہر طرف بارڈر اور گدی جتنی بڑی ہوتی ہے۔ جہاں نتیجہ کسی مقررہ جگہ میں جانا ہو وہاں اس کا حساب رکھیں۔
  • گدی چٹائی ہے، بارڈر فریم: تصویر کے بالکل گرد سفید یا ہلکی سفید پٹی ہی وہ چیز ہے جو اسے فریم شدہ دکھاتی ہے۔ سیدھا رنگین لکیر پر جانا پرنٹ کے بجائے ویب کا عنصر لگتا ہے۔
  • بارڈر کو تصویر کے مطابق رکھیں: دس پکسل کا بارڈر کسی چھوٹی جھلکی پر بھاری فریم ہے اور مکمل ریزولوشن والی تصویر پر نظر ہی نہیں آتا۔ اسے اسی سائز کے مقابل پرکھیں جس پر تصویر دیکھی جائے گی۔
  • جہاں صفحہ آپ کے قابو میں ہو وہاں CSS پر غور کریں: اسٹائل شیٹ میں لگایا گیا بارڈر فائل کو نہیں چھیڑتا اور ہر سائز کے مطابق ڈھل جاتا ہے۔ فائل میں تب شامل کریں جب تصویر ایسی جگہ جا رہی ہو جو آپ کے قابو میں نہ ہو۔

Two settings, and the difference between them

A border is the line around the image. Padding is the space between the image and that line. They are independent, and using both is what produces the matted look of a framed print: a band of one colour immediately around the picture, and a line of another colour outside it.

Using only the border gives a plain frame. Using only the padding gives a mat with no edge. The [msm_tool slug="image-border"] offers both because the combination is what most people are actually after when they say a photograph needs a frame.

The canvas grows — nothing is cropped

Adding a border does not eat into the image. The canvas expands to make room, so the exported file is larger in dimensions than the original by the border and padding on each side.

That matters where the result goes into a fixed space. A 1000-pixel image with 20 pixels of padding and a 4-pixel border comes out at 1048 pixels square, and a slot expecting 1000 will scale it down — making the border thinner than you designed.

Scale the border to the image

A ten-pixel border is a heavy frame on a 200-pixel thumbnail and effectively invisible on a 4000-pixel photograph.

Judge it against the size the image will actually be viewed at, not the size of the file. If the same image serves a thumbnail and a full-width hero, it needs two different borders, or none — which is the argument for doing it in CSS instead.

Padding is the mat, and it does most of the work

A white or off-white band immediately around a photograph is what makes it read as framed rather than as a web element with an outline. Going straight to a coloured line without the mat looks like a table cell.

Gallery convention is a generous mat — considerably more space than feels necessary — with a thin frame outside it. That proportion translates well to screen: something like twenty parts padding to one part border.

Transparency and format

PNG and WebP keep an alpha channel, so a transparent image stays transparent and the padding can be transparent too.

JPEG cannot, so the image is flattened onto the padding colour first. If you add a transparent border and export as JPEG, the result is a solid-coloured band rather than nothing — which is the sensible outcome, but worth knowing before it surprises you.

CSS is usually the better answer

Where you control the page, a border in the stylesheet leaves the file untouched, adapts to any display size, and can be changed without re-exporting anything. It also does not affect the image's dimensions, so nothing downstream needs adjusting.

Bake the border into the file when the image is going somewhere you do not control: an email, a marketplace listing, a social post, a print, or a document someone else will lay out. Everywhere else, let the display do it.

A note on polaroid-style frames

The classic look — even padding on three sides and a deeper band at the bottom — needs uneven padding, which this does not do. Add the even border here and extend the bottom in an editor, or build it in CSS where the four sides can differ.

اکثر پوچھے گئے سوالات

خاص طور پر تصویر کا کنارہ کے بارے میں۔ اس زمرے سے متعلق عمومی سوالات کے جواب زمرے کے صفحے پر موجود ہیں۔

نہیں۔ کینوس جگہ بنانے کے لیے بڑھ جاتا ہے، اس لیے آخری فائل پیمائشوں میں بڑی ہوتی ہے اور کناروں سے کچھ ضائع نہیں ہوتا۔
گدی تصویر اور بارڈر کے درمیان ہوتی ہے، جیسے تصویر کے فریم میں چٹائی۔ بارڈر باہر کی لکیر ہے۔
اسی سائز کے تناسب سے جس پر تصویر دیکھی جائے گی۔ جو موٹائی چھوٹی جھلکی کو فریم دیتی ہے وہ بڑی تصویر پر نظر نہیں آتی۔
جہاں صفحہ آپ کے قابو میں ہو وہاں CSS — یہ مٹانے والا نہیں اور ڈھل جاتا ہے۔ فائل میں تب لگائیں جب تصویر کہیں اور جا رہی ہو۔
PNG اور WebP میں جی ہاں۔ JPEG میں شفافیت نہیں، اس لیے تصویر پہلے گدی کے رنگ پر چپٹی کر دی جاتی ہے۔

نئے ٹولز، خصوصیات اور کارکردگی بڑھانے کے مشوروں کی اطلاع پانے کے لیے سبسکرائب کریں۔