예제 #1
0
        private void WriteImage(imageio.IIOImage iio)
        {
            if (NativeStream == null)
            {
                throw new Exception("Output stream not specified");
            }

            NativeWriter.write(iio);
        }
예제 #2
0
 internal void WritePlainImage(PlainImage pi)
 {
     try {
         imageio.IIOImage iio = GetIIOImageContainer(pi);
         WriteImage(iio);
     }
     catch (java.io.IOException ex) {
         throw new System.IO.IOException(ex.Message, ex);
     }
 }