Minor TurboJPEG doc tweaks

- When transforming, the worst-case JPEG buffer size depends on the
  subsampling level used in the destination image, since a grayscale
  transform might have been applied.

- Parentheses Police
This commit is contained in:
DRC
2024-09-05 21:57:16 -04:00
parent 2e40a6875d
commit 6d9591703f
9 changed files with 12 additions and 12 deletions

View File

@@ -263,7 +263,7 @@ public class TJDecompressor implements Closeable {
* subsampling in the JPEG image (see {@link TJ#PARAM_SUBSAMP}.) The
* cropping region should be specified relative to the scaled image
* dimensions. Unless <code>croppingRegion</code> is {@link TJ#UNCROPPED},
* the JPEG header must be read (see {@link #setSourceImage(byte[], int)}
* the JPEG header must be read (see {@link #setSourceImage(byte[], int)})
* prior to calling this method.
*/
@SuppressWarnings("checkstyle:HiddenField")