TIFF? Converting from BMP into TIFF, show and save....?

Hi!

Following problem:

I have a BMP Picture and have to save it in a 24-bitt TIFF (Tagged Image File Format Ver. 5.0). It have to be so! After this step i have to load it and show it in a picture box.

Has somebody a routine to open convert a BMP into a TIFF (specified as descriped above), and load in into a Picture box.

Please give no OCX or something like that (it's welcome, if there is now possibility, but from former times, i know that this should be also possible with a routine....). a simple routine to load a tiff or a converting routine is needed.

Thanks in advanced.

Looking forward to a soon reply.
FalkeAsked:
Who is Participating?
 
twardConnect With a Mentor Commented:
Try using the Wang/Kodak OCX that comes with Windows 95/98/NT.  A PictureBox will NOT display a TIFF.
0
 
ray_leachCommented:
0
 
ray_leachCommented:
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
FalkeAuthor Commented:
I would like a OCX with a simple routine so i can convert a bmp into a tiff and also show it in a picturebox....

But i see only information about graphic files, i do not know, what to do with this information....

How can i make with this information a graphic converter or a grapic viewer...????

If there would be an example for bmp load or tiff load and convert tiff into bmp or bmp into tiff... This would be very usefull for me :)

Thanks in advanced

Falke
0
 
FalkeAuthor Commented:
How can I use the wang OCX?

Do you have an example?

0
 
twardCommented:
Yes, but it is at work.  I will post some sample code on Monday.
0
 
twardCommented:
Yes, but it is at work.  I will post some sample code on Monday.
0
 
FalkeAuthor Commented:
Don't forget to post it....
0
 
twardCommented:
This should lead you in the right direction, I hope!  Let me know if I can help more.....

' Displays an Image '
ImgEdit1.Image = "C:\WINDOWS\TEMP\00000001.TIF"
ImgEdit1.Display

' Saves the First Page of a Mult-Page Tiff '  ImgEdit1.SaveAs "C:\WINDOWS\TEMP\MULTI001.TIF", 1, 1, 5, 0, False

' Get Another Page '
ImgEdit1.Image = "C:\WINDOWS\TEMP\00000002.TIF"
ImgEdit1.Display

' Saves it as Page 2 of a Multi-Page TIFF '  ImgEdit1.SavePage "C:\WINDOWS\TEMP\MULTI001.TIF", 1, 1, 5, 0, False, 2
0
All Courses

From novice to tech pro — start learning today.