Вопрос

Я разрабатываю изображение Viewer / редактор с использованием VS2008, MFC и WIC, и я хотел бы повторно рекордировать JPEG как можно ближе (качественно-Wize) к их оригиналу, после обработки изображений.Кто-нибудь знает, как извлечь столы яркости и хроминирования в
http://msdn.microsoft.com/ru-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