عالميمجاني

أداة تغيير حجم الصور

لائم الصورة ضمن أبعاد قصوى مع الحفاظ على نسبة العرض إلى الارتفاع ودون تكبير.

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

المدخلات

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

نتيجتك

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

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

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

Most upload forms, websites and email programs work best with images no larger than they need to be. A 12-megapixel phone photo is about 4000 × 3000 pixels: far more than a blog post, a listing or a slide can show. This resizer fits an image inside the maximum width and height you set, keeps its aspect ratio so nothing is stretched, and never makes an image larger than the original.

You can save the result as PNG, JPG or WebP, with a quality setting for JPG and WebP. Smaller dimensions are usually the single biggest file-size saving, more than compression alone.

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

  1. Choose an image.
  2. Enter the maximum width and maximum height in pixels.
  3. Choose PNG, JPG or WebP and, for JPG or WebP, a quality.
  4. Run it and download the resized image.

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

Scale = min(1, max width ÷ width, max height ÷ height). New size = original × scale, rounded to whole pixels. The image is redrawn on a canvas at that size with the browser’s built-in canvas scaling and encoded in the chosen format.

scale = min(maxWidth / width, maxHeight / height, 1)

مثال تطبيقي

A landlord’s listing site allows photos up to 1200 × 1200 px. A 2400 × 1600 photo of a living room is scaled by 0.5 to 1200 × 800: the width hits the limit first, so the height is reduced in proportion. Saved as JPG at 85%, it drops from several megabytes to a few hundred kilobytes.

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

2400 × 1600 → 1200 × 800

القيود

  • One image at a time.
  • Aspect ratio is always preserved; there is no stretch option.
  • EXIF metadata is not copied to the output.

آخر تحديث:

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

Will it enlarge small images?

No. Images already within the limits keep their size; enlarging adds blur, not detail.

How do I get an exact size such as 1080 × 1080?

Crop to the right shape first with the image cropper, then resize.

Which format should I choose?

JPG or WebP for photos, PNG for screenshots and graphics with sharp edges or transparency.

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

The output is the same size as the input.

It was already smaller than the limits.

The file got bigger.

Saving a JPG as PNG increases size; choose JPG or WebP for photos.

The image is rotated.

Current browsers apply EXIF orientation automatically; update an older browser.

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

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

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

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

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

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

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