Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6540619
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:59:59+00:00 2026-05-25T10:59:59+00:00

this topic has been touched multiple times on Stack Overflow, but my search still

  • 0

this topic has been touched multiple times on Stack Overflow, but my search still did not give me an answer.

I’m looking for a SIMPLE and easy to use, very basic, image editing library. All I need to do is check the size of jpeg and png files and rotate them by multiples of 90°.

I can develop my app in VB.NET or preferably VB5 and I’m not using any other library.

I tried the Advanced Image Library (based on Free Image Library), but I can’t get the dll to correctly register and I’m afraid that I will also have problems when distributing the application.

Is there something simpler? If it’s not free it’s fine, as long as the cost is reasonable.

Thanks for your help and my apologies if the answer was already somewhere else and I could not see it

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:59:59+00:00Added an answer on May 25, 2026 at 10:59 am

    in .NET you can do rotation without external libraries; if you can code in .NET do it and use .NET Framework primitives here for example (C#):

    public static Bitmap RotateImage(Image image, PointF offset, float angle)
    {
     int R1, R2;
     R1 = R2 = 0;
     if (image.Width > image.Height)
            R2 = image.Width - image.Height;
     else
            R1 = image.Height-image.Width;
    
     if (image == null)
            throw new ArgumentNullException("image");
    
     //create a new empty bitmap to hold rotated image
     Bitmap rotatedBmp = new Bitmap(image.Width +R1+40, image.Height+R2+40);
     rotatedBmp.SetResolution(image.HorizontalResolution, image.VerticalResolution);
    
     //make a graphics object from the empty bitmap
     Graphics g = Graphics.FromImage(rotatedBmp);
    
     //Put the rotation point in the center of the image
     g.TranslateTransform(offset.X + R1/2+20, offset.Y + R2/2+20);
    
     //rotate the image
     g.RotateTransform(angle);
    
     //move the image back
     g.TranslateTransform(-offset.X - R1 / 2-20, -offset.Y - R2 / 2-20);
    
     //draw passed in image onto graphics object 
     g.DrawImage(image, new PointF(R1 / 2+20, R2 / 2+20));
    
     return rotatedBmp;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This topic has been scratched once or twice, but I am still puzzled. And
It appears this topic has been covered a few times before, but those solutions
Now I realise this topic has been covered many times before. However there did
ok, I know that this topic has been addressed several times on here, but
This topic has been discussed million times before, but let me clarify my needs:
This is slightly off topic of programming but still has to do with my
I know this topic has been beat to death but a lot of the
I know that this topic has been beaten to death, but it seems that
I know this topic has been discussed to death, but there is one thing
I know this topic has been asked, but the posts are all out of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.