Apply() 공개 메소드

public Apply ( byte imageData, int newWidth, int newHeight ) : ].byte[][
imageData byte
newWidth int
newHeight int
리턴 ].byte[][
예제 #1
0
        private Image PerformResize(Filter resizeFilter, int width, int height)
        {
            var result = new Image(_input.ColorModel, resizeFilter.Apply(_input.Raster, width, height));

            // We need to copy the PPI values to the result Image (otherwise will always be zero)
            result.DensityX = _input.DensityX;
            result.DensityY = _input.DensityY;
            
            return result;
        }
예제 #2
0
 private Image PerformResize(Filter resizeFilter, int width, int height)
 {
     return new Image(_input.ColorModel, resizeFilter.Apply(_input.Raster, width, height));
 }