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

[macosx] JPEG writer: Invalid argument to native writeImage when trying to write image to file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 7
    • client-libs
    • 2d
    • generic
    • os_x

      http://java.net/jira/browse/MACOSX_PORT-756 submitted 2011/11/30 by tonybeckham
      Several 2d manual tests fail with javax.imageio.IIOException: Invalid argument to native writeImage when trying to write image to file ... for jpeg writer.
      Failing tests:
      2D_ImageIO/Render2DTest
      2D_ImageIOTiger/ImageIOWriterCompTest
      2D_ImageIOTiger/ImageWriterTest
      2D_ImageIOTiger/WriterCompressionTypeTest
      2D_ImageIOTiger/ImageWriteParamTest
      2D_ImageIOTiger/WriterProgressiveEncodeTest
      From Render2DTest jpeg-font failures:
      TYPE_INT_ARGB: Exception thrown: javax.imageio.IIOException: Invalid argument to native writeImage
      TYPE_INT_ARGB_PRE: Exception thrown: javax.imageio.IIOException: Invalid argument to native writeImage
      TYPE_4BYTE_ABGR: Exception thrown: javax.imageio.IIOException: Invalid argument to native writeImage
      TYPE_4BYTE_ABGR_PRE: Exception thrown: javax.imageio.IIOException: Invalid argument to native writeImage
      From Render2DTest jpeg-text failures:
      TYPE_INT_ARGB: Exception thrown: javax.imageio.IIOException: Invalid argument to native writeImage
      TYPE_INT_ARGB_PRE: Exception thrown: javax.imageio.IIOException: Invalid argument to native writeImage
      TYPE_4BYTE_ABGR: Exception thrown: javax.imageio.IIOException: Invalid argument to native writeImage
      TYPE_4BYTE_ABGR_PRE: Exception thrown: javax.imageio.IIOException: Invalid argument to native writeImage
      From ImageIOWriterCompTest:
      javax.imageio.IIOException: Invalid argument to native writeImage when trying to write image to file img_0_transparent_new.jpg for format jpeg
      javax.imageio.IIOException: Invalid argument to native writeImage when trying to write image to file img_0_fight_new.jpg for format jpeg
      javax.imageio.IIOException: Invalid argument to native writeImage when trying to write image to file img_0_lake_new.jpg for format jpeg
      javax.imageio.IIOException: Invalid argument to native writeImage when trying to write image to file img_0_fight_new.jpg for format jpeg
      From ImageWriterTest:
      TYPE_INT_ARGB buffered image using JPG Writer: Exception thrown: javax.imageio.IIOException: Invalid argument to native writeImage
      TYPE_INT_ARGB_PRE buffered image using JPG Writer: Exception thrown: javax.imageio.IIOException: Invalid argument to native writeImage
      TYPE_4BYTE_ABGR buffered image using JPG Writer: Exception thrown: javax.imageio.IIOException: Invalid argument to native writeImage
      TYPE_4BYTE_ABGR_PRE buffered image using JPG Writer: Exception thrown: javax.imageio.IIOException: Invalid argument to native writeImage
      buffered image created from GC.createImage using JPG Writer: Exception thrown: javax.imageio.IIOException: Invalid argument to native writeImage
      From WriterCompressionTypeTest:
      javax.imageio.IIOException: Invalid argument to native writeImage when trying to write image to file TYPE_INT_ARGB_JPEG_transparent_new.jpg for format jpeg
      javax.imageio.IIOException: Invalid argument to native writeImage when trying to write image to file TYPE_INT_ARGB_PRE_JPEG_fight_new.jpg for format jpeg
      javax.imageio.IIOException: Invalid argument to native writeImage when trying to write image to file TYPE_4BYTE_ABGR_JPEG_lake_new.jpg for format jpeg
      javax.imageio.IIOException: Invalid argument to native writeImage when trying to write image to file TYPE_4BYTE_ABGR_PRE_JPEG_fight_new.jpg for format jpeg
      From ImageWriteParamTest:
      javax.imageio.IIOException: Invalid argument to native writeImage when trying to write TYPE_INT_ARGB image to a file using compression: JPEG and subsampling, for format jpeg
      javax.imageio.IIOException: Invalid argument to native writeImage when trying to write TYPE_INT_ARGB_PRE image to a file using compression: JPEG and subsampling, for format jpeg
      javax.imageio.IIOException: Invalid argument to native writeImage when trying to write TYPE_4BYTE_ABGR image to a file using compression: JPEG and subsampling, for format jpeg
      javax.imageio.IIOException: Invalid argument to native writeImage when trying to write TYPE_4BYTE_ABGR_PRE image to a file using compression: JPEG and subsampling, for format jpeg
      For WriterProgressiveEncodeTest:
      javax.imageio.IIOException: Invalid argument to native writeImage when trying to write image to file TYPE_INT_ARGB_fight_new.jpg for format jpeg
      javax.imageio.IIOException: Invalid argument to native writeImage when trying to write image to file TYPE_4BYTE_ABGR_fight_new.jpg for format jpeg
      javax.imageio.IIOException: Invalid argument to native writeImage when trying to write image to file TYPE_4BYTE_ABGR_PRE_painting_new.jpg for format jpeg

            bae Andrew Brygin
            vasya Vassili Igouchkine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: