LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-27-2007, 06:08 PM   #1
xmrkite
Member
 
Registered: Oct 2006
Location: California, USA
Distribution: Mint 16, Lubuntu 14.04, Mythbuntu 14.04, Kubuntu 13.10, Xubuntu 10.04
Posts: 554

Rep: Reputation: 30
How do I create several montages from images in a folder? (ImageMagick & Montage)


Hello, I want to create several montages from images in a folder.

So I have one folder, it has for example 300 images in it, and I want to divide them up so that you have several montages that are 10 images wide by 12 high (total montage size being 300x240 (so each image in the montage is 30x20).

I was able to write a script using montage from imagemagick that takes the images and puts them together, but I have a few issues:

1. How do i have it choose random images and get several montages?
2. How do I specify the final image size, or somehow tell it i want 10 images across and 12 down and each image should be 30x20? (and crop out the white borders if the image is not in a 3:2 dimension size.)

--Thanks for the help.
 
Old 08-27-2007, 08:06 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Have you seen this page?

http://www.imagemagick.org/Usage/montage/



Cheers,
Tink
 
Old 08-28-2007, 03:38 PM   #3
xmrkite
Member
 
Registered: Oct 2006
Location: California, USA
Distribution: Mint 16, Lubuntu 14.04, Mythbuntu 14.04, Kubuntu 13.10, Xubuntu 10.04
Posts: 554

Original Poster
Rep: Reputation: 30
Wow, lots of info. That had exactly what i needed. Thanks for the direction : )
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
create a folder/file within a folder using perl indu.a Programming 2 03-07-2007 10:09 PM
LXer: Create Mosaic Images with Perl and ImageMagick LXer Syndicated Linux News 0 01-30-2006 06:01 AM
ImageMagick blend/fade two images 3saul Linux - Software 1 12-29-2005 02:38 PM
Making images paler with ImageMagick TrashCanMan Linux - Software 2 10-17-2004 10:50 AM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration