M
Michael
Hello all, how could I rotate a server side image in asp.net and show it in
web page? Thanks.
web page? Thanks.
Hi Michael,
From your description, you're wantting to display some image files(at
server-side) as rotated format on ASP.NET web page, correct?
If so, I think the proper means is use the .NET GDI+ classes to perform
transforming on the certain images. You can generate an rotated image
stream and output it on page(via an httphander or page...)
Here are some good web articles which has introduced some code and examples
on GDI+ image transformation:
#Matrix Transformation of Images in C#, using .NET GDI+http://www.codeproject.com/KB/GDI-plus/matrix_transformation.aspx
#Image Transformation in C# with GDI+http://www.c-sharpcorner.com/UploadFile/mahesh/Transformations0412192...
03AM/Transformations04.aspx
#NET and GDI+: Transforming Images on the Server - Introduction and
Examples, Part II...http://www.dotnetjohn.com/articles.aspx?articleid=115
Also, if you're not familar with emiting image stream via httphandler in
ASP.NET, here are some tech articles on this:
http://www.codeproject.com/KB/web-image/thumbnailer.aspx
http://www.c-sharpcorner.com/UploadFile/desaijm/HTTPHandlersForImages...
5062705AM/HTTPHandlersForImages.aspx
http://msdn.microsoft.com/en-us/magazine/cc163988.aspx
Hope this helps.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
==================================================
Get notification to my posts through email? Please refer tohttp://msdn.microsoft.com/subscriptions/managednewsgroups/default.asp...
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) athttp://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.