
June 11th, 2003, 10:19 AM
|
|
Registered User
|
|
Join Date: Jun 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Upload TIFF images to MS SQL server
OK Here it goes: <br><br>I'am currently developing a Image Database. <br><br>I'am developing in ASP.NET (C#) using Visual Studio .NET <br><br>The current DEMO works like this <br><br>1. User fills out a form containing Image info such as Title, photographer, date and so on, and selects the file. The form is submitted <br>2. The server is controlling whether the submitted data is of content-type image/* (image/gif, image/jpeg, image/bmp etc.) <br>If contenttype is passed as beeing an image thumbnial is genereated using getThumbnailImage() funktion and original and thumbnail image is saved to the SQL database <br><br>This has been tested with bmp, gif, jpg and works fine. <br><br>BUT..... <br><br>The database should also be able to hold TIFF images, which the current DEMO dosn't support. <br><br>When trying to upload a Tiff image the DEMO fails - returning error when trying to generate the thumbnail.... <br>I'am not mastering image type, but have been told that tiff images isn't normally used to be viewed on screen but on paper instead. <br>The content -type of the file when uploading a tiff image is recognized as an 'application/octet-stream' - not really something usable! <br><br>So the questions are: <br><br>HOW DO I DESIGN A SOLUTION THAT TAKES A TIFF IMAGES AND GENERATES A THUMBNAIL ? <br><br>IS THERE ANY METHOD IN THE .NET FRAMEWORK THAT CAN CONVERT TIFF IMAGES TO JPEG'S ? <br><br>and finally if evrything else fails <img border="0" src="/forum/emoticons/jumpin.gif" height="31" width="31" alt="jumpin" /> <br><br>HOW DO I GET IMAGE DATA FROM SQL SERVER AND GENERATES A PHYSICAL FILE CALLED *.tiff ON THE LOCAL HARD DRIVE (and then redirects to it - ) <br><br><br>If this question hasn't been explained detailed enough please let me now and i'll try harder <br>the file.
|