Link to home
Start Free TrialLog in
Avatar of Falke
Falke

asked on

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.
Avatar of ray_leach
ray_leach

Avatar of Falke

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of tward
tward

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Falke

ASKER

How can I use the wang OCX?

Do you have an example?

Yes, but it is at work.  I will post some sample code on Monday.
Yes, but it is at work.  I will post some sample code on Monday.
Avatar of Falke

ASKER

Don't forget to post it....
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