To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
MSDN Subscribers: Download the VS 2010 Release Candidate
MSDN Subscribers: Download the VS 2010 Release Candidate
Sell Your Code and Make Money?
Creating your own Tetris game using VB.NET
Article :: Improving Software Economics, Part 4 of 7: Top 10 Principles of Iterative Software Management



Go Back   VBForums > Visual Basic > Visual Basic 6 and Earlier

Reply Post New Thread
 
Thread Tools Search this Thread Display Modes
Old Feb 21st, 2007, 04:47 PM   #1
MotoMan_Yz400
Addicted Member
 
Join Date: Feb 07
Posts: 166
MotoMan_Yz400 is an unknown quantity at this point (<10)
BUILDING a tiff file

Hello,
I'm currently working on a project, which takes a software's output file, which contains alot of details pertaining to setup, and at the end is raw image data.

Well thus far i am able to pull the data out, as-well-as pull the 16bit image, down convert it to 8bit and build a BMP file with the image. Now i need to output in TIFF format (to keep with current formats around here) as wells as an ANI-GIF file (to do batch pictures into movie).

Any tiff documentation i read is WILDLY complicated as-well-as and gif info. No straight forward way to construct headers, file data, etc. I'm not looking to compress, or otherwise shrink the files. I just want a tiff reader to read it.

Does anyone know of some easy way to just dynamicly convert my BMPs to TIF and GIF formats? Or even know of a good sight explaining the construction of such files?


PLEASE my brain is fried reading 100+ papers on tiff files.
MotoMan_Yz400 is offline   Reply With Quote
Old Feb 21st, 2007, 05:12 PM   #2
AIS4U
Frenzied Member
 
Join Date: Aug 05
Posts: 1,042
AIS4U has a spectacular aura about (100+)AIS4U has a spectacular aura about (100+)
Re: BUILDING a tiff file

MotoMan...:

Well, I don't have the exact solution for you, but I do have a suggestion.
The Imaging application that comes with most Windows operating systems (Accessories>Imaging) saves files in the tiff format as its default.

I am sure there is some easy way that you can create an Imaging Object and use that to open your bmp file and save it to a tiff file. It is basically the same as when you use MSWord or Excel from within VB 6.0. And if you can't do it by creating an object, you certainly could do it with API. I just can't tell you how to write the code.

Maybe some "guru" will come along and help you.

Good Luck
AIS4U is offline   Reply With Quote
Old Feb 22nd, 2007, 05:10 PM   #3
MotoMan_Yz400
Addicted Member
 
Join Date: Feb 07
Posts: 166
MotoMan_Yz400 is an unknown quantity at this point (<10)
Re: BUILDING a tiff file

well i went through my library of plug-ins, and i found i can put MSPaint in the form. But one i so that how do i tell it to load picture, save picture. If there is a command to do this, i just set it's .visual=false, and just have is run in the background.
MotoMan_Yz400 is offline   Reply With Quote
Old Feb 22nd, 2007, 05:35 PM   #4
koolsid
Comfortably Numb
 
koolsid's Avatar
 
Join Date: Feb 05
Location: Mumbai, India
Posts: 7,293
koolsid is a splendid one to behold (700+)koolsid is a splendid one to behold (700+)koolsid is a splendid one to behold (700+)koolsid is a splendid one to behold (700+)koolsid is a splendid one to behold (700+)koolsid is a splendid one to behold (700+)koolsid is a splendid one to behold (700+)koolsid is a splendid one to behold (700+)
Re: BUILDING a tiff file

Quote:
But one i so that how do i tell it to load picture, save picture. If there is a command to do this
There are plenty of codes to do what you want...

Does this help?

http://planetsourcecode.com/vb/scrip...t=Alphabetical
__________________
A good excercise for the Heart is to bend down and help another up...
Please Mark your Thread "Resolved", if the query is solved...
'~~> If a post has helped you then Please Rate it!
VB 6.0 Code Generator for VB6, Working with Windows Registry, Creating Access Database via Code
VBA 6.5
Excel Data Validation, Conditional Formating, Pivot Table, Column No to Column Name, Scroll Bars, Music Player, Creating Splash Screen
Powerpoint Creating Charts
Misc Ascii Table, Chit Chatters, USB Pendisk - Trojans
koolsid is offline   Reply With Quote
Reply

Go Back   VBForums > Visual Basic > Visual Basic 6 and Earlier


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:48 PM.




To view more projects, click here

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.