AspNetAtoms.com daily updates on ASP.NET Tutorials, Articles, Authors and more. Subscribe to our newsletter and receive updates on ASP.NET resources on the Internet.

Categories

Recent Posts

IMAGE2HTML - Image to Html Conversion Reloaded! : Peter Bromberg

Thursday, July 10 2008

Illustrates some neat CSS tricks along with an online C# / ASP.NET image-to-HTML conversion class to get very high resolution realistic-looking HTML renderings of images. Includes complete source code and online demo. There are a number of implementations of what is commonly referred to as "IMAGE2HTML", but I believe this is the first one you may see that really succeeds in hitting the high-resolution "realistic- looking" mark. I started with some code that is easy to find, in various forms, and in a variety of programming languages, and then modified it to work as a static class library with a ConvertImage method that accepts a URL to an image on the web, and an integer scale factor, and returns you a long string of HTML that can be added to a web page. In this case I simply assign the result HTML to a Label Control....

Read More:
IMAGE2HTML - Image to Html Conversion Reloaded! : Peter Bromberg
Also See:
Creating ASP.NET Photo Album using FileSystem as Data : Jigar Desai
ASP.NET Best Practices for High Performance Applications : Ali Khan
Using Existing Stored Procedures for the Typed DataSet’s TableAdapters : Scott Mitchell
How to Show Messenger-Like Popups Using AJAX : Bilal Haidar [MVP,MCT]
Including a File Upload Option When Adding a New Record : Scott Mitchell

Post your comment

Comment