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. How to reduce Image stored space size???

How to reduce Image stored space size???

Scheduled Pinned Locked Moved ASP.NET
databasesysadminsecuritytutorialquestion
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
    JC KaNNaN
    wrote on last edited by
    #1

    Hi Friends, I have upload image to server. its stored both database(using conversion) and physical copy of image. so which one is best for reduced space and security ? Apart from this technique any new feature is there ? Please share your valuable knowledge to all.

    Yours, Kan ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph"

    B A 2 Replies Last reply
    0
    • J JC KaNNaN

      Hi Friends, I have upload image to server. its stored both database(using conversion) and physical copy of image. so which one is best for reduced space and security ? Apart from this technique any new feature is there ? Please share your valuable knowledge to all.

      Yours, Kan ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph"

      B Offline
      B Offline
      Blue_Boy
      wrote on last edited by
      #2

      Check this[^]


      I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post. www.aktualiteti.com

      1 Reply Last reply
      0
      • J JC KaNNaN

        Hi Friends, I have upload image to server. its stored both database(using conversion) and physical copy of image. so which one is best for reduced space and security ? Apart from this technique any new feature is there ? Please share your valuable knowledge to all.

        Yours, Kan ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph"

        A Offline
        A Offline
        annathor
        wrote on last edited by
        #3

        what is best, saving images as BLOBS in db or as file on disk, depends on the situation, but I prefer to save it in db, since a)you get a clear connection between the image and data, b)makes things easier to backup,mirror and migrate c) makes it easier to search, sort, and so on, the images. when it comes to reducing the image size when saving there is some steps you can take: 1) automatic convert the image to a lighter format (eksample: jpg or png) before saving them on the server 2) automatic resize them before saving them to the server 3) re-encode the images with poorer quality but better compression. If you need to save the images as high quality, high res images in an heavy format like bmp or raw (maybe the spec specifies the quality and size of images or some thing), you could take a look at the System.IO.compression namespace or the zipsharp library.

        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