Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tiffwriterawstrip(3t) [redhat man page]

TIFFWriteRawstrip(3T)													     TIFFWriteRawstrip(3T)

NAME
TIFFWriteRawStrip - write a strip of raw data to an open TIFF file SYNOPSIS
#include <tiffio.h> tsize_t TIFFWriteRawStrip(TIFF* tif, tstrip_t strip, tdata_t buf, tsize_t size) DESCRIPTION
Append size bytes of raw data to the specified strip. NOTES
The strip number must be valid according to the current settings of the ImageLength and RowsPerStrip tags. An image may be dynamically grown by increasing the value of ImageLength prior to each call to TIFFWriteRawStrip. RETURN VALUES
-1 is returned if an error occurred. Otherwise, the value of size is returned. DIAGNOSTICS
All error messages are directed to the TIFFError(3T) routine. %s: File not open for writing. The file was opened for reading, not writing. Can not write scanlines to a tiled image. The image is assumed to be organized in tiles because the TileWidth and TileLength tags have been set with TIFFSetField(3T). %s: Must set "ImageWidth" before writing data. The image's width has not be set before the first write. See TIFFSetField(3T) for informa- tion on how to do this. %s: Must set "PlanarConfiguration" before writing data. The organization of data has not be defined before the first write. See TIFFSet- Field(3T) for information on how to do this. %s: No space for strip arrays". There was not enough space for the arrays that hold strip offsets and byte counts. %s: Strip %d out of range, max %d. The specified strip is not a valid strip according to the currently specified image dimensions. SEE ALSO
libtiff(3T), TIFFOpen(3T), TIFFWriteEncodedStrip(3T), TIFFWriteScanline(3T) October 15, 1995 TIFFWriteRawstrip(3T)

Check Out this Related Man Page

TIFFWriteRawstrip(3TIFF)												  TIFFWriteRawstrip(3TIFF)

NAME
TIFFWriteRawStrip - write a strip of raw data to an open TIFF file SYNOPSIS
#include <tiffio.h> tsize_t TIFFWriteRawStrip(TIFF *tif, tstrip_t strip, tdata_t buf, tsize_t size) DESCRIPTION
Append size bytes of raw data to the specified strip. NOTES
The strip number must be valid according to the current settings of the ImageLength and RowsPerStrip tags. An image may be dynamically grown by increasing the value of ImageLength prior to each call to TIFFWriteRawStrip. RETURN VALUES
-1 is returned if an error occurred. Otherwise, the value of size is returned. DIAGNOSTICS
All error messages are directed to the TIFFError(3TIFF) routine. %s: File not open for writing. The file was opened for reading, not writing. Can not write scanlines to a tiled image. The image is assumed to be organized in tiles because the TileWidth and TileLength tags have been set with TIFFSetField(3TIFF). %s: Must set "ImageWidth" before writing data. The image's width has not be set before the first write. See TIFFSetField(3TIFF) for information on how to do this. %s: Must set "PlanarConfiguration" before writing data. The organization of data has not be defined before the first write. See TIFFSet- Field(3TIFF) for information on how to do this. %s: No space for strip arrays". There was not enough space for the arrays that hold strip offsets and byte counts. %s: Strip %d out of range, max %d. The specified strip is not a valid strip according to the currently specified image dimensions. SEE ALSO
TIFFOpen(3TIFF), TIFFWriteEncodedStrip(3TIFF), TIFFWriteScanline(3TIFF), libtiff(3TIFF) Libtiff library home page: http://www.remotesensing.org/libtiff/ libtiff October 15, 1995 TIFFWriteRawstrip(3TIFF)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

trying to strip the first 4 char. of a file out via commandline

im kind alost. i beleave its a sed command. but i cant seem to find it in my book. can someone point me in the write direction. i know this is extreamly sloppy. but this is what i did untill i can figure out how to manipulate the filename namespace. an ls on the directory where this would run... (2 Replies)
Discussion started by: Optimus_P
2 Replies

2. UNIX for Dummies Questions & Answers

Another 'VI' question

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)
Discussion started by: peter.herlihy
6 Replies

3. Shell Programming and Scripting

unsing sed to strip html tags - help

Hi, I am trying to strip html tags of a string for example <TD>no problem</TD> the sesult should be no problem but could never get rid off all the tags sed 's/<..D>//g' Please help, I am new (3 Replies)
Discussion started by: zap
3 Replies

4. Programming

performance of writing into a file

Hi , I have a question about performance of writing into a file. Will it take more time to open a file, write a line into the file and close the file if the file size grows bigger and bigger?? Say, I have two files of sizes 100KB and 20MB. Will it take more time to open/write a... (1 Reply)
Discussion started by: shriashishpatil
1 Replies

5. Shell Programming and Scripting

Need to strip few letters

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)
Discussion started by: achararun
5 Replies

6. Programming

Strip command

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)
Discussion started by: Saurabh78
4 Replies

7. Shell Programming and Scripting

Extract Variable and Append it to the file

I have a file named xyz_extract_file_20091201.dat and I need to strip out 20091201 from the file name and append this value as a first field in all the records in the file. Can you please help? Thanks. Eg. Input File: xyz_extract_file_20091201.dat ------------ Campaign1,A2347,Grp_id1... (1 Reply)
Discussion started by: shekharaj
1 Replies

8. UNIX for Dummies Questions & Answers

Stripping down binaries

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)
Discussion started by: Linux NT
2 Replies

9. Shell Programming and Scripting

strip the square brackets from a word using sed or var expansion

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)
Discussion started by: svajhala
4 Replies

10. Solaris

strip error

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)
Discussion started by: vali__
4 Replies

11. Programming

Perl: Question about stripping tags

hey 1 more question, how do you strip tags like <p></p> from output of xml with perl? i already strip the CDATA but the annoying <p></p> still there (2 Replies)
Discussion started by: Nick1097
2 Replies

12. Shell Programming and Scripting

Strip First few Characters

I want to strip first few characters from each record until a proper datesamp is found. Request for getNextPage.................06/29/12 07:49:30 VVUKOVIC@67.208.166.131{7A805FEF76A62FCBB23EA78B5380EF95.tomcat1}TP-Processor14 LogExchUsage: ERROR:: isprof=false : exch=NSDQ output should be... (2 Replies)
Discussion started by: ratheeshjulk
2 Replies