Results 1 to 3 of 3

Thread: packPNM v0.9 & packPNM v1.0d

  1. #1
    Member packDEV's Avatar
    Join Date
    Oct 2011
    Location
    Germany
    Posts
    37
    Thanks
    10
    Thanked 44 Times in 9 Posts

    Smile packPNM v0.9 & packPNM v1.0d

    Hi!

    I think I haven't released this anywhere yet, so I'll put it up for download here. This is packPNM, my compression software for PNM (.pgm, .ppm, .pbm) image files. Two versions are included in the archive, v0.9 which is based on the algorithm used in packJPG <= v2.3, and v1.0d, which is based on the algorithm in packJPG >= v2.4. Although I had hoped v1.0d to be better in each and every case, v0.9 is still better for some images.

    This is more or less an experiment wether the packJPG algorithm could be reused for different, non DCT based image types as well. The results might not be that fantastic for grayscale (.pgm) or RGB (.ppm) images, but the compression algorithm for mono (.pbm) images is quite good and very simple as well.

    I'd open-source this as well, but the source code right now is a mess. I wouldn't release it the way it is now, so that would need work, too. If there is interest for the source code, I'd see what I can do.
    Attached Files Attached Files

  2. #2
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    3,134
    Thanks
    179
    Thanked 921 Times in 469 Posts
    Code:
      pic_out  pic_twin  // pic from calgary corpus, different resolutions
    1728x2376 3456x1188
       513278    513278  // bmp
       513268    513268  // pbm
        49272     48687  // png (pngout+deflopt)
        45238     45054  // bmf 2.01 (from BMP)
        32298     35317  // packPNM09 (from PBM)
        32224     35229  // packPNM10 (from PBM)
        27238     29998  // bmf 2.01 -S (from BMP)

  3. #3
    Expert
    Matt Mahoney's Avatar
    Join Date
    May 2008
    Location
    Melbourne, Florida, USA
    Posts
    3,255
    Thanks
    306
    Thanked 778 Times in 485 Posts
    zpaq -m4 pic -> 28232 (2 sec)
    paq8l -> 22509 (44 sec)

Similar Threads

  1. Logistic mixing & modeling
    By toffer in forum Data Compression
    Replies: 44
    Last Post: 3rd March 2011, 06:25
  2. PackPnm
    By maadjordan in forum Data Compression
    Replies: 0
    Last Post: 9th September 2008, 09:29
  3. Test & Benchmark: Incomparable
    By Gish in forum Forum Archive
    Replies: 17
    Last Post: 8th November 2007, 01:58
  4. qc & qazar compressors
    By encode in forum Forum Archive
    Replies: 3
    Last Post: 25th August 2007, 03:58
  5. FreeArc GUI - how it should look&feel?
    By Bulat Ziganshin in forum Forum Archive
    Replies: 31
    Last Post: 20th July 2007, 17:32

Posting Permissions

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