Editing image format files on Linux
●Rotate the image
The Linux convert command can be used to rotate images.
To rotate an image, add the "-rotate" option to the convert command and specify the rotation angle as an argument.
●Enlarge or reduce the image
To scale an image file, use the convert command with the "-geometry" option. You can specify the width and height as arguments, but if you want to scale the image while keeping the aspect ratio, you can specify the ratio as "%".