Scripting Function - SaveToFolderJpeg
The function specifies a folder where each processed image file will be saved. The function is special version of SaveToFolder that saves images in the JPEG image file format. The function allows you to specify JPEG quality and if the any existing EXIF Meta Information from each original image file should be added to each processed image.
SaveToFolderJpeg foldername As StringValueFolderName, quality As IntegerValuePercentage, writeexifinformation As BooleanValue, recreateoriginalfolderstructure As BooleanValue
foldername - the full path to the folder where processed image files will be saved. Note that if the specified folder does not exist it will be created.
quality - the percentage for JPEG quality (where 1 is the lowest quality setting and 100 is the highest quality setting)
writeexifinformation - the write EXIF Meta Information flag
recreateoriginalfolderstructure - Optional Parameter - When set to True the original folder structure of the images will be created under the output folder. When set to False or not included in the function call the processed images will be saved into the output folder.
The following example specifies that all the processed images should be saved as the JPEG image file format to a folder named "temp" in the root of the C: drive. Each processed image will be saved with a quality setting of 80%, and EXIF Meta Information will not be copied from each original image:
SaveToFolderJpeg "c:\temp", 80, False
Supported in Multiple Image Resizer .NET v18.104.22.168
Optional Parameter recreateoriginalfolderstructure added in Multiple Image Resizer .NET v22.214.171.124