Search found 13 matches

by caho
2019-10-19T06:51:24-07:00
Forum: Users
Topic: rewrite the script from windows to linux
Replies: 3
Views: 39431

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 question is r...
by caho
2019-10-14T11:38:58-07:00
Forum: Users
Topic: rewrite the script from windows to linux
Replies: 3
Views: 39431

Re: rewrite the script from windows to linux

help, please!
by caho
2019-10-13T13:13:49-07:00
Forum: Users
Topic: rewrite the script from windows to linux
Replies: 3
Views: 39431

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 J...
by caho
2019-07-09T05:37:59-07:00
Forum: Users
Topic: bat, jpg to webp
Replies: 9
Views: 9182

Re: bat, jpg to webp

snibgo wrote: 2019-07-09T05:27:56-07:00

Code: Select all

convert -version
Version: ImageMagick 6.9.9-37 Q16 x64 2018-03-04
by caho
2019-07-09T05:25:32-07:00
Forum: Users
Topic: bat, jpg to webp
Replies: 9
Views: 9182

Re: bat, jpg to webp

snibgo wrote: 2019-07-09T05:13:00-07:00 What version of IM are you using?
how can I find out the version IM?
by caho
2019-07-09T05:23:11-07:00
Forum: Users
Topic: bat, jpg to webp
Replies: 9
Views: 9182

Re: bat, jpg to webp

now it works, thanks!
by caho
2019-07-09T04:54:01-07:00
Forum: Users
Topic: bat, jpg to webp
Replies: 9
Views: 9182

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!
by caho
2019-07-09T04:46:20-07:00
Forum: Users
Topic: bat, jpg to webp
Replies: 9
Views: 9182

Re: bat, jpg to webp

snibgo wrote: 2019-07-09T03:58:46-07:00 Operations such as "-thumbnail" should come after reading the input, not before it.
am i doing wrong? please tell me how?

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:
happened! thank!!!
by caho
2019-07-09T00:18:44-07:00
Forum: Users
Topic: bat, jpg to webp
Replies: 9
Views: 9182

Re: bat, jpg to webp

All photos, but already from the folder Compressed
by caho
2019-07-09T00:17:10-07:00
Forum: Users
Topic: bat, jpg to webp
Replies: 9
Views: 9182

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 (...
by caho
2019-06-18T12:19:16-07:00
Forum: Users
Topic: webp and jpg - parameters for high-quality photos
Replies: 3
Views: 7078

Re: webp and jpg - parameters for high-quality photos

snibgo wrote: 2019-06-18T05:45:45-07:00 for best quality, don't use JPG.
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?
by caho
2019-06-18T03:09:55-07:00
Forum: Users
Topic: webp and jpg - parameters for high-quality photos
Replies: 3
Views: 7078

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 the p...
by caho
2019-06-18T00:45:27-07:00
Forum: Users
Topic: process all photos in the folder
Replies: 2
Views: 5003

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-imag...