Skip to content

Examples

Thomas Stensitzki edited this page Mar 27, 2017 · 13 revisions

Examples

The following examples show the different results for the specific requirement.

The HR department saves user profile pictures in a dedicated folder which is used as a source for resizing. The IT department resizes the profile pictures for the following target purpuses:

  • Exchange -> 648px * 648px
  • Active Directory -> 96px * 96px
  • Intranet addressbook -> 150px * 150px

Folder Structure

  • Pictures
    • SOURCE
      • USERA_rectangle.jpg
      • USERA_square.jpg
    • AD
      • ResizeImage.exe
      • ResizeImage.exe.config
    • INTRANET
      • ResizeImage.exe
      • ResizeImage.exe.config
    • EXCHANGE
      • ResizeImage.exe
      • ResizeImage.exe.config

After executing each instance of ResizeImage.exe you will find the resized images in the respective folders.

Command line examples

D:\Pictures\AD\ResizeImage.exe D:\Pictures\SOURCE D:\Pictures\AD

D:\Pictures\INTRANET\ResizeImage.exe D:\Pictures\SOURCE D:\Pictures\INTRANET

D:\Pictures\EXCHANGE\ResizeImage.exe D:\Pictures\SOURCE D:\Pictures\EXCHANGE

Pictures in AD folder (96 x 96)

AD rectangle picture

AD rectangle picture

AD square picture

AD square picture

Pictures in INTRANET folder (150 x 150)

Intranet rectangle picture

Intranet rectangle picture

Intranet square picture

Exchange square picture

Pictures in EXCHANGE content (648 x 648)

Exchange rectangle picture

Exchange rectangle picture

Exchange square picture

Exchange square picture

Clone this wiki locally