Undocument TJ*PARAM_RESTARTBLOCKS for lossless
TJ*PARAM_RESTARTBLOCKS technically works with lossless compression, but it is not useful, since the value must be equal to the number of samples in a row. (In other words, it is no different than TJ*PARAM_RESTARTINROWS, except that it requires the user to do more math.)
This commit is contained in:
@@ -752,8 +752,7 @@ enum TJPARAM {
|
||||
*/
|
||||
TJPARAM_LOSSLESSPT,
|
||||
/**
|
||||
* JPEG restart marker interval in MCU blocks (lossy) or samples (lossless)
|
||||
* [compression only]
|
||||
* JPEG restart marker interval in MCU blocks [lossy compression only]
|
||||
*
|
||||
* The nature of entropy coding is such that a corrupt JPEG image cannot
|
||||
* be decompressed beyond the point of corruption unless it contains restart
|
||||
@@ -764,8 +763,8 @@ enum TJPARAM {
|
||||
* adversely affect the compression ratio and performance.
|
||||
*
|
||||
* **Value**
|
||||
* - the number of MCU blocks or samples between each restart marker
|
||||
* *[default: `0` (no restart markers)]*
|
||||
* - the number of MCU blocks between each restart marker *[default: `0` (no
|
||||
* restart markers)]*
|
||||
*
|
||||
* Setting this parameter to a non-zero value sets #TJPARAM_RESTARTROWS to 0.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user