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
Part 10 of the Visual Basic .NET 2010 Express Tutorial Complete!
How to Use the Visual Studio Code Analysis Tool FxCop
Article :: Interview with Andrei Alexandrescu (Part 3 of 3)
Introducing Visual Studio LightSwitch
Visual Studio LightSwitch Beta 1 is Available



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

Reply Post New Thread
 
Thread Tools Display Modes
Old Feb 21st, 2007, 03:47 PM   #1
MotoMan_Yz400
Addicted Member
 
Join Date: Feb 07
Posts: 173
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, 04: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, 04:10 PM   #3
MotoMan_Yz400
Addicted Member
 
Join Date: Feb 07
Posts: 173
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, 04:35 PM   #4
koolsid
Comfortably Numb
 
koolsid's Avatar
 
Join Date: Feb 05
Location: Mumbai, India
Posts: 9,543
koolsid is a name known to all (1000+)koolsid is a name known to all (1000+)koolsid is a name known to all (1000+)koolsid is a name known to all (1000+)koolsid is a name known to all (1000+)koolsid is a name known to all (1000+)koolsid is a name known to all (1000+)koolsid is a name known to all (1000+)koolsid is a name known to all (1000+)koolsid is a name known to all (1000+)
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 by Clicking "Rate This Post" on the left hand side of the post!
VB 6.0 Code Generator for VB6, Working with Windows Registry, Creating Access Database via Code, Listview Sub Item Image, Common Dialog Control
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, MyFlickr

MyGear: Sony VGN-FZ27G with a triple boot between (XP + Office 2003 + VB6), (VISTA + Office 2007 + VS2008) and (Win7 + Office 2010 + VS2010)
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
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 05:33 AM.





Acceptable Use Policy

Internet.com
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.