LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-24-2005, 06:30 AM   #1
James_dean
Member
 
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
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Something like
http://www.ee.cooper.edu/courses/cou...es/EE458/TIFF/
?

Or more like
man libtiff
?


Cheers,
Tink
 
Old 10-24-2005, 11:21 PM   #3
paulsm4
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:

http://www-128.ibm.com/developerwork...ary/l-libtiff/
 
Old 10-25-2005, 05:02 AM   #4
James_dean
Member
 
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
James_dean
Member
 
Registered: Sep 2005
Posts: 41

Original Poster
Rep: Reputation: 15
Sorry thank u both
 
  


Reply



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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:25 PM.

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