Question

Je développe une visionneuse / éditeur d'images utilisant VS2008, MFC et WIC et je voudrais recompresser les JPEG aussi étroitement (Qualité-Wize) que possible à leur traitement original, après traitement de l'image.Est-ce que quelqu'un sait comment extraire des tables de luminance et de chrominance à installer de
http://msdn.microsoft.com/fr-us / bibliothèque / gg430026% 28v= vs.85% 29.aspx sans avoir à utiliser une grande bibliothèque supplémentaire (comme libjpeg)?

Était-ce utile?

La solution

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:

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top