give all images same height


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting give all images same height
# 1  
Old 10-29-2011
give all images same height

How do I resize all images in a directory to the same pixel height?
# 2  
Old 10-30-2011
I have found the solution for bash:
Code:
mogrify -resize x120 *.jpg

Mogrify is a part of ImageMagick
This User Gave Thanks to locoroco For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash Script to find/sort/move images/duplicate images from USB drive

Ultimately, I'm looking to create a script that allows me to plug in a usb drive with lots of jpegs on it & copy them over to a folder on my hard drive. So in the process of copying I am looking to hash check them, record dupes to a file, copy only 1 of the identical files (if it doesn't exsist... (1 Reply)
Discussion started by: JonaQuinn
1 Replies

2. Solaris

Solaris 8 02/04 CD images

Hi all friends of the Forum, i want to ask you if someone would be so kind to provide me the links for Solaris 8 02/04 CD images.. (I can't find them in the Net, maybe my google-fu is weak) (Also i don't have an Oracle Solaris support contract so i can't download them from their site) ... (0 Replies)
Discussion started by: mk2soldier
0 Replies

3. Shell Programming and Scripting

putting two images together

Hi, I generated many figures in .png format (approximately 120). Right now I need to pair the figures on a single page so that the files with the same file name (i.e. jack) that end with .matrix.png are placed on the left and .cdt.png is on the right (so jack.matrix.png with jack.cdt.png... (6 Replies)
Discussion started by: kylle345
6 Replies

4. Programming

get terminal width and height

I was reading Advanced Programming in the Unix Environment and it says to use ioctl() to get the terminal's width and height. I wrote this program: // print width and height #include <stdio.h> #include <unistd.h> #include <sys/ioctl.h> #include <termios.h> int main( int argc, char... (3 Replies)
Discussion started by: Ultrix
3 Replies

5. UNIX for Dummies Questions & Answers

Not Sure How to Look for Not Used Images On the Server

Hello All: I a website with over 1800 pages in all HTML and I am trying to figure out, what is the best way for me to see when the image files were last accessed. Reason being, I am sure I have images in there that were not deleted when a page was taken offline or whatever and I would like... (3 Replies)
Discussion started by: pmsquillace
3 Replies

6. Programming

terminal Width/height change

Hi, i am very new to unix/linux programming. for one of the application i have to change the Terminal width and height. i did try this if (ioctl (fd, TIOCGWINSZ, &win)) return; if (y && y >24) win.ws_row = y; else win.ws_row = 24; if (x && x>80)... (2 Replies)
Discussion started by: bgsunny
2 Replies

7. Solaris

solaris 8 images

I need a set of CD's for solaris 8 , but for THE PC. if someone could direct where to either download them or share them with me, that would be great. I need to repair a system here for legacy purposes. (2 Replies)
Discussion started by: frankkahle
2 Replies

8. AIX

where to get .bm or .pm images

I'm just trying to get a personal picture for a backdrop on my AIX user account at work. Where does one acquire the .bm or .pm files. How do I create them as an unpriveledged user? There are quite a few jpeg's that I would like to use. (0 Replies)
Discussion started by: trigggl
0 Replies

9. UNIX for Advanced & Expert Users

return image height and width

Hi all. I need to be able to get image (gif/jpg) height and widths from the server so I can size pop-up windows to fit the images. Is there a built in utility that accomplishes this on Unix or Linux? (1 Reply)
Discussion started by: Jabba
1 Replies
Login or Register to Ask a Question