@echo off
::   This command script can be used to convert .jpg's into .tif's.
::   It can be used for viewer photos that will then get placed into
::   the live program.  To do this place this .cmd file on the desktop.
::   You can then drag and drop your .jpg on the command script where it
::   create the .tif and place it in the same location the .jpg came from.
::
::   Below are a few notes if you plan on changing this script.
::
::   When using the -resize tag there are a few options you should be
::   aware of.  If you type in (-resize 720) then the images will be resized
::   to a width of 720 and the height will maintain the aspect ratio of the
::   original image.  If you type in (-resize x486) then the images will be
::   resized to a height of 486 and the width will maintain the aspect ratio
::   of the original image.  If you type in (-resize 720x486!) the ! will tell
::   image magick to disregard any aspect ratio currently in place and apply
::   your demensions.
::
::   To change this so that it creates a different image format you only 
::   need to change the extensions to the formats you want (e.g. .JPG or .GIF or .TIF)
::   Be sure to change it in all locations where it appears.

C:\Progra~1\ImageMagick-6.3.3-Q8\convert.exe "%~df1" +compress -resize 720X486! "%~dpn1.TIF"
