Hello,
更改大小有个SizeCommand ,例子代码:
// Load the source image from disk
RasterImage image = codecs.Load(srcFileName);
SizeCommand command = new SizeCommand();
command.Width = 128;
command.Height = 128;
command.Flags = RasterSizeFlags.Resample;
command.Run(image);
具体说明请参考这里:https://www.leadtools.com/help/l ... ng.sizecommand.html |