Picture Resizer 5.0 Application used in an “Right Click/Send” To Application

 

Batch Picture Resize

 

Advanced PhotoResize.exe settings

This is the area where I used the command line arguments to resize to a specific size of image. 

 

Example of C# code is:

s is the image location and name: 

Code Snippet
  1. OpenPhotoResize(@"-o " + "-cC:\\ResizedImages\\<PATH><NAME>.jpg " + s);

OpenPhotoResize method is:

f is the parameter that is passed to the PhotoResizer400

Code Snippet
  1. static void OpenPhotoResize(string f)
  2. {
  3.     ProcessStartInfo startInfo = new ProcessStartInfo();
  4.     startInfo.FileName = "C:\\PhotoResize400.exe";
  5.     startInfo.Arguments = f;
  6.     Process.Start(startInfo);
  7. }

Tags: , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: