how to store a portion of an image in sql database using c#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • agi123
    New Member
    • Mar 2010
    • 4

    how to store a portion of an image in sql database using c#

    hi,
    I want to store an image which is cropped from the original image , want to store it in sql database. how to implement it using c# ,asp.net with sql
    if the shape of the cropped image is square then how to do it,
    suppose if the cropped image is circle then how to implement it , pl do me the needful
    Advance thanks
    Ahila.T
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    There is no such thing as a round image/picture/bitmap. All images are rectangular.

    Here are some tutorials on using databases.
    Database tutorial Part 1
    Database tutorial Part 2

    Comment

    • agi123
      New Member
      • Mar 2010
      • 4

      #3
      all images are rectangle, that i know within that image am selecting a portion , that extracted portion have to be compared with the images in the database how to implement it?

      Comment

      • Samishii23
        New Member
        • Sep 2009
        • 246

        #4
        It wouldn't be a very good idea to store physical image data within a DB. Your DB server would have a lot more overhead and processing time rather then storing the image data in a file with the program, and storing the file name / path within the DB.

        Comment

        • agi123
          New Member
          • Mar 2010
          • 4

          #5
          i need coding in c# for to implement the above which i said

          Comment

          Working...