Hello everyone,

I have been trying to find out if I can determine whether a jpeg file is 
lossless or lossy when decompressing it using the libjpeg API.
>From what I can tell, it might be possible that the internal state in 
"master->lossless" is setup after a call to "jpeg_read_header".
However, I have not seen a way to access that property by using the public 
API.

In TurboJPEG API 3, there is "tj3Get" and "TJPARAM_LOSSLESS" that can 
probably be used for the same purpose.

The question is, can I also access the "lossless" property using the public 
libjpeg API or is there an indirect way of deriving that information with 
public API calls?

Best regards,
Kevin

-- 
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/1ddcbe50-7118-4aa6-a6ec-99e99b91627bn%40googlegroups.com.

Reply via email to