TIFFReadRawStrip(3T)TIFFReadRawStrip(3T)NAME
TIFFReadRawStrip - return the undecoded contents of a strip of data from an open TIFF file
SYNOPSIS
#include <tiffio.h>
tsize_t TIFFReadRawStrip(TIFF* tif, tstrip_t strip, tdata_t buf, tsize_t size)
DESCRIPTION
Read the contents of the specified strip into the (user supplied) data buffer. Note that the value of strip is a ``raw strip number.''
That is, the caller must take into account whether or not the data is organized in separate planes (PlanarConfiguration=2). To read a full
strip of data the data buffer should typically be at least as large as the number returned by TIFFStripSize.
RETURN VALUES
The actual number of bytes of data that were placed in buf is returned; TIFFReadEncodedStrip returns -1 if an error was encountered.
DIAGNOSTICS
All error messages are directed to the TIFFError(3T) routine.
SEE ALSO libtiff(3T), TIFFOpen(3T), TIFFReadEncodedStrip(3T), TIFFReadScanline(3T), TIFFStripSize(3T)
October 15, 1995 TIFFReadRawStrip(3T)
Check Out this Related Man Page
TIFFReadRawStrip(3tiff) Introduction to Library Functions TIFFReadRawStrip(3tiff)NAME
TIFFReadRawStrip - return the undecoded contents of a strip of data from an open TIFF file
SYNOPSIS
#include <tiffio.h>
tsize_t TIFFReadRawStrip(TIFF* tif, tstrip_t strip, tdata_t
buf, tsize_t size)
DESCRIPTION
Read the contents of the specified strip into the user supplied data buffer. Note that the value of strip is a "raw strip number". That
is, the caller must take into account whether or not the data is organized in separate planes (PlanarConfiguration=2). To read a full strip
of data, the data buffer should typically be at least as large as the value returned by TIFFStripSize.
All error messages are directed to the TIFFError(3tiff) routine.
RETURN VALUES
Returns the actual number of bytes of data that were placed in buf. Returns -1 if an error was encountered.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWTiff |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO libtiff(3), TIFFOpen(3tiff), TIFFReadEncodedStrip(3tiff), TIFFReadScanline(3tiff), TIFFStripSize(3tiff)NOTES
This man page was originally written by Sam Leffler. Updated by Breda McColgan, Sun Microsystems Inc., 2004.
SunOS 5.10 05 Apr 2004 TIFFReadRawStrip(3tiff)
I want to know how I can strip and add blanklines from/to a text file with VI.
I have two scenarios that I am currently doing manually - and it's painful.
1) I need to strip any lines that have no characters on them at all..... (:set list shows me $)
and
2) I need to enter a blank... (6 Replies)
How would I strip a date field? For example, if I have
TODAY defined as the following: TODAY=`date +"%m/%d/%y"`,
TODAY is assigned the value 11/01/03 on Nov 1, 2003
How would I strip the first 2 bytes? (11)?
Thank you in advance for the help. (6 Replies)
Hi,
I have a file name, for which I want to strip out the first bit and leave the rest...
So I want to take the file name .lockfile-filename.10001 ,strip it and have only filename.10001 ...
Thanking you all inadvance,
Zak (6 Replies)
Hi,
I have some EDI data which 830, 862 and 997. Here is the sample data:
ISA~00~ ~00~ ~ZZ~F159B ~ZZ~U1CAD ~051215~184
3~U~00200~000011432~0~P~<
GS~FA~TC11A~U1CAD~051215~1843~000011432~X~002002
ST~997~0001
AK1~SH~1168
AK2~856~11680001
AK5~A... (2 Replies)
Hi,
How can I remove all non numerical data from line, so I don't want to delete the line but to have only the numbers.
e.g.:
#########
123
aaa124
125bbb
126
127
#########
So I want all the leading and trailing non numerical stuff(letters/white space/tabs anything else except... (10 Replies)
Hey guys..
Can experts help me in achieving my purpose..
I have a file which contains email address of some 100 to 1000 domains, I need only the domain names..
Eg: abc@yahoo.com
hd@gamil.com
ed@hotmail.com
The output should contain only
Yahoo.com
... (5 Replies)
I am new in Unix. I go through the man strip. But did not understand that, why when we have -G (debug and release ) option in the compiler, than using strip command to strip the debug information from the objects. i want to binary for teh production i will compile it without debug option. What the... (4 Replies)
I am trying to use a loop to strip of the funny character ^M at the end of all lines in each file found in current directory and I have used the following in a script:
find . -type f -name '*.txt' | while read file
do
echo "stripping ^M from ..."
ex - "$file" > $tempfile
%s/^M//g
wq!
# mv... (4 Replies)
Hello, I am the CEO of Grand Tech Corporation. We are launching Linux NT and forgive me, but I do not know how to strip binaries down in Mandriva Linux. Can someone tell me a way to?:b: (2 Replies)
Hi,
I am trying to strip out leading and trailing brackets from a word.
for example,
I have a value, in a file. I want to strip out the leading and trailing brackets it and should get the value Running.
I am using the following statement but in vain.
grep "Workflow run status:" <... (4 Replies)
Hi... can anyone please tell how do i strip off the leading filename from the wc -l command....
when i fire command
wc -l new1
... its giving output as
14 new1
i want the output as just '14'...
i need to use this value in the calculations in the later part of the script..... (2 Replies)
Hi
I am getting the below error while using strip command.
strip: libelf error.
Request error: no string table
strip: a.out: file not manipulated
Could somebody please let me know what might be the solution??
It is in ksh and solaris 10.
Thanks in advance (4 Replies)