예제 #1
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;
        }
예제 #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;
 }