It is currently Sun Aug 16, 2026 6:33 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Control Montage Dimensions?
PostPosted: Thu Nov 05, 2015 9:17 pm  (#1) 
Offline
GimpChat Member

Joined: Mar 01, 2015
Posts: 17
Is it possible to control the dimensions of montages from the command line? I'd like to make montages that are the dimensions of my laptop (1600x900) but haven't seen documentation that describes this.


Last edited by serche on Fri Nov 06, 2015 7:13 am, edited 1 time in total.

Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Control Montage Dimensions?
PostPosted: Fri Nov 06, 2015 12:14 am  (#2) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 14156
Location: Native to NYC living in Arizona, Gimp 2.8 - 3.0, Win 11 PC.
serche wrote:
Is it possible to control the dimensions of montages? I'd like to make montages that are the dimensions of my laptop (1600x900) but haven't seen documentation that describes this.

I think if you start off with a canvas of the size you want, that should be all that's required.
I haven't worked with this filter yet, so I could be incorrect about this.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Control Montage Dimensions?
PostPosted: Fri Nov 06, 2015 12:59 am  (#3) 
Offline
GimpChat Member

Joined: Mar 01, 2015
Posts: 17
Yes, you can control the dimensions if you assemble the montage within the GIMP program. I should have mentioned that I'm working from the command line. I use this command:

gmic *jpg -gimp_montage 4,\""V(H(0,1),H(2,V(3,4)))"\",1,1.0,0,5,0,0,0,255,0,0,0,0,0 -o output."$(date)".jpg

So I guess I'm looking for a Gimp command to create a canvas of a certain size, and then use the G'mic command in conjunction with it.


Top
 Post subject: Re: Control Montage Dimensions?
PostPosted: Fri Nov 06, 2015 4:39 pm  (#4) 
Offline
GimpChat Member

Joined: Mar 01, 2015
Posts: 17
I tried the following command with the gimp-canvas filter:

gmic *jpg -gimp_canvas 1600x900 -gimp_montage 4,\""V(H(0,1),H(2,V(3,4)))"\",1,1.0,0,5,0,0,0,255,0,0,0,0,0 -o output."$(date)".jpg

But it returned the error:

[gmic]-42./ *** Error *** Command '-gimp_canvas': Undefined argument '$4', in expression '$4' (for 1 argument specified).
[gmic] Command '-gimp_canvas' has the following description:

[gmic] Command 'gimp_canvas' has no description (did you mean '-gimp_lava' ?). Try 'gmic -h' for global help.


Top
 Post subject: Re: Control Montage Dimensions?
PostPosted: Fri Nov 06, 2015 11:28 pm  (#5) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 14156
Location: Native to NYC living in Arizona, Gimp 2.8 - 3.0, Win 11 PC.
Sorry Serche, but I haven't used the command line for anything as of yet. So I really can't give you any suggestions on it's use or a command that might work.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Control Montage Dimensions?
PostPosted: Sat Nov 07, 2015 6:31 am  (#6) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8457
Location: On the other side of your screen
Only ones I can see is to make it vertical or horizontal. Scaled or aligned. You may be able in the custom field.
If it is too big you may have to scale it still

If no one answers your question here try asking it at this link https://discuss.pixls.us/

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.4 and GMIC-Qt 4.0.2 OS :- Windows 10 Home 64


Top
 Post subject: Re: Control Montage Dimensions?
PostPosted: Sat Nov 07, 2015 9:05 pm  (#7) 
Offline
GimpChat Member

Joined: Mar 01, 2015
Posts: 17
Okay thanks! It may not be possible to do what I want. I will check out the link.


Top
 Post subject: Re: Control Montage Dimensions?
PostPosted: Sun Feb 21, 2016 5:12 am  (#8) 
Offline
New Member

Joined: Feb 20, 2016
Posts: 1
serche wrote:
I tried the following command with the gimp-canvas filter:

gmic *jpg -gimp_canvas 1600x900 -gimp_montage 4,\""V(H(0,1),H(2,V(3,4)))"\",1,1.0,0,5,0,0,0,255,0,0,0,0,0 -o output."$(date)".jpg

But it returned the error:

[gmic]-42./ *** Error *** Command '-gimp_canvas': Undefined argument '$4', in expression '$4' (for 1 argument specified).
[gmic] Command '-gimp_canvas' has the following description:

[gmic] Command 'gimp_canvas' has no description (did you mean '-gimp_lava' ?). Try 'gmic -h' for global help.


Yeah, I get this error too. Any one figured out a way to make this work?


Top
 Post subject: Re: Control Montage Dimensions?
PostPosted: Mon Feb 22, 2016 2:20 am  (#9) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8457
Location: On the other side of your screen
If you want to do the montage for you screen dimensions....since I don't know how to do custom I would .. 1. get all pictures that you want. 2. ask for it to be horizontally arrayed (assuming your screen is horizontal) make sure it is larger than your screen, then scale it to size. You could even do it a little smaller and stretch to screen if you are using as a desktop picture.
Just looking at it again. In
Auto montage the Estimated size is 100% x 100%
custom montage is 150% x 175%
Merging mode - Aligned is 200% x 300%
Scaled is smaller
This is without padding, borders or angles of pictures.

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.4 and GMIC-Qt 4.0.2 OS :- Windows 10 Home 64


Top
 Post subject: Re: Control Montage Dimensions?
PostPosted: Mon Feb 22, 2016 3:13 am  (#10) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8457
Location: On the other side of your screen
See if you find an answer here. If not you may have to wait for some professional help.
viewtopic.php?f=28&t=10342&hilit=new+filter+montage

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.4 and GMIC-Qt 4.0.2 OS :- Windows 10 Home 64


Top
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group