From: Markus M. <mam...@ht...> - 2010-06-17 08:02:35
|
Tom Lane <tg...@ss...>: > > is there a way to get the unquantized coefficients from libjpeg during a > > compression process? What I want to do is to see how the coefficients got > > rounded after they got divided with the quantization table. How could I > > achieve this? > > Insert some printf's, maybe? There's certainly no provision for > exposing that to the application. I meant an interface to libjpeg, so a calling application has direct access to the intermediate steps, eg coefficients before rounding. But yes, as you said, this is not a common use case, maybe I'm better of writing a simple jpeg compressor with this feature for my application. best Markus |