// We will always be creating the clone even for mutate because thats the way this base processor works
// ------------
// For resize we know we are going to populate every pixel with fresh data and we want a different target size so
// let's manually clone an empty set of images at the correct target and then have the base class processs them in turn.
// let's manually clone an empty set of images at the correct target and then have the base class process them in turn.
IEnumerable<ImageFrame<TPixel>>frames=source.Frames.Select(x=>newImageFrame<TPixel>(this.Width,this.Height,x.MetaData.Clone()));// this will create places holders
varimage=newImage<TPixel>(config,source.MetaData.Clone(),frames);// base the place holder images in to prevet a extra frame being added
varimage=newImage<TPixel>(config,source.MetaData.Clone(),frames);// base the place holder images in to prevent a extra frame being added