diff --git a/doc/html/group___turbo_j_p_e_g.html b/doc/html/group___turbo_j_p_e_g.html index 42c30095..3fa023fd 100644 --- a/doc/html/group___turbo_j_p_e_g.html +++ b/doc/html/group___turbo_j_p_e_g.html @@ -992,6 +992,7 @@ scalingFactor).

  • The JPEG image has (decompression) or will have (compression) the specified horizontal pixel density [default for compression: 1].
  • This value is stored in or read from the JPEG header. It does not affect the contents of the JPEG image. Note that this parameter is set by tj3LoadImage8() when loading a Windows BMP file that contains pixel density information, and the value of this parameter is stored to a Windows BMP file by tj3SaveImage8() if the value of TJPARAM_DENSITYUNITS is 2.

    +

    This parameter has no effect unless the JPEG colorspace (see TJPARAM_COLORSPACE) is TJCS_YCbCr or TJCS_GRAY.

    See also
    TJPARAM_DENSITYUNITS
    TJPARAM_YDENSITY 

    JPEG vertical pixel density.

    @@ -999,6 +1000,7 @@ scalingFactor).

  • The JPEG image has (decompression) or will have (compression) the specified vertical pixel density [default for compression: 1].
  • This value is stored in or read from the JPEG header. It does not affect the contents of the JPEG image. Note that this parameter is set by tj3LoadImage8() when loading a Windows BMP file that contains pixel density information, and the value of this parameter is stored to a Windows BMP file by tj3SaveImage8() if the value of TJPARAM_DENSITYUNITS is 2.

    +

    This parameter has no effect unless the JPEG colorspace (see TJPARAM_COLORSPACE) is TJCS_YCbCr or TJCS_GRAY.

    See also
    TJPARAM_DENSITYUNITS
    TJPARAM_DENSITYUNITS 

    JPEG pixel density units.

    @@ -1008,6 +1010,7 @@ scalingFactor).

  • 2 The pixel density of the JPEG image is expressed (decompression) or will be expressed (compression) in units of pixels/cm.
  • This value is stored in or read from the JPEG header. It does not affect the contents of the JPEG image. Note that this parameter is set by tj3LoadImage8() when loading a Windows BMP file that contains pixel density information, and the value of this parameter is stored to a Windows BMP file by tj3SaveImage8() if the value is 2.

    +

    This parameter has no effect unless the JPEG colorspace (see TJPARAM_COLORSPACE) is TJCS_YCbCr or TJCS_GRAY.

    See also
    TJPARAM_XDENSITY, TJPARAM_YDENSITY
    TJPARAM_MAXMEMORY 

    Memory limit for intermediate buffers.

    diff --git a/java/doc/member-search-index.zip b/java/doc/member-search-index.zip index ee5589b0..fc5e220a 100644 Binary files a/java/doc/member-search-index.zip and b/java/doc/member-search-index.zip differ diff --git a/java/doc/org/libjpegturbo/turbojpeg/TJ.html b/java/doc/org/libjpegturbo/turbojpeg/TJ.html index ea04ee2d..e4de6b7a 100644 --- a/java/doc/org/libjpegturbo/turbojpeg/TJ.html +++ b/java/doc/org/libjpegturbo/turbojpeg/TJ.html @@ -1878,7 +1878,10 @@ extends java.lang.Object

    This value is stored in or read from the JPEG header. It does not - affect the contents of the JPEG image. + affect the contents of the JPEG image. + +

    This parameter has no effect unless the JPEG colorspace (see + PARAM_COLORSPACE) is CS_YCbCr or CS_GRAY.

    See Also:
    PARAM_DENSITYUNITS, @@ -1903,7 +1906,10 @@ extends java.lang.Object

    This value is stored in or read from the JPEG header. It does not - affect the contents of the JPEG image. + affect the contents of the JPEG image. + +

    This parameter has no effect unless the JPEG colorspace (see + PARAM_COLORSPACE) is CS_YCbCr or CS_GRAY.

    See Also:
    PARAM_DENSITYUNITS, @@ -1933,7 +1939,10 @@ extends java.lang.Object

    This value is stored in or read from the JPEG header. It does not - affect the contents of the JPEG image. + affect the contents of the JPEG image. + +

    This parameter has no effect unless the JPEG colorspace (see + PARAM_COLORSPACE) is CS_YCbCr or CS_GRAY.

    See Also:
    PARAM_XDENSITY, diff --git a/java/doc/package-search-index.zip b/java/doc/package-search-index.zip index 3fae6c96..87217f5c 100644 Binary files a/java/doc/package-search-index.zip and b/java/doc/package-search-index.zip differ diff --git a/java/doc/type-search-index.zip b/java/doc/type-search-index.zip index e6b014e0..c2326087 100644 Binary files a/java/doc/type-search-index.zip and b/java/doc/type-search-index.zip differ diff --git a/java/org/libjpegturbo/turbojpeg/TJ.java b/java/org/libjpegturbo/turbojpeg/TJ.java index cb60c29f..25730ba4 100644 --- a/java/org/libjpegturbo/turbojpeg/TJ.java +++ b/java/org/libjpegturbo/turbojpeg/TJ.java @@ -851,6 +851,9 @@ public final class TJ { *

    This value is stored in or read from the JPEG header. It does not * affect the contents of the JPEG image. * + *

    This parameter has no effect unless the JPEG colorspace (see + * {@link #PARAM_COLORSPACE}) is {@link #CS_YCbCr} or {@link #CS_GRAY}. + * * @see #PARAM_DENSITYUNITS */ public static final int PARAM_XDENSITY = 20; @@ -867,6 +870,9 @@ public final class TJ { *

    This value is stored in or read from the JPEG header. It does not * affect the contents of the JPEG image. * + *

    This parameter has no effect unless the JPEG colorspace (see + * {@link #PARAM_COLORSPACE}) is {@link #CS_YCbCr} or {@link #CS_GRAY}. + * * @see #PARAM_DENSITYUNITS */ public static final int PARAM_YDENSITY = 21; @@ -888,6 +894,9 @@ public final class TJ { *

    This value is stored in or read from the JPEG header. It does not * affect the contents of the JPEG image. * + *

    This parameter has no effect unless the JPEG colorspace (see + * {@link #PARAM_COLORSPACE}) is {@link #CS_YCbCr} or {@link #CS_GRAY}. + * * @see #PARAM_XDENSITY * @see #PARAM_YDENSITY */ diff --git a/turbojpeg.h b/turbojpeg.h index 0d505df9..5c549dee 100644 --- a/turbojpeg.h +++ b/turbojpeg.h @@ -836,6 +836,9 @@ enum TJPARAM { * Windows BMP file by #tj3SaveImage8() if the value of #TJPARAM_DENSITYUNITS * is `2`. * + * This parameter has no effect unless the JPEG colorspace (see + * #TJPARAM_COLORSPACE) is #TJCS_YCbCr or #TJCS_GRAY. + * * @see TJPARAM_DENSITYUNITS */ TJPARAM_XDENSITY, @@ -853,6 +856,9 @@ enum TJPARAM { * Windows BMP file by #tj3SaveImage8() if the value of #TJPARAM_DENSITYUNITS * is `2`. * + * This parameter has no effect unless the JPEG colorspace (see + * #TJPARAM_COLORSPACE) is #TJCS_YCbCr or #TJCS_GRAY. + * * @see TJPARAM_DENSITYUNITS */ TJPARAM_YDENSITY, @@ -874,6 +880,9 @@ enum TJPARAM { * density information, and the value of this parameter is stored to a * Windows BMP file by #tj3SaveImage8() if the value is `2`. * + * This parameter has no effect unless the JPEG colorspace (see + * #TJPARAM_COLORSPACE) is #TJCS_YCbCr or #TJCS_GRAY. + * * @see TJPARAM_XDENSITY, TJPARAM_YDENSITY */ TJPARAM_DENSITYUNITS,