Thanks a lot. So, if I have well understood, you don't use jpeg_set_quality at all, but rather jpeg_add_quant_table ?
Le mardi 6 septembre 2022 à 19:49:06 UTC+2, DRC a écrit : > If you are referring to the ability to set the JPEG quality > independently for chrominance and luminance components, that is only > available in the libjpeg API at the moment. > > This code: > > > https://github.com/libjpeg-turbo/libjpeg-turbo/blob/c5db99e1aafe302598708c02a8bb9b7dcd5344a4/rdswitch.c#L80-L82 > > https://github.com/libjpeg-turbo/libjpeg-turbo/blob/c5db99e1aafe302598708c02a8bb9b7dcd5344a4/rdswitch.c#L282-L358 > > shows how cjpeg accomplishes it. > > DRC > > On 9/6/22 11:33 AM, Xavier Brochard wrote: > > Hi > > I am looking for the chrominance and luminance quality parameters in > > the code. I've read some files and the 2 available APIs but didn't > > find them. Note that I am not a C programmer, only a modest sysadmin > > who try to understand some pieces of code. > > Can someone could point me to the related files? > > Also, I would like to know if they are in the API? > > Any help welcome > > Regards > -- You received this message because you are subscribed to the Google Groups "libjpeg-turbo User Discussion/Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to libjpeg-turbo-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/libjpeg-turbo-users/6002067d-0f25-453a-8449-2e905bd02190n%40googlegroups.com.