Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. rotate image in image control

rotate image in image control

Scheduled Pinned Locked Moved ASP.NET
question
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mehrnoosh
    wrote on last edited by
    #1

    how can i rotate an image in image control by arbitrary angles ??

    M.Alizadeh

    A 1 Reply Last reply
    0
    • M mehrnoosh

      how can i rotate an image in image control by arbitrary angles ??

      M.Alizadeh

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      Here is few reference for you. ASP.NET images: Manipulation[^] You can also take help from this, Image Rotation in .NET[^]

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

      M 1 Reply Last reply
      0
      • A Abhijit Jana

        Here is few reference for you. ASP.NET images: Manipulation[^] You can also take help from this, Image Rotation in .NET[^]

        Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

        M Offline
        M Offline
        mehrnoosh
        wrote on last edited by
        #3

        thanks for your help but it coudnt help me:( i want to rotate an image in image control not in a new page...(first link) seccend is for win app: pictureBox.Image = Utilities.RotateImage(img,(float) angle.Value ); image has not image properties:(

        M.Alizadeh

        A 1 Reply Last reply
        0
        • M mehrnoosh

          thanks for your help but it coudnt help me:( i want to rotate an image in image control not in a new page...(first link) seccend is for win app: pictureBox.Image = Utilities.RotateImage(img,(float) angle.Value ); image has not image properties:(

          M.Alizadeh

          A Offline
          A Offline
          Abhishek Sur
          wrote on last edited by
          #4

          AFAIK, html image control couldnt be rotated. You can define the size of the img but cant rotate. To do this, you need to rotate the image in the server and produce another image and show it in browser. Use graphics object to draw a new image rotating it in an angle and show it in browser. This article could be a good help for you : Image Rotation in .NET[^] After you rotate the image, show it using img tag. On the other hand: If you want to rotate in browser itself, you might use Flash / silverlight which are capable of doing this. Hope you got this. Cheers :rose:

          Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


          My Latest Articles-->** Simplify Code Using NDepend
          Basics of Bing Search API using .NET
          Microsoft Bing MAP using Javascript

          M 1 Reply Last reply
          0
          • A Abhishek Sur

            AFAIK, html image control couldnt be rotated. You can define the size of the img but cant rotate. To do this, you need to rotate the image in the server and produce another image and show it in browser. Use graphics object to draw a new image rotating it in an angle and show it in browser. This article could be a good help for you : Image Rotation in .NET[^] After you rotate the image, show it using img tag. On the other hand: If you want to rotate in browser itself, you might use Flash / silverlight which are capable of doing this. Hope you got this. Cheers :rose:

            Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


            My Latest Articles-->** Simplify Code Using NDepend
            Basics of Bing Search API using .NET
            Microsoft Bing MAP using Javascript

            M Offline
            M Offline
            mehrnoosh
            wrote on last edited by
            #5

            thanks a lot look at this article []http://www.walterzorn.com/rotate_img/rotate_img.htm[^] its the same that i need but i cant use this :( and also do you show me some example about flash or silverlight ? i didnt use that yet :-O

            M.Alizadeh

            A 1 Reply Last reply
            0
            • M mehrnoosh

              thanks a lot look at this article []http://www.walterzorn.com/rotate_img/rotate_img.htm[^] its the same that i need but i cant use this :( and also do you show me some example about flash or silverlight ? i didnt use that yet :-O

              M.Alizadeh

              A Offline
              A Offline
              Abhishek Sur
              wrote on last edited by
              #6

              I think this javascript uses moveto function to actually rotate an image. Use this Javascript http://www.walterzorn.com/scripts/wz\_rotateimg.js I think you can do this without Flash and Silverlight. :-D

              Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


              My Latest Articles-->** Simplify Code Using NDepend
              Basics of Bing Search API using .NET
              Microsoft Bing MAP using Javascript

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups