Search found 13 matches
- 2019-10-19T06:51:24-07:00
- Forum: Users
- Topic: rewrite the script from windows to linux
- Replies: 3
- Views: 110916
Re: rewrite the script from windows to linux
please help rewrite the script from windows to linux. ImageMagick 6.9.10-23
The thing is, despite the fact that it uses the `convert` command, your question really isn't about ImageMagick at all — the ImageMagick part will be virtually the same whether you're on Linux or Windows. Your ...
- 2019-10-14T11:38:58-07:00
- Forum: Users
- Topic: rewrite the script from windows to linux
- Replies: 3
- Views: 110916
Re: rewrite the script from windows to linux
help, please!
- 2019-10-13T13:13:49-07:00
- Forum: Users
- Topic: rewrite the script from windows to linux
- Replies: 3
- Views: 110916
rewrite the script from windows to linux
please help rewrite the script from windows to linux. ImageMagick 6.9.10-23
@Echo Off
Setlocal
color 0a
set "Source=%~dp0"
cd /d "%~dp0"
if not exist ".\*.jpg" (
echo.
echo FAILED! Files *.jpg not found.
echo.
pause
endlocal & exit
) else (
echo.
echo Compress all JPG in a Directory:
echo ...
@Echo Off
Setlocal
color 0a
set "Source=%~dp0"
cd /d "%~dp0"
if not exist ".\*.jpg" (
echo.
echo FAILED! Files *.jpg not found.
echo.
pause
endlocal & exit
) else (
echo.
echo Compress all JPG in a Directory:
echo ...
- 2019-07-09T05:37:59-07:00
- Forum: Users
- Topic: bat, jpg to webp
- Replies: 9
- Views: 13317
Re: bat, jpg to webp
Version: ImageMagick 6.9.9-37 Q16 x64 2018-03-04
- 2019-07-09T05:25:32-07:00
- Forum: Users
- Topic: bat, jpg to webp
- Replies: 9
- Views: 13317
Re: bat, jpg to webp
how can I find out the version IM?
- 2019-07-09T05:23:11-07:00
- Forum: Users
- Topic: bat, jpg to webp
- Replies: 9
- Views: 13317
Re: bat, jpg to webp
now it works, thanks!
- 2019-07-09T04:54:01-07:00
- Forum: Users
- Topic: bat, jpg to webp
- Replies: 9
- Views: 13317
Re: bat, jpg to webp
that's right?
Code: Select all
convert ^
-quality 88 ^
-filter Lanczos ^
-sampling-factor 4:4:4 ^
-define jpeg:dct-method=float ^
"%%i" ^
-thumbnail 300x ^
+write ".\Compressed\%%~ni-w300.webp" ^
".\Compressed\%%~ni-w300.jpg"
echo JPG and WebP 300px done!
- 2019-07-09T04:46:20-07:00
- Forum: Users
- Topic: bat, jpg to webp
- Replies: 9
- Views: 13317
Re: bat, jpg to webp
am i doing wrong? please tell me how?snibgo wrote: 2019-07-09T03:58:46-07:00 Operations such as "-thumbnail" should come after reading the input, not before it.
happened! thank!!!snibgo wrote: 2019-07-09T03:58:46-07:00 If you want webp as well as jpg, then insert a "+write" operation, eg so the end of the convert command is:
- 2019-07-09T00:18:44-07:00
- Forum: Users
- Topic: bat, jpg to webp
- Replies: 9
- Views: 13317
Re: bat, jpg to webp
All photos, but already from the folder Compressed
- 2019-07-09T00:17:10-07:00
- Forum: Users
- Topic: bat, jpg to webp
- Replies: 9
- Views: 13317
bat, jpg to webp
Hello!
I have a file that converts all photos to the "Compressed" folder. Tell me, please, how can I add a command to this file so that all the photos are converted to webp?
echo Compress all JPG in a Directory:
echo %Source%
if not exist Compressed mkdir Compressed
for %%i in (*.jpg) do ...
I have a file that converts all photos to the "Compressed" folder. Tell me, please, how can I add a command to this file so that all the photos are converted to webp?
echo Compress all JPG in a Directory:
echo %Source%
if not exist Compressed mkdir Compressed
for %%i in (*.jpg) do ...
- 2019-06-18T12:19:16-07:00
- Forum: Users
- Topic: webp and jpg - parameters for high-quality photos
- Replies: 3
- Views: 10277
Re: webp and jpg - parameters for high-quality photos
I need to use jpg and webp. need to.
I can set the quality to 100. But there are other parameters. I do not know what to exhibit there.
filter Lanczos? or is there a better option?
sampling-factor 4:4:0? or is there a better option?
and webp?
- 2019-06-18T03:09:55-07:00
- Forum: Users
- Topic: webp and jpg - parameters for high-quality photos
- Replies: 3
- Views: 10277
webp and jpg - parameters for high-quality photos
Hello!
for jpg I use:
convert ^
-quality 90 ^
-filter Lanczos ^
-sampling-factor 4:4:0 ^
-define jpeg:dct-method=float ^
for webp I use:
convert ^
-quality 60 ^
-define webp:lossless=false ^
Tell me, what parameters should I use for jpg and webp? can i miss something? I need better quality ...
for jpg I use:
convert ^
-quality 90 ^
-filter Lanczos ^
-sampling-factor 4:4:0 ^
-define jpeg:dct-method=float ^
for webp I use:
convert ^
-quality 60 ^
-define webp:lossless=false ^
Tell me, what parameters should I use for jpg and webp? can i miss something? I need better quality ...
- 2019-06-18T00:45:27-07:00
- Forum: Users
- Topic: process all photos in the folder
- Replies: 2
- Views: 6038
process all photos in the folder
Hello!
Help me please. I am writing through Google translator. If something goes wrong, ask again.
Help with writing a script that will process all the photos that are in the folder this way:
1. Take a photo, compress up to 1000 pixels in width, save in webp format with the name of the original ...
Help me please. I am writing through Google translator. If something goes wrong, ask again.
Help with writing a script that will process all the photos that are in the folder this way:
1. Take a photo, compress up to 1000 pixels in width, save in webp format with the name of the original ...