PDA

Click to See Complete Forum and Search --> : no support for TIF???


krol
Jan 14th, 2004, 06:39 AM
Is it so that the inputstream you use when you want to upload a file to a database does not support TIF??????
when u want to use the type property????????

Cander
Jan 14th, 2004, 08:36 AM
Huh? streams are just data, they dont care about file types. You need to be more specific about what your problem is.

krol
Jan 14th, 2004, 08:49 AM
OK,

It seems that when yoy upload a TIF files, the filetype is not regonized.
For example when I upload a JPG file I can use the filetype property to know what filetype it is.
I also store the filetype in the database, so my program can also view the files.
Only when I upload a TIF file he gives as a filetype OCTET/bytestream or something and not TIF.
When I change the filetype in the database, after the file has been stored, into TIF and try to view it in my program I also get an error.