Hello every one!
This is my first post.
I want to create a .bat file for resize Selected Image with the Settings
Action: Replace original
Size = 500KB
How can I do that?
How create a .bat file for Light Image Resizer 6
Moderator: Fabrice
-
- Junior Member
- Posts: 4
- Joined: Fri Aug 27, 2021 5:56 am
Re: How create a .bat file for Light Image Resizer 6
Not all of the options are available as command line parameters. We will add more in the next release.
You can create a profile with your options though, and call that via command line.
For example:
Depending on the image content and output dimensions, setting the file size can lead to bad image quality in some cases. Keep that in mind, especially when overwriting originals.
You can create a profile with your options though, and call that via command line.
For example:
Code: Select all
resize.exe /profile="my profile"
-
- Junior Member
- Posts: 4
- Joined: Fri Aug 27, 2021 5:56 am
Re: How create a .bat file for Light Image Resizer 6
Code: Select all
"%ProgramFiles(x86)%\ObviousIdea\Light Image Resizer 6\Resize.exe"
Code: Select all
"%ProgramFiles(x86)%\ObviousIdea\Light Image Resizer 6\Resize.exe /profile=coverart"
My Profile name is "coverart"
What the wrong I am doing
Re: How create a .bat file for Light Image Resizer 6
You need to enclose the path in double quotes as it contains spaces. This is also recommended for the profile name.
This should work:
This should work:
Code: Select all
"%ProgramFiles(x86)%\ObviousIdea\Light Image Resizer 6\Resize.exe" /profile="coverart"
-
- Junior Member
- Posts: 4
- Joined: Fri Aug 27, 2021 5:56 am
Re: How create a .bat file for Light Image Resizer 6
After using this code in CMD, Light Image Resizer has Run & Show a Dialogbox:
Code: Select all
Invalid parameter or Value: profile=coverart
Re: How create a .bat file for Light Image Resizer 6
It means no profile with this name was found. You need to make sure the profile exists and name is correct.
You can check the exact name and/or rename the profile by clicking the "..." button, and selecting "Rename".
You can check the exact name and/or rename the profile by clicking the "..." button, and selecting "Rename".
-
- Junior Member
- Posts: 4
- Joined: Fri Aug 27, 2021 5:56 am
Re: How create a .bat file for Light Image Resizer 6
Finally its Wroked. The Profile Name is Case Sensitive. I should type
Thanks for the support. What is the Keyboard shortcut key for the after I add the Images, Enter doesn't work here,
I have another issue, Should I asked in this Post or Should I Create a New Post for that?
Code: Select all
Coverart
Code: Select all
Next button
I have another issue, Should I asked in this Post or Should I Create a New Post for that?
Re: How create a .bat file for Light Image Resizer 6
Are you adding your images via command line as well? In that case you can add the /run parameter to start processing directly.
Please see this reference for all the parameters: https://www.obviousidea.com/windows-sof ... arameters/
If your other question is related to command line use, feel free to post it here. If not, better create a new topic.
Please see this reference for all the parameters: https://www.obviousidea.com/windows-sof ... arameters/
If your other question is related to command line use, feel free to post it here. If not, better create a new topic.