How to batch resample images to a particular size?

I am trying to record a script that will resize pictures of varying sizes to a particular dimension, in this case, 1920 pixels wide. Any ideas how I can do this?

If I use "resample" to resize a photo to the desired size, and record that action as a script, the resulting script will only work on other images that are the identical size of the image I used when recording the script. How can I write a script that will resize images to the same width, regardless of their original size?

Parents
  • After you have recorded and saved your script in PhotoPaint, open the script file (.csc) with Notepad and delete the line of code that begins with SetDocumentInfo... and then resave. Now it should work on any size image. On Windows 7 saved scripts are located here:

    C:\Users\YOUR USERNAME\AppData\Roaming\Corel\CorelDRAW Graphics Suite X7\PHOTO-PAINT\scripts

    Patti

Reply Children
No Data