126
Post New Requests Here / Re: IDEA: Drop Zone for Web Images
« on: October 09, 2015, 12:19 PM »
OK, it works, but not quite how I wanted. You have to create a batch file and drop pictures from your webbrowser onto that. Here's one I made:
test.bat
When I drop the file onto this bat, it converts it to jpg, names it test-(current system time).jpg, and saves it to a IView folder on my desktop.
If you look at the link above, irfanview supports TONS of command line arguments, and has very powerful renaming wildcards (documented in the help files). I can't imagine there's something you'd want to do that you couldn't do with this method. That %1 is important, by the way; it's what passes the filename to the batch file, and it's the reason I couldn't get it to work with a simple shortcut. Only think this method isn't is easy, point-and-click, etc. But I think it'll work.
Edit: Figured out how to keep the existing extension:
Edit again to note that you can hide the batch file somewhere and drop a file onto a shortcut to it instead - it works the same but you can freely rename and change the icon of a shortcut.
test.bat
"C:\Program Files (x86)\IrfanView\i_view32.exe" %1 /convert=c:\users\Eric\Desktop\IView\test-$U.jpg
When I drop the file onto this bat, it converts it to jpg, names it test-(current system time).jpg, and saves it to a IView folder on my desktop.
If you look at the link above, irfanview supports TONS of command line arguments, and has very powerful renaming wildcards (documented in the help files). I can't imagine there's something you'd want to do that you couldn't do with this method. That %1 is important, by the way; it's what passes the filename to the batch file, and it's the reason I couldn't get it to work with a simple shortcut. Only think this method isn't is easy, point-and-click, etc. But I think it'll work.
Edit: Figured out how to keep the existing extension:
/convert=c:\prefix-$U$O
Edit again to note that you can hide the batch file somewhere and drop a file onto a shortcut to it instead - it works the same but you can freely rename and change the icon of a shortcut.