Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 4
0
 public ResizeProcessor(ResizeProcessor parameterSource, Image <TPixel> source, Rectangle sourceRectangle)
     : base(source, sourceRectangle)
 {
     this.parameterSource = parameterSource;
 }