Sponsored Content
Full Discussion: give all images same height
Top Forums Shell Programming and Scripting give all images same height Post 302569063 by locoroco on Saturday 29th of October 2011 08:56:45 AM
Old 10-29-2011
give all images same height

How do I resize all images in a directory to the same pixel height?
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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

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

7. 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

8. 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

9. 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
PS_OPEN_IMAGE(3)							 1							  PS_OPEN_IMAGE(3)

ps_open_image - Reads an image for later placement

SYNOPSIS
int ps_open_image (resource $psdoc, string $type, string $source, string $data, int $lenght, int $width, int $height, int $compo- nents, int $bpc, string $params) DESCRIPTION
Reads an image which is already available in memory. The parameter $source is currently not evaluated and assumed to be memory. The image data is a sequence of pixels starting in th upper left corner and ending in the lower right corner. Each pixel consists of $components color components, and each component has $bpc bits. PARAMETERS
o $psdoc - Resource identifier of the postscript file as returned by ps_new(3). o $type - The type of the image. Possible values are png, jpeg, or eps. o $source - Not used. o $data - The image data. o $length - The length of the image data. o $width - The width of the image. o $height - The height of the image. o $components - The number of components for each pixel. This can be 1 (gray scale images), 3 (rgb images), or 4 (cmyk, rgba images). o $bpc - Number of bits per component (quite often 8). o $params - RETURN VALUES
Returns identifier of image or zero in case of an error. The identifier is a positive number greater than 0. SEE ALSO
ps_open_image_file(3), ps_place_image(3), ps_close_image(3). PHP Documentation Group PS_OPEN_IMAGE(3)
All times are GMT -4. The time now is 10:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy