سؤال

أنا أقوم بتطوير عارض الصور / محرر الصور باستخدام VS2008 و MFC و WIC وأرغب في إعادة صياغة JPEGS عن كثب (من خلال التخلص من الجودة) قدر الإمكان إلى معالجة الصور الأصلية.هل يعرف أي شخص كيفية استخراج جداول الإنارة والراغيان لتعيينها في
http://msdn.microsoft.com/ar-US / Library / GG430026٪ 28V= vs.85٪ 29.aspx بدون الاضطرار إلى استخدام مكتبة كبيرة إضافية (مثل libjpeg)؟

هل كانت مفيدة؟

المحلول

The JPEG standard specification covers the details of the luminance and chrominance table.

In JPEG terminology, those tables are both referred to as "quantization table" (DQT). The luminance quantization table is applied on the "Y" channel and the chrominance quantization table is applied to "Cb" and "Cr" channels.

This website lists the quantization tables for a large number of camera manufacturers and JPEG authoring software.

To recompress an image using the same quantization tables as another existing image:

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top