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

Setting of destination image type for jpeg image increase size of result.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • client-libs
    • None
    • mustang
    • generic
    • generic



      Name: abR10136 Date: 04/07/2004


       If we explicitly use the write param with destination type to write image as
       jpeg then the size of the result file is bigger than if same
       destination type is used implicitly.

       Expected result: size of result should not depend on the way of
         selecting destination type. For identical image write params we must get
         identical sizes.

       Testcase from comments section could be used to reproduce the problem
        (note that created files sizes are different.
         For instance for test/javax/imageio/images/VancouverIsland200.jpg
         - sizes are 18156 bytes and 7460 bytes).


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

            bae Andrew Brygin
            bae Andrew Brygin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: