Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4448677

typo in description of setCompressionMode() method

XMLWordPrintable

    • beta2
    • generic
    • generic



      Name: vrR10176 Date: 04/20/2001



      Api spec (jdk1.4.0beta-b61) says about method
      javax.imageio.ImageWriteParam.setCompressionMode():

      "public void setCompressionMode(int mode)
        Specifies whether compression is to be performed, and if so
      how compression parameters are to be determined. The mode argument
      must be one of the four modes, interpreted as follows:
        MODE_DISABLED - Do not compress. This may not be permitted by some
      writers, such as JPEG, which do not normally offer uncompressed output.
      The corresponding set and get methods will throw an IllegalStateException.
        MODE_EXPLICIT - Compress using the compression type and quality
      settings specified in this ImageWriteParam. Any previously set tiling
                                                                     ~~~~~~
      parameters are discarded.
      ..."

      Obviously used in description word 'tiling' (instead of 'compression')
      is a typo.

      ======================================================================

            dricesunw Daniel Rice (Inactive)
            rslasunw Rsla Rsla (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: