Results 1 to 18 of 18

Thread: pngcrush 1.6.4

  1. #1
    Member
    Join Date
    Dec 2006
    Posts
    611
    Thanks
    0
    Thanked 1 Time in 1 Post
    Does anyone have Win32 binaries of pngcrush v1.6.4?

  2. #2
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,954
    Thanks
    359
    Thanked 332 Times in 131 Posts
    Just compiled:
    pngcrush.exe.quad (55 KB)


  3. #3
    Member
    Join Date
    Dec 2006
    Posts
    611
    Thanks
    0
    Thanked 1 Time in 1 Post
    Sorry, but it doesn't work for me
    When run, it just changes command-line window's name to pngcrush.exe and nothing else happens.

  4. #4
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,954
    Thanks
    359
    Thanked 332 Times in 131 Posts
    IIRC, it tries to compress from stdin to stdout. You must specify the command line parameters first! Read the pngcrush manual! (or type pngcrush <filename>)

    Hope this helps!


  5. #5
    Member
    Join Date
    Dec 2006
    Posts
    611
    Thanks
    0
    Thanked 1 Time in 1 Post
    well... I dont know... I expected better results than those produced by 1.5.10 to be honest. Im probably still doing something wrong.

    Quote Originally Posted by encode
    type pngcrush <filename>
    I already tried that, but that only gzips the file (compressess to .gz), showing on example of PNG from my testset, which is compressed to 240,147. That PNG measures 251,564 bytes, which is compressed by pngcrush 1.5.10 to 190,318 bytes and is still viewable via any program capable of opening png images.

    Help to 1.6.4 obtained from sourceforge says
    usage: pngcrush [options] infile.png outfile.png
    but that only produces "outfile.png not found" (and compresses infile.png)

  6. #6
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Quote Originally Posted by Black_Fox
    I already tried that, but that only gzips the file (compressess to .gz), showing on example of PNG from my testset, which is compressed to 240,147.
    I have checked this myself with the following results:

    Typing "pngcrush test.png" appears to produce a standard GZIP compressed file "test.png.gz".

    Typing "pngcrush -h >help.txt" results in a zero byte file.

    Executable is only about half the size when compared to v1.5.10.

  7. #7
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,954
    Thanks
    359
    Thanked 332 Times in 131 Posts
    I don't know what exactly PMGCRUSH is - I've just compiled the newest version "AS IS". Probably, a special #define must me specified during compile. Executable size is a compiler related thing. Anyway, within a couple of days, I look at its source carefully.


  8. #8
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Is this the correct archive to download for the v1.6.4 source code?
    pngCrush v1.6.4 source code?

  9. #9
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,954
    Thanks
    359
    Thanked 332 Times in 131 Posts
    Yes it is! Another package (pngcrush-1.6.4-nolib.zip) is just standalone pngcrush source with no zlib and libpng incuded.

  10. #10
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Thanks!

  11. #11
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    To Black_Fox

    What do you think of OptiPNG?


    BTW: I think you will find this file interesting as a compression test.

    Download file

  12. #12
    Member
    Join Date
    Dec 2006
    Posts
    611
    Thanks
    0
    Thanked 1 Time in 1 Post
    Quote Originally Posted by LovePimple
    I think you will find this file interesting as a compression test
    Is it that home-made game module which was discussed some time ago at 7-zip forums? Its really surprising how individual compressors differ in performance at this file, nonetheless its extremely unusual

    Quote Originally Posted by LovePimple
    What do you think of OptiPNG?
    Seems like a nice app - PNG->189,949 and BMP (to PNG) ->880,928 bytes

  13. #13
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Quote Originally Posted by Black_Fox
    Is it that home-made game module which was discussed some time ago at 7-zip forums?
    Yes! I find it very interesting that ONLY WinRAR can compress this file significantly.

  14. #14
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Quote Originally Posted by Black_Fox
    Seems like a nice app - PNG->189,949 and BMP (to PNG) ->880,928 bytes
    Do you think it is better than pngCrush?

  15. #15
    Member
    Join Date
    Dec 2006
    Posts
    611
    Thanks
    0
    Thanked 1 Time in 1 Post
    Quote Originally Posted by LovePimple
    Do you think it is better than pngCrush?
    Its a fork of it, so they are quite similar. OptiPNG compresses only into memory as I read somewhere and hence should be faster, making it better than pngcrush

  16. #16
    Member
    Join Date
    Dec 2006
    Posts
    611
    Thanks
    0
    Thanked 1 Time in 1 Post
    In case anybody was interested, month and a half after last post in this topic, pngcrush 1.6.4 win32 & DOS executables were released. There is some compression improvement (a few %, obtained via -brute param) in comparison with previous (1.5.10) version

  17. #17
    Member Vacon's Avatar
    Join Date
    May 2008
    Location
    Germany
    Posts
    523
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello everyone,

    Quote Originally Posted by Black_Fox
    In case anybody was interested,...
    Thank you, Black_Fox!

    Best regards!

  18. #18
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Thanks BF!

Posting Permissions

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