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. General Programming
  3. Graphics
  4. JPEG compression utility

JPEG compression utility

Scheduled Pinned Locked Moved Graphics
sysadmintoolsquestion
4 Posts 2 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
    jesarg
    wrote on last edited by
    #1

    Does anyone know of a good utility that can automatically compress JPEG images that a user uploads to the server? For instance, a user uploads a photograph that is 2 MB, and the utility automatically compresses it to take up only 20 KB at a slight loss of picture quality (after the upload is complete).

    T 1 Reply Last reply
    0
    • J jesarg

      Does anyone know of a good utility that can automatically compress JPEG images that a user uploads to the server? For instance, a user uploads a photograph that is 2 MB, and the utility automatically compresses it to take up only 20 KB at a slight loss of picture quality (after the upload is complete).

      T Offline
      T Offline
      Tim Craig
      wrote on last edited by
      #2

      You do know that JPEG is a compressed format already? You can, however, reprocess it and resave a higher compression ratio obviously with more loss. Your mileage may vary.

      "Republicans are the party that says government doesn't work and then they get elected and prove it." -- P.J. O'Rourke

      J 1 Reply Last reply
      0
      • T Tim Craig

        You do know that JPEG is a compressed format already? You can, however, reprocess it and resave a higher compression ratio obviously with more loss. Your mileage may vary.

        "Republicans are the party that says government doesn't work and then they get elected and prove it." -- P.J. O'Rourke

        J Offline
        J Offline
        jesarg
        wrote on last edited by
        #3

        Yes, I'm aware of that, and that's what I want to do. In any case, according to this article http://www.geekpedia.com/tutorial232_Reducing-JPEG-Picture-Quality-using-Csharp.html[^], the namespace System.Drawing.Imaging should have all I need.

        T 1 Reply Last reply
        0
        • J jesarg

          Yes, I'm aware of that, and that's what I want to do. In any case, according to this article http://www.geekpedia.com/tutorial232_Reducing-JPEG-Picture-Quality-using-Csharp.html[^], the namespace System.Drawing.Imaging should have all I need.

          T Offline
          T Offline
          Tim Craig
          wrote on last edited by
          #4

          I believe that's the .Net wrapper for GDI+ and they have reasonable image handling but I avoid everything C# as a matter of policy.

          "Republicans are the party that says government doesn't work and then they get elected and prove it." -- P.J. O'Rourke

          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