Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-24-2005, 06:30 AM   #1
Registered: Sep 2005
Posts: 41

Rep: Reputation: 15
writing raw data to a tiff file

How do i write .raw data file information to a tiff file. I have the .tiff information which i manuallly attach the values myself to the header file in the output tiff file. I just want to know how do i write blocks of this raw data to a tiff file.
thanx in advance
Old 10-24-2005, 10:52 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Something like

Or more like
man libtiff

Old 10-24-2005, 11:21 PM   #3
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
tinkster's right: libtiff is probably what you're looking for:
Old 10-25-2005, 05:02 AM   #4
Registered: Sep 2005
Posts: 41

Original Poster
Rep: Reputation: 15
Very helpful. That last article explains the difference between TIFFWriteEncoded and TIFFWriteRaw which now makes sense to me.
Old 10-25-2005, 05:03 AM   #5
Registered: Sep 2005
Posts: 41

Original Poster
Rep: Reputation: 15
Sorry thank u both


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Whats the problem with this raw to tiff program? James_dean Programming 8 10-28-2005 12:20 AM
reading raw data in to memory whizbit Programming 77 07-07-2005 10:20 AM
Raw Syn Packet with Data GodSendDeath Programming 4 04-06-2004 04:53 PM
Raw Packet Data vanibhat Linux - Security 1 08-01-2003 07:42 AM
perl - writing a data structure to a file.. is it possible? paavaka Programming 4 07-14-2001 12:04 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration