الأدلة

JPG أو PNG أو WebP: اختر صيغة الإخراج

طريقة عملية لتحويل الصور دون فقدان الأصل.

اختر حسب المهمة

استخدم PNG عندما يهم الحفاظ على البكسلات الشفافة. لا يحافظ JPG على الشفافية؛ ويملأ محوّلنا تلك المناطق باللون الأبيض. WebP بديل مناسب لكثير من صور الويب. يتحقق المتصفح من قدرته على إنتاج الصيغة المطلوبة ويبلغ عن الصيغة غير المدعومة بدل أن يمنحك امتداد ملف خاطئًا دون تنبيه.

غيّر الحجم قبل تقليل الجودة

قد تكون أبعاد الصورة أكبر مما يحتاجه مكان استخدامها. تضبط أداة تغيير الحجم الصورة ضمن أقصى عرض وارتفاع، وتحافظ على النسبة ولا تكبّر الأصل الأصغر. بعد تغيير الحجم، قارن مستويات الجودة في أداة الضغط. لا يضمن إعداد جودة أقل ملفًا أصغر من كل مصدر محسَّن مسبقًا.

اعرف الحدود

احتفظ بالأصل. هذه الأدوات مخصصة للصور النقطية اليومية، وليست لسير عمل إدارة الألوان الاحترافي. تُرفض صور WebP المتحركة؛ وقد تستخدم الصور الأخرى متعددة الإطارات الإطار الأول في المتصفح. قد تتغير البيانات الوصفية وملفات تعريف الألوان أثناء إعادة الترميز. الحد لكل ملف 10 ميغابايت و20 ميغابكسل. تقبل أداة تحويل الصور إلى PDF عشر صور وتضع صورة واحدة في كل صفحة A4.

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

A quick decision table

Photo for a website or email: WebP or JPG at 75–85% quality. Screenshot, chart or text: PNG, or WebP at high quality for the web. Logo or icon with a transparent background: PNG, or SVG if you have the vector original. Upload to a form that only says “image”: JPG, because every system accepts it. Archive master copy: keep the original file and a lossless PNG if you edit it.

Size, not only format

Format changes typically save 20–40%, but resizing an oversized photo can save 80–90%. A 4000-pixel-wide photo displayed in a 1200-pixel column wastes most of its bytes. Resize first with the image resizer, then compare quality settings in the image compressor. If a form demands an exact size such as 50 KB, the resize image to KB tool searches for the best quality automatically.

Newer formats

AVIF often produces even smaller files than WebP and is supported by current browsers, but it is slower to encode and not yet accepted everywhere; the AVIF converter can create and decode it. iPhone photos are usually HEIC, which many Windows programs and websites cannot open: convert them on your device with the HEIC to JPG converter.

Transparency, colour and quality settings

Transparency is all or nothing in JPG (there is none) while PNG, WebP and AVIF support smooth, partial transparency for soft edges and shadows. Most web images should be in the sRGB colour space; photos from some cameras and phones use wider colour spaces that may look slightly different after browser re-encoding, so check important images after converting. Quality numbers are not comparable between formats: WebP at 75 is not the same as JPG at 75. Judge by eye at the size the image will be displayed, and stop lowering quality as soon as you see blocks, banding or fuzzy text.

Finally, keep one untouched original of every important image. Each lossy save throws away a little more detail, and you can always make a smaller copy later: you can never make a better one.

Converting several files at once

When you have a folder of images to standardize, the dedicated converters handle up to 30 files per run in your browser: for example PNG to WebP for a website or WebP to JPG for software that does not accept WebP. They keep each file’s name and download the results together, so a whole product catalogue or set of blog images can be converted in a minute without uploading anything.

المرجع ↗

آخر تحديث:

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