Resizing all my jpg Images in Wordpress Uploads Folder
Resizing all my jpg Images in Wordpress Uploads Folder
Hello,
I'm using centos 7.6 with Plesk Onyx. I have installed ImageMagick 6.7.8-9. I would like to optimise all my Images again.
What command should be used, convert or mogrify?
I would like to remove the Exif Data from the Images, but leave the color profiles, is there a alternative for -strip
Another question is, if I run the convert or mogrify command to optimize, is ImageMagick checking before if the Images are already Optimized? If I have Image Files what already Optimized by a other Tool, will Imagemagick check this, or just apply the set quality level?
Is there also a parameter to set via command line, where showing the processing of the Images?
Thanks
Regards
Sallida
I'm using centos 7.6 with Plesk Onyx. I have installed ImageMagick 6.7.8-9. I would like to optimise all my Images again.
What command should be used, convert or mogrify?
I would like to remove the Exif Data from the Images, but leave the color profiles, is there a alternative for -strip
Another question is, if I run the convert or mogrify command to optimize, is ImageMagick checking before if the Images are already Optimized? If I have Image Files what already Optimized by a other Tool, will Imagemagick check this, or just apply the set quality level?
Is there also a parameter to set via command line, where showing the processing of the Images?
Thanks
Regards
Sallida
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Resizing all my jpg Images in Wordpress Uploads Folder
That is very old. I suggest you install a current version.sallida wrote:I have installed ImageMagick 6.7.8-9.
If the command is simple, mogrify would work. Otherwise, use convert to process one file at a time, and put that in a shell loop.sallida wrote:What command should be used, convert or mogrify?
You can save the profile, then strip, then assign the profile.sallida wrote:I would like to remove the Exif Data from the Images, but leave the color profiles, is there a alternative for -strip
These are JPG files, right? What do you mean by "optimized"?sallida wrote:Another question is, if I run the convert or mogrify command to optimize, is ImageMagick checking before if the Images are already Optimized?
Perhaps "-monitor" does what you want.sallida wrote:Is there also a parameter to set via command line, where showing the processing of the Images?
snibgo's IM pages: im.snibgo.com
Re: Resizing all my jpg Images in Wordpress Uploads Folder
Hello,
thanks for the update on this. The Version is shipped with Plesk Onyx on Centos, I have to see how to update to the actual stable version.
Yes, all the Files are JPG Files, I mean with Optimized if Imagemagick do a check before, like if a File is already compressed to the maximum by a 3rd party plugin, if the file then will be skipped?
Thx
Sallida
thanks for the update on this. The Version is shipped with Plesk Onyx on Centos, I have to see how to update to the actual stable version.
Yes, all the Files are JPG Files, I mean with Optimized if Imagemagick do a check before, like if a File is already compressed to the maximum by a 3rd party plugin, if the file then will be skipped?
Thx
Sallida
Re: Resizing all my jpg Images in Wordpress Uploads Folder
What will Imagemagick do with the Imagefiles, when running the Optimize Command again over all Files?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Resizing all my jpg Images in Wordpress Uploads Folder
Maximum compression is a really bad idea. The result will look awful. JPEG compression is a trade-off between image quality and file size. Smaller files have worse image quality.sallida wrote:...like if a File is already compressed to the maximum by a 3rd party plugin...
What "Opimize Command"?sallida wrote:What will Imagemagick do with the Imagefiles, when running the Optimize Command again over all Files?
snibgo's IM pages: im.snibgo.com
Re: Resizing all my jpg Images in Wordpress Uploads Folder
Lets say I run the command convert -quality 70 *.jpg over all Files twice, will imagemagick process the already optimised Images again
Re: Resizing all my jpg Images in Wordpress Uploads Folder
Means, if the command will be executed more times, the Image quality get worst and worst with every run??
Re: Resizing all my jpg Images in Wordpress Uploads Folder
Is there no option, to set somehow to prevent this?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Resizing all my jpg Images in Wordpress Uploads Folder
Not within IM. In a shell script, for each file, you could find the current compression "quality" level. If it is more than 70, then run the command to compress it.
snibgo's IM pages: im.snibgo.com