public ResizeProcessor(Configuration configuration, ResizeProcessor definition, Image <TPixel> source, Rectangle sourceRectangle)
     : base(configuration, source, sourceRectangle)
 {
     this.destinationWidth     = definition.DestinationWidth;
     this.destinationHeight    = definition.DestinationHeight;
     this.destinationRectangle = definition.DestinationRectangle;
     this.resampler            = definition.Sampler;
     this.compand = definition.Compand;
 }
 public ResizeProcessor(ResizeProcessor definition, Image <TPixel> source, Rectangle sourceRectangle)
     : base(source, sourceRectangle)
 {
     this.targetWidth     = definition.TargetWidth;
     this.targetHeight    = definition.TargetHeight;
     this.targetRectangle = definition.TargetRectangle;
     this.resampler       = definition.Sampler;
     this.compand         = definition.Compand;
 }
 public ResizeProcessor(ResizeProcessor parameterSource)
 {
     this.parameterSource = parameterSource;
 }
Exemple #4
0
 public ResizeProcessor(ResizeProcessor parameterSource, Image <TPixel> source, Rectangle sourceRectangle)
     : base(source, sourceRectangle)
 {
     this.parameterSource = parameterSource;
 }