Sponsored Content
Top Forums UNIX for Advanced & Expert Users return image height and width Post 22774 by Jabba on Monday 10th of June 2002 03:56:29 PM
Old 06-10-2002
Question 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?
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Create an Ignite image on tape from Online IgniteUX image

Hi, (HP-UX 11.11) I need to create a tape image of an igniteUX image created on our igniteUX server. That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need to copy it to a useable TAPE (igniteUX) image so i can build an other server from it that is not... (3 Replies)
Discussion started by: Andrek
3 Replies

2. UNIX for Dummies Questions & Answers

to pick up the Return Code ( RC) from the mailx command and return it to SAS uisng 's

Hi All, Can anyone please let me know the syntax / how to pick up the Return Code ( RC) from the mailx command and return it to SAS uisng 'system()' function and '${?}'. I am in a process to send the mail automatically with an attachment to bulk users. I have used 'Mailx' and 'Unencode'... (0 Replies)
Discussion started by: manas6
0 Replies

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

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. Shell Programming and Scripting

give all images same height

How do I resize all images in a directory to the same pixel height? (1 Reply)
Discussion started by: locoroco
1 Replies

6. Shell Programming and Scripting

matching image files to create one image

Hi, I have two sets of image files. Both sets have names A to Z but set 1 ends with .cdt.png and set 2 ends with .matrix.png. I want set 1 to match with set 2 if the names match (i.e. A.cdt.png will match with A.matrix.png) and with the convert image tool (program for images), it will merge the... (6 Replies)
Discussion started by: kylle345
6 Replies

7. Solaris

Copy image on Server-1 and Restores image on Server-2

Hi, I have done Copy image and Restores back on Windows. I have two solaris servers, one contains Solaris OS and Applications on Server-1. Want i required is want to copy image of Server-1 and restores the copied image on Server-2. First of all, is it possibile in Solaris. If it is then... (4 Replies)
Discussion started by: sarshads
4 Replies

8. Red Hat

How to know full width blade or half width blade?

HI, How do we figure out if the server is half blade server or full blade server? Anything we need to look at to know on this? thanks in advance (9 Replies)
Discussion started by: snchaudhari2
9 Replies

9. Shell Programming and Scripting

Return: can only `return' from a function or sourced script

Not sure where the problem is. I can run the script without any issue using the following command. . /opt/app/scripts/cdc_migration.sh But it fails with the below error when I try it this way /opt/app/scripts/cdc_migration.sh /opt/app/scripts/cdc_migration.sh: line 65: return: can only... (1 Reply)
Discussion started by: svajhala
1 Replies
pamdice(1)						      General Commands Manual							pamdice(1)

NAME
pamdice - slice a Netpbm image into many horizontally and/or vertically SYNOPSIS
pamslice -outstem=filenamestem [-width=width] [-height=height] [-verbose] [filename] You can use the minimum unique abbreviation of the options. You can use two hyphens instead of one. You can separate an option name from its value with white space instead of an equals sign. DESCRIPTION
Reads a PAM, PBM, PGM, or PPM image as input. Splits it horizontally and/or vertically into equal size pieces and writes them into sepa- rate files as the same kind of image. See the -outstem option for information on naming of the output files. The -width and -height options determine the size of the output pieces. pnmcat can rejoin the images. OPTIONS
-outstem=filenamestem This option determines the names of the output files. Each output file is named filenamestem_y_x.type where filenamestem is the value of the -outstem option, x and y are the horizontal and vertical locations, respectively, in the input image of the output image, zero being the leftmost and top, and type is .pbm, .pgm, .ppm, or .pam, depending on the type of image. -width=width gives the width in pixels of the output images. The rightmost pieces are smaller than this if the input image is not a multiple of width pixels wide. -height=height gives the height in pixels of the output images. The bottom pieces are smaller than this if the input image is not a multiple of height pixels high. -verbose Print information about the processing to Standard Error. SEE ALSO
pamcut(1), pnmcat(1), pgmslice(1), pnm(5) AUTHOR
put by Bryan Henderson in the public domain in 2001 31 January 2001 pamdice(1)
All times are GMT -4. The time now is 07:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy