We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
开发者_如何学运维 Improve this questionI am looking for a free or commercial programme which will let me open up TIFF files in .NET.
Ideally it would open up in a new window, with 2 restrictions 1) That user isnt able to save the file 2) That there is no print button available.
Does anything come to mind ?
I'm not aware of any solution which can totally prevent saving/printing. However there are a few things you can do.
- send a partial image to the browser (i.e. limited to 8bpp, scaled image). For instance, if google maps would use a single TIFF, good luck in saving it a screenshot at a time.
- send degraded image to browser (i.e. use LibTIFF.NET to read (part of) the tiff, convert it to lossy JPG and send that to the browser.
- combination of both
- provide a different css for printer device, which leaves out the image.
- open a new browser window without controls.
You may find some good solutions based on Silverlight or flash, which provide a higher degree of control on the freedom of the user in the browser. If you are searching for those specifically, please update your question accordingly.
Good luck
ImageMagick supports a lot of stuff, for instance TIF: http://imagemagick.codeplex.com/
It can be used to convert images to other formats.
If I am reading your question correctly (based on the asp.net tag) you actually want a TIFF-viewer for webbrowser? That is unrelated to .Net. To achieve that you'd have to either install a plugin on all the clients or have a JavaScript/Flash/Silverlight app capable of reading and displaying the picture.
精彩评论