Guide for VB.NET
Core Document Formats
Additional Features
Image Rotating

VB.NET Imaging - Rotate Image Using VB.NET

VB.NET Image Rotator Control SDK for Picture / Image / Photo Rotation

VB.NET
Home > .NET Imaging SDK > VB.NET > Rotate Image
To get started with DocImage SDK for .NET, you are supposed to read VB.NET Imaging: Get Started first!

Image Rotation in VB.NET Imaging Application
If you are going to process a large volume of image files that are saved with different orientations, then you may probably need to a .NET solution which can help you rotate image file so that the source image format can be correctly displayed on the computer screen. asp.net core pdf editor, vb.net pdf generation, vb.net pdfreader, add image to pdf using itextsharp vb.net, convert word to pdf c#, how to make a qr code generator in c#. This online tutorial page for image rotation in VB.NET programming application is made of following four parts.
Related .net document control helps:
asp.net view tiff images: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
c# asp.net mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects
asp.net pdf viewer using c#: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net pdf document viewer c#: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm...
c# asp.net pdf editor: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
c# asp.net dicom viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
c# asp.net image viewer: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
  • Feature list of VB.NET image rotator control SDK
  • VB.NET method for VB.NET image rotation
  • VB.NET programming demo for how to rotate source image file by VB.NET code
  • Frequently asked questions about RasterEdge VB.NET image rotator control SDK
get coordinates of text in pdf c#, vb.net convert word to pdf, c# convert pdf to svg, pdf preview in asp.net c#, c# convert png to pdf, open pdf and draw c#, add watermark to pdf vb.net.
VB.NET Image Rotator Library Add-on Features
  • Robust VB.NET image rotator control SDK that is fully written in managed C# code
  • Support VB.NET image rotation with full rotating angle range from 1 degree to 360 degrees
  • The minimum VB.NET image rotating increment is 1 degree
  • Allow VB.NET developers to save rotated image as a new image file
  • Support resizing, cropping and flipping rotated image file using VB.NET code
VB.NET Image Rotating Method
Following is RasterEdge image rotating method. In the process of VB.NET image rotation, please pay attention to the measurement of image rotation angle: clockwise from the X-axis with the image right-bottom point as rotating center.
Public Shared Function ApplyRotate(img As REImage, deg As Integer) As Integer
End Function
VB.NET Demo Code to Rotate Image
Here we offer a VB.NET programming example to show the process of rotating a source png image file using RasterEdge VB.NET image rotator control SDK (Apart from PNG image file format, other image types are also supported, like gif, tiff, bmp and jpeg).To help you interpret following VB.NET demo code better, we will make illustration on how those lines of Visual Basic .NET code work to rotate a source image.
Using its own image decoder API, this VB.NET image rotator control SDK is able to successfully & quickly open target png image file and decode it to bitmap. Then, RasterEdge VB.NET image rotation control add-on rotates the bitmap with mature image rotation API (which allows VB.NET developers to enter the rotating degrees in VB.NET code directly). Finally, the rotated bitmap will be re-encoded back to png image format by RasterEdge png image encoder.
There are two things that should be mentioned here. One is that, besides the ability to draw png image file from PC local disks, this VB.NET image rotator control SDK also owns the capacity to acquire source image file from http or ftp server. The other is that, this VB.NET image rotator control SDK allows developers to save rotated image as new file. That is to say, after you run following VB.NET code, you will find that apart from the sample image file, and there will be a new image file created (if the name of newly created image file is different from that of source image file).
Imports RasterEdge.Imaging.Basic
Imports RasterEdge.Imaging.Basic.Core
Imports RasterEdge.Imaging.Processing
Imports RasterEdge.Imaging.Basic.Codec

Namespace RE__Test
Public Partial Class Form1
Inherits Form
Public Sub New()
InitializeComponent()
End Sub

Private Sub button1_Click(sender As Object, e As EventArgs)
Dim fileName As String = "c:/Sample.png"

Dim reImage As REImage = REFile.OpenImageFile(fileName)

ImageProcessing.ApplyRotate(reImage, 60)

REFile.SaveImageFile(reImage, "c:/reimage.png", New PNGEncoder())
End Sub
End Class
End Namespace
VB.NET Image Rotator Control FAQs
Q 1: I am building a VB.NET image viewer project in ASP.NET web developing platform. And now I want to integrate a high-quality image rotating SDK into this project. Can this VB.NET image rotator control SDK be perfectly integrated into my ASP.NET web application?
A 1: Yes, this VB.NET image rotator library SDK is designed for all .NET developing applications. Thus, developers can seamlessly integrate this VB.NET image rotation control SDK into ASP.NET web services or Windows Forms projects.

Q 2: As the source image file (which I need to rotate) will be used for a sophisticated and elaborate .NET image editing application, I want to rotate the image while preserving its original image quality. Can this VB.NET image rotating library control help me achieve lossless image rotation in .NET imaging application?
A 2: Yes, this VB.NET image rotation control SDK will not decrease the source image quality while rotating it.
More Tutorials!
Please see more VB.NET tutorials for using DocImage SDK for .NET!


Recommend this to Google+


RasterEdge.com is professional provider of ASP.NET MVC Document Viewer, ASP.NET PDF Viewer, MVC PDF Viewer document, content and imaging solutions, available for ASP.NET AJAX, Silverlight, Windows Forms as well as WPF. We are dedicated to provide powerful & profession imaging controls, PDF document, image to pdf files and components for capturing, viewing, processing, converting, compressing and stroing images, documents and more.

©2000-2023 Raster Edge.com