Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5086

Advanced users • scaling factor (-s) in grim, or another way to get a thumbnail?

$
0
0
I'm trying to get thumbnails out of grim. Essentially, the equivalent of scrot's -t, though I figure I will have to do TWO calls to grim to get both a full-sized image and a thumbnail, which I could happily get out of scrot in one...

ATM, I'm trying to see if scale factor could be used to get what I want. Through some brief glancing at the source, and some experimentation, I think that this value is a real number, with values GT 1 meaning bigger, i.e., it's not an integer or a percentage.

The manual says:
-s <factor>
Set the output image's scale factor to factor. By default, the scale factor is set to the highest of all outputs.
Choosing "1.50" gives a bigger image that's very clear; "0.90" an image that's still readable, but "0.40" or "0.50" give images that are smudgy and unreadable even though they're the desired small size. So, probably not the equivalent of a thumbnail. But, if that's not it, there seems to be no way to make a smaller image from within the product itself. Perhaps I need an external product like imagemagick?

<rant>I wish people would put more actual explanation in their man pages, instead of giving just as little as running the app with -h</rant>

Statistics: Posted by tinker2much — Mon Jan 20, 2025 12:30 am — Replies 0 — Views 12



Viewing all articles
Browse latest Browse all 5086

Trending Articles


Practice Sheet of Right form of verbs for HSC Students


Sarah Samis, Emil Bove III


ZARIA CUMMINGS


Need radio code for IVECO Delphi Aptiv FJ5 RBT M16


Black Angus Grilled Artichokes


Ed Sheeran – Sapphire – Pre-Single [iTunes Plus M4A]


Sunny Garcia’s Ex-Wife Colleen McCullough


99 God Status for Whatsapp, Facebook


Funeral of Sir Warwick Franklin


MHDD