Link to home
Start Free TrialLog in
Avatar of meravkn
meravkn

asked on

Can I use tiff format in a VB software?

Hi,

I'm buliding a software that handles photos. Users can upload photos from their own collection.  I was told that it's impossible to have the user upload tiff, EPS, Gif and Pic formats. Is that true? I know that the gif is a problem but what about the rest? can I use API to solve the problem?

Please help me ASAP!!!

Thanks!

Merav
Avatar of mikekwok
mikekwok
Flag of Hong Kong image

You cannot open a .TIF file directly in VB as VB doesnot understands these formats.

You will have to convert these .TIF Files in .gif Format first using third party control.
such DLL for Conversiion called "Tiff Dll Conversion Kit" which u can obtain free from www.informatik.com.
ASKER CERTIFIED SOLUTION
Avatar of Sethi
Sethi
Flag of India image

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 da4thrza
da4thrza

i dont know how to do this with a tiff image, but are you looking for code to display a gif image?
Avatar of Ark
Hi
If you have MS office installed, you can use MS Office filters. Standard office package understand BMP, EPS, TIFF, JPEG, GIF, PNG, PIC, WPG, WMF and EMF formats for import and BMP, JPEG, GIF and PNG formats for export. I've recently posted this totally undocumented staff at http://www.freevbcode.com/ShowCode.Asp?ID=4998. The most recent info I could found was dated by 1992(!). Also, if you're interesting on image processing (effects, filters etc, like photoshop) take a look on my sample at http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=41320
Unfortunatelly, export filters use _cdecl callback, which can not be implementing in VB. I found workaround for w9x OS, but still can not implement it into NT/2000/XP. Anyway all import filters (which you need) works fine.

Regards
Ark
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in Community Support that this question is:
- points to Sethi
Please leave any comments here within the
next seven days.
Finalized as proposed

modulo

Community Support Moderator
Experts Exchange