• Lucid Dreaming - Dream Views




    Results 1 to 17 of 17
    Like Tree3Likes
    • 3 Post By ninja9578

    Thread: Compressing art for web

    1. #1
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935

      Compressing art for web

      Hi everyone,

      Websites are absolutely atrocious at optimizing their content and DV is no different. I ran the main index through my compression tool and found 22KB on optimizations that could be done, all bloated images.

      Go into any thread and that number goes up WAAAAAAY up. Avatars and signatures slow down the site so much and don't have to be if they are done correctly.

      Properly outputting an image with Photoshop is impossible, even for a professional graphics designer. I wrote a tool that will take regular images from photoshop or any other image editing software and do the needed optimizations automatically. It made the company's sites much faster.

      It does so losslessly, which means it doesn't change any of the pixels, what you put into the application looks exactly like what comes out, it's just formatted slightly differently.

      Here is the tool: http://sourceforge.net/projects/dovecompress/

      Please use it when doing anything for DV that involves an image, be it something as small as a smily or as big as a signature.

      Currently, it's Windows only. It was designed to work on Windows XP and 7, but yesterday I added some hacks to get it to work on Vista too. Have at it.

    2. #2
      Ex Tech Admin Achievements:
      Created Dream Journal Tagger First Class Veteran First Class 10000 Hall Points Populated Wall Referrer Gold Made lots of Friends on DV
      slash112's Avatar
      Join Date
      Nov 2008
      Gender
      Location
      Sunny Scotland
      Posts
      5,113
      Likes
      1567
      DJ Entries
      29
      Great stuff. Tested it on a 1MB .png image. It brought it down to roughly 56% of that size.

      It's amazing how it does that with only lossless compression.


    3. #3
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      Oh, here is a wiki for the commercial version that I released before I quit. Minus the LiveObject stuff it's the same.

    4. #4
      Wololo Achievements:
      Created Dream Journal Tagger Second Class 1000 Hall Points Made lots of Friends on DV Populated Wall Referrer Bronze Veteran First Class
      Supernova's Avatar
      Join Date
      Jul 2009
      LD Count
      Gender
      Location
      Spiral out, keep going.
      Posts
      2,909
      Likes
      908
      DJ Entries
      10
      Looks pretty good. I'll run my avatar and sig through it when I get the time.

    5. #5
      khh
      khh is offline
      Remember Achievements:
      1000 Hall Points Veteran First Class
      khh's Avatar
      Join Date
      Jun 2009
      Gender
      Location
      Norway
      Posts
      2,482
      Likes
      1309
      Oh, nice tool. Looks like it doesn't do much with my images, though. I usually use pngout.
      edit: Scratch that. It actually compresses some of them further. Great tool. You're really great at these optimization things
      Last edited by khh; 04-09-2010 at 05:17 PM.
      April Ryan is my friend,
      Every sorrow she can mend.
      When i visit her dark realm,
      Does it simply overwhelm.

    6. #6
      Wololo Achievements:
      Created Dream Journal Tagger Second Class 1000 Hall Points Made lots of Friends on DV Populated Wall Referrer Bronze Veteran First Class
      Supernova's Avatar
      Join Date
      Jul 2009
      LD Count
      Gender
      Location
      Spiral out, keep going.
      Posts
      2,909
      Likes
      908
      DJ Entries
      10


      lolwut?

    7. #7
      Ex Tech Admin Achievements:
      Created Dream Journal Tagger First Class Veteran First Class 10000 Hall Points Populated Wall Referrer Gold Made lots of Friends on DV
      slash112's Avatar
      Join Date
      Nov 2008
      Gender
      Location
      Sunny Scotland
      Posts
      5,113
      Likes
      1567
      DJ Entries
      29
      I was asking to ninja about that too.

      It doesn't compress jpegs and gifs, only strips MetaData.
      So if it doesn't really have any MetaData, then the size won't decrease.

      Try it on a png. It compresses them.

    8. #8
      Wololo Achievements:
      Created Dream Journal Tagger Second Class 1000 Hall Points Made lots of Friends on DV Populated Wall Referrer Bronze Veteran First Class
      Supernova's Avatar
      Join Date
      Jul 2009
      LD Count
      Gender
      Location
      Spiral out, keep going.
      Posts
      2,909
      Likes
      908
      DJ Entries
      10
      I see. I'll have to convert my avatar and sig then. Guess I won't be able to use that animated .gif then.

    9. #9
      Ex Tech Admin Achievements:
      Created Dream Journal Tagger First Class Veteran First Class 10000 Hall Points Populated Wall Referrer Gold Made lots of Friends on DV
      slash112's Avatar
      Join Date
      Nov 2008
      Gender
      Location
      Sunny Scotland
      Posts
      5,113
      Likes
      1567
      DJ Entries
      29
      Huh? why?

      DV turns everything into .gif anyway...

    10. #10
      Wololo Achievements:
      Created Dream Journal Tagger Second Class 1000 Hall Points Made lots of Friends on DV Populated Wall Referrer Bronze Veteran First Class
      Supernova's Avatar
      Join Date
      Jul 2009
      LD Count
      Gender
      Location
      Spiral out, keep going.
      Posts
      2,909
      Likes
      908
      DJ Entries
      10
      The .gif is way too big.

    11. #11
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      I might write a compression tool for gifs, but for now, it just strips metadata from them.

    12. #12
      Member Achievements:
      Made lots of Friends on DV Created Dream Journal Referrer Gold Tagger First Class Populated Wall 10000 Hall Points Veteran First Class
      Mancon's Avatar
      Join Date
      Sep 2009
      LD Count
      1000+
      Gender
      Location
      Idaho
      Posts
      3,461
      Likes
      1900
      DJ Entries
      32
      Thanks! I will definitely use this, and decrease the site's lag from now on!

    13. #13
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      Softpedia just picked it up.

    14. #14
      Banned
      Join Date
      Oct 2009
      Gender
      Location
      Nowhere
      Posts
      2,941
      Likes
      601
      DJ Entries
      45
      I never notice any DV lag.

    15. #15
      LRT
      LRT is offline
      Light Rail Transit
      Join Date
      Dec 2009
      LD Count
      17
      Gender
      Location
      Toronto
      Posts
      299
      Likes
      34
      DJ Entries
      2
      Neither do I, and I have pretty low-end internet!

    16. #16
      Member
      Join Date
      Jul 2010
      Posts
      50
      Likes
      2
      OT: I just can't help to ask where's your avatar from, ninja

    17. #17
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      I made it.

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •