Sponsored Content
Full Discussion: 'int' Unix to Linux!! Help!!
Operating Systems Linux Red Hat 'int' Unix to Linux!! Help!! Post 302355010 by roosse77i on Monday 21st of September 2009 08:19:07 AM
Old 09-21-2009
Okie, Corona688!
Thanks for your help. I think I'll have to change some of my app code, anyway. It will be veeeery boring, but I guess this is the only way.

Thanks!Smilie
 

10 More Discussions You Might Find Interesting

1. Programming

Unsigned int

How can I store and/or print() a number that is larger than 4 294 967 295 in C? is int64_t or u_int64_t what I need ? if, so how can I printf it to stdout? (2 Replies)
Discussion started by: nimnod
2 Replies

2. Programming

difference between int ** func() and int *& func()

What is the difference between int** func() and int*& func(). Can you please explain it with suitable example. Thanks, Devesh. (1 Reply)
Discussion started by: devesh
1 Replies

3. UNIX for Dummies Questions & Answers

can unix program declare int?

can unix program declare int??how to declare ? if i want to declare int and using read command then compare which int is small...how to do this??can somebody help me? (1 Reply)
Discussion started by: yeah016
1 Replies

4. Programming

to get the correct value with unsigned int

hi, Please help me with the following code to get the difference in values. struct a{ int b1; int c1; char d1; } main() { unsigned int b=10; unsigned int c; c = b - (unsigned int )sizeof(a); printf("%d",c); } Here c returns some junk value. How can i get the... (2 Replies)
Discussion started by: naan
2 Replies

5. UNIX for Dummies Questions & Answers

int open(const char *pathname, int flags, mode_t mode) doubt...

hello everybody! I want to create a file with permissions for read, write, and execute to everybody using C, so I write this code: #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> int main(){ int fileDescriptor; fileDescriptor =... (2 Replies)
Discussion started by: csnmgeek
2 Replies

6. Programming

int *ptr + max possible value

From reading my C book, Im aware that the integers have a maximum value which depends on what type of processor you are using (since they use 16-bit or 32-bit instructions). Now I know pointers are very flexible, since they can reference anything, but in the case of integer pointers, can they... (4 Replies)
Discussion started by: JamesGoh
4 Replies

7. Shell Programming and Scripting

From string to int ?

hello guys i m new to shell scripting and can't find out why this structure is not right I m guessing this happens because $LINESUM is a string . so how can i do this ? i want my script to do so many loops as the number of the lines of one custom file. #!/bin/bash echo give me path name... (5 Replies)
Discussion started by: xamxam
5 Replies

8. Programming

Handle int listen(int sockfd, int backlog) in TCP

Hi, from the manual listen(2): listen for connections on socket - Linux man page It has a parameter called backlog and it limits the maximum length of queue of pending list. If I set backlog to 128, is it means no more than 128 packets can be handled by server? If I have three... (3 Replies)
Discussion started by: sehang
3 Replies

9. Programming

'int air_date' '%'?

int air_date='20100103'; //2010 - Jan - 03 /* My goal here is to subtract a day. */ int day = air_date % 100; //?????? Is this right? //Are there any functions time/date for this type of date format? :cool: (7 Replies)
Discussion started by: sepoto
7 Replies

10. Fedora

Which is the better platform to learn UNIX/Linux (Kali Linux Vs. Red Hat or other)?

I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies
TIFFGT(1)						      General Commands Manual							 TIFFGT(1)

NAME
tiffgt - display an image stored in a TIFF file (Silicon Graphics version) SYNOPSIS
tiffgt [ options ] input.tif ... DESCRIPTION
tiffgt displays one or more images stored using the Tag Image File Format, Revision 6.0. Each image is placed in a fixed size window that the user must position on the display (unless configured otherwise through X defaults). If the display has fewer than 24 bitplanes, or if the image does not warrant full color, then RGB color values are mapped to the closest values that exist in the colormap (this is done using the rgbi routine found in the graphics utility library -lgutil.) tiffgt correctly handles files with any of the following characteristics: BitsPerSample 1, 2, 4, 8, 16 SamplesPerPixel 1, 3, 4 (the 4th sample is ignored) PhotometricInterpretation 0 (min-is-white), 1 (min-is-black), 2 (RGB), 3 (palette), 6 (YCbCr) PlanarConfiguration 1 (contiguous), 2 (separate) Orientation 1 (top-left), 4 (bottom-left) Data may be organized as strips or tiles and may be compressed with any of the compression algorithms supported by the libtiff(3) library. For palette images (PhotometricInterpretation=3), tiffgt inspects the colormap values and assumes either 16-bit or 8-bit values according to the maximum value. That is, if no colormap entry greater than 255 is found, tiffgt assumes the colormap has only 8-bit values; other- wise it assumes 16-bit values. This inspection is done to handle old images written by previous (incorrect) versions of libtiff. tiffgt can be used to display multiple images one-at-a-time. The left mouse button switches the display to the first image in the next file in the list of files specified on the command line. The right mouse button switches to the first image in the previous file in the list. The middle mouse button causes the first image in the first file specified on the command line to be displayed. In addition the following keyboard commands are recognized: b Use a PhotometricInterpretation of MinIsBlack in displaying the current image. l Use a FillOrder of lsb-to-msb in decoding the current image. m Use a FillOrder of msb-to-lsb in decoding the current image. c Use a colormap visual to display the current image. r Use a true color (24-bit RGB) visual to display the current image. w Use a PhotometricInterpretation of MinIsWhite in displaying the current image. W Toggle (enable/disable) display of warning messages from the TIFF library when decoding images. E Toggle (enable/disable) display of error messages from the TIFF library when decoding images. z Reset all parameters to their default settings (FillOrder, PhotometricInterpretation, handling of warnings and errors). PageUp Display the previous image in the current file or the last image in the previous file. PageDown Display the next image in the current file or the first image in the next file. Home Display the first image in the current file. End Display the last image in the current file (unimplemented). OPTIONS
-c Force image display in a colormap window. -d Specify an image to display by directory number. By default the first image in the file is displayed. Directories are numbered starting at zero. -e Enable reporting of error messages from the TIFF library. By default tiffgt silently ignores images that cannot be read. -f Force tiffgt to run as a foreground process. By default tiffgt will place itself in the background once it has opened the requested image file. -l Force the presumed bit ordering to be LSB to MSB. -m Force the presumed bit ordering to be MSB to LSB. -o Specify an image to display by directory offset. By default the first image in the file is displayed. Directories offsets may be specified using C-style syntax; i.e. a leading ``0x'' for hexadecimal and a leading ``0'' for octal. -p Override the value of the PhotometricInterpretation tag; the parameter may be one of: miniswhite, minisblack, rgb, palette, mask, separated, ycbcr, and cielab. -r Force image display in a full color window. -s Stop on the first read error. By default all errors in the input data are ignored and tiffgt does it's best to display as much of an image as possible. -w Enable reporting of warning messages from the TIFF library. By default tiffgt ignores warning messages generated when reading an image. -v Place information in the title bar describing what type of window (full color or colormap) is being used, the name of the input file, and the directory index of the image (if non-zero). By default, the window type is not shown in the title bar. BUGS
Images wider and taller than the display are silently truncated to avoid crashing old versions of the window manager. SEE ALSO
tiffdump(1), tiffinfo(1), tiffcp(1), libtiff(3TIFF) Libtiff library home page: http://www.remotesensing.org/libtiff/ libtiff September 20, 2005 TIFFGT(1)
All times are GMT -4. The time now is 01:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy