كيف تكبّر صورة صغيرة دون أن تفقد جودتها
لماذا تتشوّه الصور عند التكبير، وكيف يحلّ الذكاء الاصطناعي هذه المشكلة القديمة داخل متصفحك.
لديك صورة قديمة صغيرة أو لقطة بدقة منخفضة، وتحتاجها بحجم أكبر. تكبّرها فتظهر مشوّشة ومربّعة. لماذا؟
المشكلة: البكسلات المفقودة
الصورة شبكة من النقاط (البكسلات). صورة 200×200 تحوي 40 ألف نقطة. عند تكبيرها إلى 800×800 تحتاج 640 ألف نقطة — أي 600 ألف نقطة غير موجودة.
البرامج التقليدية تخمّن هذه النقاط بحساب متوسط جيرانها (Interpolation). النتيجة: صورة أكبر لكن ضبابية، لأن التخمين الحسابي لا يخترع تفاصيل حقيقية.
الحل: الذكاء الاصطناعي
نماذج التكبير الفائق (Super-Resolution) دُرِّبت على ملايين أزواج الصور: نسخة صغيرة ونسخة كبيرة من الصورة نفسها. فتعلّمت كيف تبدو التفاصيل الحقيقية عادةً.
لذا حين تعطيها صورة صغيرة، فهي لا تخمّن حسابياً بل تعيد بناء الحواف والملامس بناءً على ما تعلّمته. النتيجة أوضح بكثير.
متى تنجح ومتى تفشل؟
- ✅ ينجح ممتازاً: الصور الواضحة لكن الصغيرة الحجم.
- ✅ جيد: الصور المضغوطة بشدة (آثار JPG).
- ⚠️ محدود: الصور شديدة الضبابية أصلاً — لا يمكن استعادة ما لم يُسجَّل قط.
- ❌ خرافة الأفلام: «كبّر وحسّن» لوحة سيارة من كاميرا مراقبة بعيدة — مستحيل. النموذج يخترع تفاصيل معقولة، لا يستعيد الحقيقة.
نصائح عملية
- ابدأ بأفضل نسخة متاحة: لا تكبّر صورة سبق تكبيرها أو ضغطها مراراً.
- لا تبالغ: ×2 أو ×4 نتائجها ممتازة؛ ما فوق ذلك يبدأ بالاصطناعية.
- للوجوه: نماذج ترميم الوجوه المتخصصة أفضل من التكبير العام.
- احفظ PNG: لئلا تضيف صيغة JPG ضغطاً جديداً فوق العمل.
هل يعمل هذا في المتصفح؟
نعم. بفضل WebGPU صار بالإمكان تشغيل نماذج التكبير على كرت الشاشة داخل المتصفح. الصور لا تُرفع لأي خادم، والمعالجة تتم على جهازك. على الأجهزة القديمة يعمل على المعالج — أبطأ لكنه ينجح.
جرّب الأداة مجاناً الآن — تعمل في متصفحك بلا رفع.
جرّب أداة التكبير ←How to Enlarge a Small Image Without Losing Quality
Why images break when enlarged, and how AI solves this old problem right inside your browser.
You have an old small photo or a low-resolution screenshot and need it bigger. You enlarge it and it turns blurry and blocky. Why?
The problem: missing pixels
An image is a grid of dots. A 200×200 image holds 40,000 of them. Enlarging it to 800×800 requires 640,000 — meaning 600,000 dots that do not exist.
Traditional software guesses them by averaging neighbours (interpolation). The result is a bigger but blurry image, because mathematical guessing cannot invent real detail.
The solution: AI
Super-resolution models were trained on millions of image pairs — a small and a large version of the same picture — learning what genuine detail usually looks like.
So when you give one a small image, it doesn't guess arithmetically; it reconstructs edges and textures based on what it learned. The result is far sharper.
When it works and when it doesn't
- ✅ Works very well: images that are sharp but simply small.
- ✅ Good: heavily compressed images with JPG artefacts.
- ⚠️ Limited: images that were already very blurry — you cannot recover what was never recorded.
- ❌ The movie myth: "enhance" a licence plate from distant CCTV — impossible. The model invents plausible detail; it does not recover truth.
Practical tips
- Start from the best copy you have: don't upscale an image that was already upscaled or repeatedly compressed.
- Don't overdo it: ×2 or ×4 gives excellent results; beyond that it starts to look artificial.
- For faces: dedicated face-restoration models beat general upscaling.
- Save as PNG so JPG compression isn't layered on top of the work.
Does this work in a browser?
Yes. Thanks to WebGPU, upscaling models can run on your graphics card inside the browser. Images are never uploaded, and processing happens on your device. On older machines it falls back to the CPU — slower, but it still works.
Try the tool free — it runs in your browser, nothing uploaded.
Try the upscaler →