Exemplo n.º 1
0
 public static Image[] SplitTiffPages(Image sourceImage)
 {
     TiffUtil2 t = new TiffUtil2("");
     //return t.splitTiffPages(sourceImage);
     return t.getTiffImages(sourceImage);
 }
Exemplo n.º 2
0
        //, string location)
        public static byte[] SaveData(Image[] bmp)
        {
            MemoryStream[] streams = new MemoryStream[bmp.Length];
            for (int i = 0; i < bmp.Length; i++)
            {
                streams[i] = new MemoryStream((byte[])new ImageConverter().ConvertTo(bmp[i], typeof(byte[])));
            }
            TiffUtil2 util = new TiffUtil2("");

            return util.myMergeTiffStreams(streams);
        }