Score:1

I want to reduce an image from 8 x 11 to 3 x 5 using Shotwell or Image viewer

pe flag

I have many images I like to print to use in card-making. I try and use Shotwell to reduce the size from 8 x 11 to 3 x 5" and am having no success. Help.

sudodus avatar
jp flag
I would suggest to use ImageMagick `convert` which is suitable for batch processing of several images. There is a learning curve, but you can find good tutorials via the internet.
Pilot6 avatar
cn flag
Having not success is not very informative.
Score:1
sa flag

You want to scale down 8 x 11" to 3 x 5" which would downscale the width to 0.375 of the original width and the height to 0.4545 of the original height. That's going to make all of the new images look funny looking because the proportions of the existing images would not be preserved. Downscaling an 8 x 11" image to 4 x 5.5" would preserve the original proportions of the image and reduce its width and height to 50% of its original width and height.

There is a one-line command in ImageMagick (sudo apt install imagemagick) which can batch resize multiple images. Change directories using cd to the directory that contains all the images to be resized and run a command that has the following form.

mogrify -resize widthxheight! *.jpg

If your images are .png images, then replace .jpg with .png in the above command.

Click an image and select Properties -> Image tab as shown in the screenshot.

enter image description here

The image in the screenshot is 500x500 pixels. Applying the downscaling formula would reduce the width to 500 x 0.375 = 187.5 pixels and the would reduce the height to 500 x 0.454545 = 227.25 pixels. image-01.jpg is a square image, but it will be a rectangular image after it is resized.

Substituting 187.5x 227.25 for width and height produces the following command:

mogrify -resize 187.5x227.25! *.jpg

The mogrify command cannot resize to fractions of a pixel so the resulting files will have dimensions of 188 x 227 pixels.

This mogrify command resizes every .jpg file in the current directory and it replaces every existing image by a new resized image. To avoid losing all your original files you must make backups of all the original images before you resize them! I recommend storing all your original images in a safe place like on a USB flash drive, so that you don't accidentally resize them.

sudodus avatar
jp flag
+1; Only one minor comment: I agree that the original images should be backed up (stored) in a save place, but I don't think USB flash drives are safe enough. I'd recommend an SSD or HDD or an internet cloud service.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.