Picture Resizer advanced configuration

Back to main PhotoResizer page.

Resize photos in all subfolders

To scan for images recursively, append the letter R to the application name. For example, rename it to PhotoResize400R.exe.

Command line options

Photo Resizer accepts command line parameters that override settings from tool's filename. It is also possible to cutomize the application standard output and to skip the tool's final message.

Important:When using complex options that contain space or charcters like :, <, >, /, \, you must enclose them in double quotes. For example "-if X<Y"

Overriding options

The settings apply to all files specified after them. Example:

PhotoResize.exe -w200 C:\img1.jpg -w300 C:\img1.jpg C:\img2.jpg
This command resizes img1.jpg to 200 pixels width, then resizes img1.jpg and img2.jpg to 300 pixels width.

Customizing destination folder and file name

Customize output path and name using the -c switch. If used without more options, it redirects output to current folder (to be compatible with previous versions).

You can use any characters and the following variables:

Example: To put files resized files into folder C:\Resized Images, use "-cC:\Resized Images\<PATH><NAME>.jpg" (the quates are needed, because, there is a space in the path.

Customizing tool's standard output

Using -o parameter has two effects. It eliminates the need to press ENTER when the tool has finished and it allows to customize the report producted by the tool.

Examples

PhotoResize400.exe -o "C:\img1.jpg"
Silently resize img1.jpg. Nothing is sent to standard output and the application exits without waiting for user interaction.

PhotoResize400.exe "-o<SRCNAME><EN>" "C:\MyImgs"
Resizes all images in folder MyImgs and writes original filenames to standard output. An end-of-line character is placed after each filename.

PhotoResize400.exe "-o<a href=<QT><SRCNAME><QT>> <img src=<QT><DSTNAME><QT> /> </a><EN>" "C:\MyImgs" >C:\pagefragment.html
Resizes all images in folder MyImgs and writes a simple html code with thumbnails linking to original images to file pagefragment.html.

Variables

Changing the output folder

By default, Picture Resizer creates the images in the folder, where the original images were found. Custom output folder can be specified using the -c flag, but that requires use of a command line. If you want to resize files via drag-and-drop, you may set up a shortcut. If the letter C is used at the end of the filename (PhotoResize400C.exe) and current folder is specified in the shortcut, the files are put into that folder.

Selecting output folder using shortcut

Configure (rename) PhotoResizer, then create a shortcut to it. A shortcut can is created by right-clicking and selecting 'Create Shortcut' command.

Shortcut specifies the current folder for the application. This value defaults to the folder, where the application resides. You may change it in the shortcut's properties windows. If you are changing the folder, make sure the new value is valid (folder already exists).

Drag and drop files on the shortcut. Images will be sent to the selected folder.

Configure PhotoResizer output folder

Note

Multiple options (C, R, L, H, I, M, S, N, T) can be used simultaneously by renaming the application to for example PhotoResize400CR.exe

Download Picture Resizer from its main page.