public void ProcessImage(Bitmap image)
        {
            this.image = image;
            ImageSize size = new ImageSize(image);

            this.imageHeight      = size.getHeight();
            this.imageWidth       = size.getWidth();
            this.downSampleLeft   = 0;
            this.downSampleTop    = 0;
            this.downSampleRight  = this.imageWidth;
            this.downSampleBottom = this.imageHeight;
        }
示例#2
0
 public void ProcessImage(Bitmap image)
 {
     this.image = image;
     ImageSize size = new ImageSize(image);
     this.imageHeight = size.getHeight();
     this.imageWidth = size.getWidth();
     this.downSampleLeft = 0;
     this.downSampleTop = 0;
     this.downSampleRight = this.imageWidth;
     this.downSampleBottom = this.imageHeight;
 }