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
  1. Home
  2. Web Development
  3. ASP.NET
  4. Compress image

Compress image

Scheduled Pinned Locked Moved ASP.NET
database
3 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.
  • J Offline
    J Offline
    jinovv
    wrote on last edited by
    #1

    hello, I am uploading images and saving it into the sql sqever databse's image field.Some images are very big size .I have to reduce the size of the images into a fixed size(a small size) before save it into the table.Is there any possibility to reduce the size while uploading or saving with out affect it clarity. Thank you

    C E 2 Replies Last reply
    0
    • J jinovv

      hello, I am uploading images and saving it into the sql sqever databse's image field.Some images are very big size .I have to reduce the size of the images into a fixed size(a small size) before save it into the table.Is there any possibility to reduce the size while uploading or saving with out affect it clarity. Thank you

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Images like a jpg or png are already compressed. A bitmap, just store it as a png instead.

      Christian Graus Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.

      1 Reply Last reply
      0
      • J jinovv

        hello, I am uploading images and saving it into the sql sqever databse's image field.Some images are very big size .I have to reduce the size of the images into a fixed size(a small size) before save it into the table.Is there any possibility to reduce the size while uploading or saving with out affect it clarity. Thank you

        E Offline
        E Offline
        eyeseetee
        wrote on last edited by
        #3

        I think it would be much better to save the image location in the database rather then the actual image

        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