عالميمجاني

تحويل الصورة إلى تدرج رمادي

أنشئ صورة PNG بتدرج رمادي باستخدام تقريب موزون لسطوع RGB.

تبقى مدخلاتك في علامة التبويب هذه. لا نتلقى ملفاتك أو النصوص الملصقة أو قيم الحسابات.

المدخلات

تلميح: اضغط Ctrl + Enter للتشغيل

نتيجتك

ستظهر نتيجتك هنا.

المساعدة المفصلة أدناه متاحة بالإنجليزية فقط حاليًا.

حول هذه الأداة

Converting to grayscale is useful for printing on black-and-white printers, for a classic photo look, for checking contrast in a design, and for preparing scans and documents. Simply averaging red, green and blue gives a flat, unnatural result because the eye is much more sensitive to green than to blue.

This tool uses the standard luminance weights from the sRGB/Rec. 709 colour standard, so bright greens stay light and deep blues become dark, as they appear to the eye. The result is saved as a lossless PNG.

Grayscale versions are also a quick accessibility check: if two important colours in a chart or logo turn into the same gray, people with colour-vision deficiencies may struggle to tell them apart too.

طريقة الاستخدام

  1. Choose a colour image.
  2. Run it.
  3. Download the grayscale PNG.

كيف يعمل الحساب

For each pixel, gray = 0.2126 × R + 0.7152 × G + 0.0722 × B (rounded), and red, green and blue are all set to that value. Transparency is kept.

gray = 0.2126R + 0.7152G + 0.0722B

مثال تطبيقي

A teacher wants a colour map to print clearly on the school’s black-and-white printer. Converted to grayscale, the green parks stay light and the blue lake becomes a darker gray, so areas remain distinguishable: a plain average would have made them almost the same shade.

مثال على الإدخال والنتيجة

RGB → رمادي

القيود

  • Fixed luminance formula; no channel mixer or tint.
  • Output is PNG only.
  • Very large images are limited by device memory.

آخر تحديث:

الأسئلة الشائعة

Is grayscale the same as black and white?

Grayscale has 256 shades of gray; pure black-and-white (1-bit) has only two.

Can I adjust contrast?

Not here; use the photo enhancer first if the image is flat.

Is the original changed?

No. A new file is created and nothing is uploaded.

استكشاف الأخطاء وإصلاحها

The result looks washed out.

The original had low contrast; enhance it before converting.

File size increased.

PNG is lossless; convert to JPG if size matters.

Transparent areas look black in a viewer.

They are still transparent; some viewers show black.

الخصوصية & مجاني

هل تُخزَّن مدخلاتي؟

تبقى مدخلاتك في علامة التبويب هذه. لا نتلقى ملفاتك أو النصوص الملصقة أو قيم الحسابات.

هل هذه الأداة مجانية؟

نعم. لا يلزم تسجيل أو دفع.

تتم المعالجة في متصفحك

خطوات تالية مفيدة