1) create a .bat file and move it some place you want to keep it:
- Right click on desktop, select "New" >>> "Text Document"
- Rename to convert.bat
- Move convert.bat to a location you want to keep it in (recommended examples: "imagesoftware" program folder, or user "imagesoftware" settings folder)
Vista path example for user "imagesoftware" settings folder: C:\Users\(username)\AppData\Roaming\(imagesoftware)
Vista path example for "imagesoftware" program folder: C:\Program Files (x86)\(imagesoftware)
2) place a shortcut of said .bat in Window's SendTo folder:
- Right click on convert.bat file, select "Create Shortcut"
- Move newly created shortcut to windows SendTo folder
Vista path looks like C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\SendTo
- For prettier context menu, you can rename the shortcut (reflected in context menu)
3) edit convert.bat with resize/convert command(s) from your favorate image software:
- right click on convert.bat, select "Edit" or select "Open With" >>> "Note Pad"
- Type in commands for/from "imagesoftware" you use DETAILED BELOW
- Save editing changes
4) Profit:
- Select/highlight image file(s) you want to resize/convert
- Right click on any selected file, select "Send To" >>> "convert.bat" (or to what you renamed the shortcut too)
5) Suggestion(s)/Tip(s):
- Make multiple .bats for different RESIZE/CONVERT settings
- You can have CMD window start minimized by editing the shortcuts properties
- [quote=note] keep in mind there is a 2,047-8,191 character command line limit? which will limit the number of files you can pass[/quote]
- To maximize filecount, us shortest file path and shortest filenames. EX: C:/FOLDERNAME/001.jpg instead of something like
C:\Users\Administrator\Desktop\Doujinshi\[A]\CIRCLENAME\(C##) [CIRCLENAME (AUTHOR)] TITLE (PARODY) 001.jpg
irfanview commands explained
Goto irfanview's program folder and look for "i_options.txt" for list of commands.
TIP: If you change settings often, better use a specific .ini for RENAME/RESIZE batch, or make the original .ini READ-ONLY
example:
@echo off
:Start
If %1=="" Goto End
"C:\Program Files (x86)\IrfanView\i_view32.exe" %1 /resize=(0,200) /jpgq=80 /aspectratio /resample /convert=$N_thumb.jpg
Shift
Goto Start
:End
:Start /// If %1=="" Goto End /// Shift /// Goto Start /// :End = CMD window loop for multiple selected files
"C:\Program Files (x86)\IrfanView\i_view32.exe" = path to imagesoftware
%1 = The %1 passes the selected file(s) to the program.
/resize=(0,200) = for resize: width,height in pixels (0 = ignore???)
/jpgq=80 = for saving: .jpg quality
/aspectratio = for resize: keep aspect ratio
/resample = for resize: use Resample option (better quality)
/convert=$N_thumb.jpg = for saving: $N means original filename, and the _thumb adds onto filename, and .jpg means what format to save to
other "imagesoftware" commands explained
example:
...
PS. I'll try to find out a way to do any number of files, probably take a while to google. Later~!
PS. Also, if you know of more imagesoftware (or even ones with built in right-click context menu options), please post em here, thanks.