[PLUG] Concatenating two square icons to get single rectangular image

Richard Owlett rowlett at cloud85.net
Thu Feb 15 00:13:15 UTC 2018


Serendipity *RULES* <grin>
Just before reading your post and after following an unreproducible web 
of references and links I had found <http://www.graphicsmagick.org/>. I 
found hints that what I wanted was possible - but how was unclear.

"montage -geometry <size> <file1> <file2> ...<filen> <output>" resembled 
what I'd seen. I then used "montage" as a search term at 
<https://manpages.debian.org/>. That delivered 
<https://manpages.debian.org/stretch/graphicsmagick-imagemagick-compat/montage.1.en.html> 
which described what I wanted.

There are strong hints that its output will be a "miff" format file. 
It's not yet clear if that can be converted to a "png" format file.

If that can not be done, it will not be usable on a MATE panel.
HOWEVER I've found references on <http://wiki.tcl.tk/> that I can 
achieve a suitable substitute.

" How the program decides how to arrange the pictures " is not terribly 
important as long as it is repeatable.

I doubt authors were thinking of my constraints.
*HOWEVER*, if it works I'm happy.
I'm off to discover just what a "miff" formatted image might be.

As I've said before, "If retirement is not for learning, what use is it?"

Thank you.
I've homework to do.



On 02/14/2018 05:15 PM, Denis Heidtmann wrote:
> montage -geometry <size> <file1> <file2> ...<filen> <output>,
> 
> where:
> <size> is the horizontal number of pixels wide the result should be.
> The number of pixels of an image can be found by right-clicking on
> the name of the file, choosing properties, then select the image tab.
> You will then see the width and height of the image in pixels.
> This value is the size of one of the files. If the files significantly
> differ in sizes, pick the largest to preserve all resolution.  How the
> program decides how to arrange the pictures I do not know.  Experiment.
> If you want to scale the size down, you could  experiment with a smaller
> number--try half.
> 
> (If the vertical size is to be specified prepend an x to the number.)
> 
> The above are my  notes on doing what you want with scanned images.  You
> will likely need to read the docs and make adjustments.
> 
> -Denis
> 
> On Wed, Feb 14, 2018 at 12:59 PM, Rich Shepard <rshepard at appl-ecosys.com>
> wrote:
> 
>> On Wed, 14 Feb 2018, Richard Owlett wrote:
>>
>> Consider two 48x48 icons. I wish a single 48x96 icon. I've already looked
>>> at Gimp and ImageMagick. They are OVERkill. Like using LaTex to
>>> concatenate two 10 character strings. Would prefer png abut either bmp or
>>> jpeg would also work.
>>>
>>
>>    Then underuse them! Or, print, paste, and scan.
>>
>> Rich
>>




More information about the PLUG mailing list