Skip to main content

Posts

Showing posts with the label Resize an image in AX 2012 using Batch functionality

Resize an image in AX 2012 using Batch functionality

How To re size an image in AX 2012 using Batch functionality. If You have thousands of images and want to re size them through batch.  You need to use System.Drawing.Image::FromFile(imagePath) method to get the image object. You can use the "resize" method in "image" class image img = new image(); ; img.loadImage("_filename"); img.resize(200,200, interpolationmode::InterpolationModeDefault);