opendir has moved servers and i cant be assed to reconfigure the clusterfuck that is Histoire, enjoy the new look!

if you're missing any directory headers or footers then try with these: header / footer

GraLIC - new lossless image compressor
Results 1 to 18 of 18

Thread: GraLIC - new lossless image compressor

  1. #1
    Member Alexander Rhatushnyak's Avatar
    Join Date
    Oct 2007
    Location
    Canada
    Posts
    232
    Thanks
    36
    Thanked 80 Times in 43 Posts

    Thumbs up GraLIC - new lossless image compressor

    Demo version of a new lossless image compressor is attached.
    It accepts only 8-bit grayscale images in PNM format.
    Compresses some images better and faster than MRP, BMF, PAQ8* and others.
    The program was compiled with option -march=pentiumpro, I believe it is able to run on almost any modern IBM-compatible PC. On the other hand, it was designed for images with sizes between 2 and 10 Mb, there is no point in testing it on traditional 512x512 or smaller images.

    This executable for 32-bit Windows will fail if image width* is bigger than 8184.
    *or height, because some images are rotated, and there is no switch to choose other rotation in the demo version.

    Please e-mail to Alex at fleetwarecorp kom and bfrusina at rogers kom for more info.

    *******************************************
    Version 1.2.d was released on 10-Jun-2010:
    http://www.imagecompression.info/gralic/Gralic12d.zip
    or http://forum.compression.ru/download/file.php?id=15
    *******************************************


    GraLIC FOR 24-BIT IMAGES: http://encode.ru/threads/1099


    // version 1.0.d, which is now obsolete:
    Attached Files Attached Files
    Last edited by Alexander Rhatushnyak; 2nd December 2010 at 19:16.

  2. #2
    Member
    Join Date
    May 2009
    Location
    China
    Posts
    36
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks!download!test!

  3. #3
    Member
    Join Date
    Apr 2010
    Location
    Czech rep.
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Oh! I works! But you must use "garlic1d.exe c packed_file image.pnm" not "garlic1d.exe c image.pnm"

    Very impressive work:

    original file (1812x2620px): http://files.uloziste.com/9f93672a34e694f7/big.png

    PNM: 4 747 457 bytes
    PNG: 1 882 722 bytes
    JBG: 1 797 888 bytes
    7Z: 1 596 148 bytes
    GRALIC: 1 346 379 bytes (4 s)
    PAQ8PX: 1 271 445 bytes (143 s)
    Last edited by mindi; 17th April 2010 at 11:22.

  4. #4
    Member m^2's Avatar
    Join Date
    Sep 2008
    Location
    Ślůnsk, PL
    Posts
    1,612
    Thanks
    30
    Thanked 65 Times in 47 Posts
    Any chance for a version that works with other image types?

  5. #5
    Member
    Join Date
    May 2008
    Location
    HK
    Posts
    160
    Thanks
    4
    Thanked 25 Times in 15 Posts
    Quote Originally Posted by mindi View Post
    Oh! I works! But you must use "garlic1d.exe c packed_file image.pnm" not "garlic1d.exe c image.pnm"

    Very impressive work:

    original file (1812x2620px): http://files.uloziste.com/9f93672a34e694f7/big.png

    PNM: 4 747 457 bytes
    PNG: 1 882 722 bytes
    JBG: 1 797 888 bytes
    7Z: 1 596 148 bytes
    GRALIC: 1 346 379 bytes (4 s)
    PAQ8PX: 1 271 445 bytes (143 s)
    Code:
    OptiPNG 0.6.4: Advanced PNG optimizer.
    Copyright (C) 2001-2010 Cosmin Truta.
    
    ** Processing: big.png
    1812x2620 pixels, 8 bits/pixel, grayscale
    Input IDAT size = 1879896 bytes
    Input file size = 1882722 bytes
    
    Trying:
      zc = 9  zm = 9  zs = 3  f = 5         IDAT size = 1847717
    
    Selecting parameters:
      zc = 9  zm = 9  zs = 3  f = 5         IDAT size = 1847717
    
    Output IDAT size = 1847717 bytes (32179 bytes decrease)
    Output file size = 1847795 bytes (34927 bytes = 1.86% decrease)
    
         1847795     1768223  95% big.png
         1847795     1768223  95%
    
    ***                 DeflOpt V2.07                 ***
    ***       Built on Wed Sep  5 18:56:30 2007       ***
    ***  Copyright (C) 2003-2007 by Ben Jos Walbeehm  ***
    
    
    
    "C:/Documents and Settings/Roy/Desktop/big.png"
    Number of bytes saved: 760 (1,768,223 --> 1,767,463)
    File rewritten.
    
    
    Number of files processed  :        1
    Number of files rewritten  :        1
    Total number of bytes saved:      760
    2,130,422,543 cycles.

  6. #6
    Member
    Join Date
    Sep 2007
    Location
    Denmark
    Posts
    854
    Thanks
    45
    Thanked 104 Times in 82 Posts
    my png file i so far only 1782129

    and optimizing it not done yet

    this puts its smaller than jbg

  7. #7
    Member Alexander Rhatushnyak's Avatar
    Join Date
    Oct 2007
    Location
    Canada
    Posts
    232
    Thanks
    36
    Thanked 80 Times in 43 Posts
    Quote Originally Posted by mindi View Post
    original file (1812x2620px): http://files.uloziste.com/9f93672a34e694f7/big.png

    PNM: 4 747 457 bytes
    PNG: 1 882 722 bytes
    JBG: 1 797 888 bytes
    7Z: 1 596 148 bytes
    GRALIC: 1 346 379 bytes (4 s)
    PAQ8PX: 1 271 445 bytes (143 s)
    GraLIC 1.0.d: 1 346 379 bytes
    GraLIC 1.0: 1 274 046 bytes, same speed as 1.0.d, http://artst.narod.ru/lic/big_gralic1.dat - and GraLIC 1.0.d can decompress this file.

  8. #8
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    3,121
    Thanks
    178
    Thanked 916 Times in 464 Posts
    Here I compiled some MRP if anybody wants to test it too:
    http://nishi.dreamhosters.com/u/mrp-05.rar

    Also there's http://www.compression.ru/ds/bmf_2_00.rar

  9. #9
    Member chornobyl's Avatar
    Join Date
    May 2008
    Location
    ua/kiev
    Posts
    153
    Thanks
    0
    Thanked 0 Times in 0 Posts
    2720x2720
    7398417 pgm
    4179093 lzma
    4060518 delta1-lzma
    3875159 pngout
    3811284 jpeg2k
    3650503 losslesjpeg
    3576084 bmf
    3420780 bmf -s
    3394209 gralic1d
    http://www.picfront.org/d/7zd8
    Last edited by chornobyl; 18th April 2010 at 22:00.

  10. #10
    Programmer schnaader's Avatar
    Join Date
    May 2008
    Location
    Hessen, Germany
    Posts
    537
    Thanks
    192
    Thanked 173 Times in 80 Posts
    Quote Originally Posted by chornobyl View Post
    It seems tinypic scaled the picture down to 1600x1600, so unfortunately the link is useless... it also seems that they used a very bad PNG encoder for this, the PNG is 8,4 MB in size, even an uncompressed BMP version takes only 2,5 MB.

    EDIT: The picfront link works, thanks
    Last edited by schnaader; 18th April 2010 at 22:06.
    http://schnaader.info
    Damn kids. They're all alike.

  11. #11
    Member chornobyl's Avatar
    Join Date
    May 2008
    Location
    ua/kiev
    Posts
    153
    Thanks
    0
    Thanked 0 Times in 0 Posts
    PNG is 8,4 MB in size, even an uncompressed BMP version takes only 2,5 MB.
    somehow they use 48 bit color, dunno what for

  12. #12
    Member Alexander Rhatushnyak's Avatar
    Join Date
    Oct 2007
    Location
    Canada
    Posts
    232
    Thanks
    36
    Thanked 80 Times in 43 Posts
    Quote Originally Posted by m^2 View Post
    Any chance for a version that works with other image types?
    Hopefully yes.

    Quote Originally Posted by Shelwien View Post
    Here I compiled some MRP if anybody wants to test it too:
    http://nishi.dreamhosters.com/u/mrp-05.rar
    Because for many images MRP prints "Image width and height must be multiples of 8!" and exits, I suggest he/she applies the attached program.

    It cuts off the required number of pixels from top, bottom, left and right:

    c=width&7; cl=c/2, cr=c-cl;
    d=height&7; ct=d/2, cb=d-ct;
    printf("Width=%d, height=%d\n"
    "Cutting off %d and %d from top and bottom, %d and %d from left and right\n",width,height,ct,cb,cl,cr);
    Attached Files Attached Files

  13. #13
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    3,121
    Thanks
    178
    Thanked 916 Times in 464 Posts

  14. #14
    Member Alexander Rhatushnyak's Avatar
    Join Date
    Oct 2007
    Location
    Canada
    Posts
    232
    Thanks
    36
    Thanked 80 Times in 43 Posts
    Quote Originally Posted by chornobyl View Post
    2720x2720
    7398417 pgm
    4179093 lzma
    4060518 delta1-lzma
    3875159 pngout
    3811284 jpeg2k
    3650503 losslesjpeg
    3576084 bmf
    3420780 bmf -s
    3394209 gralic1d
    http://www.picfront.org/d/7zd8
    3561363 glicbawls
    3519813 rkim cx
    3440951 encMRP05 -o
    3436931 paq8px_v68p3 -6
    3436181 paq8px_v68p3 -7
    encMRP worked three days on my laptop (though sometimes I hit Pause),
    the compressed file is here, if you wish: http://artst.narod.ru/lic/P1803650.mrp
    and the output log is here: http://artst.narod.ru/lic/log-P1803650-mrp-o.txt (including decMRP)
    Last edited by Alexander Rhatushnyak; 27th April 2010 at 08:16.

  15. #15
    Member Alexander Rhatushnyak's Avatar
    Join Date
    Oct 2007
    Location
    Canada
    Posts
    232
    Thanks
    36
    Thanked 80 Times in 43 Posts
    Version 1.1.d was released:
    http://www.imagecompression.info/gralic/Gralic11d.zip
    or http://forum.compression.ru/download/file.php?id=12

    Compression and decompression speed has increased by 1% approximately, for example
    887 -> 897 kilobytes/second on big_building.pgm,
    938 -> 951 kb/sec on big_tree.pgm (compression speed on my laptop).

    Compression quality has improved also, for example
    3394209 -> 3393385 on the Earth image.


    MRP 0.5 compiled with GCC:
    http://www.imagecompression.info/gra...c/mrp05gcc.rar
    executables for 64-bit Linux:
    http://www.imagecompression.info/gra...linux64bit.zip
    encmrp.exe and encmrp-Linux64 create compressed files that can be decompressed by decmrp.exe and by decmrp-Linux64,
    but for some reason executables from Eugene Shelwien - http://nishi.dreamhosters.com/u/mrp-05.rar - create incompatible compressed files, and can't decompress mrp05gcc-compressed files.
    Last edited by Alexander Rhatushnyak; 11th May 2010 at 03:05.

  16. #16
    Member Alexander Rhatushnyak's Avatar
    Join Date
    Oct 2007
    Location
    Canada
    Posts
    232
    Thanks
    36
    Thanked 80 Times in 43 Posts
    Version 1.2.d was released on 10-Jun-2010:
    http://www.imagecompression.info/gralic/Gralic12d.zip
    or http://forum.compression.ru/download/file.php?id=15
    Better compression, higher speed, lower memory usage.

    btw, a bug/feature in MRP 0.5 was fixed: it prohibited compression of 'too' large images with arithmetic encoding
    (also I did some speed optimization) http://www.imagecompression.info/gra...c/mrp05gcc.rar

  17. #17
    Member chornobyl's Avatar
    Join Date
    May 2008
    Location
    ua/kiev
    Posts
    153
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i cannot run linux version
    ./GraLIC1d c im.gr im.pnm
    bash: ./GraLIC1d: cannot execute binary file
    ubuntu10.4 i686
    Last edited by chornobyl; 25th June 2010 at 20:12.

  18. #18
    Member
    Join Date
    Nov 2010
    Location
    World
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Where can i download glicbawls compressor for windows?

Similar Threads

  1. UCI Image Compression
    By maadjordan in forum Data Compression
    Replies: 5
    Last Post: 19th August 2017, 23:15
  2. Graphic/Image/Modeling Benchmark
    By Simon Berger in forum Data Compression
    Replies: 23
    Last Post: 24th May 2009, 17:50
  3. Image retargeting
    By Black_Fox1 in forum Forum Archive
    Replies: 1
    Last Post: 24th August 2007, 04:02
  4. image compressors
    By maadjordan in forum Forum Archive
    Replies: 5
    Last Post: 13th August 2007, 09:28
  5. Lossless Audio Codec
    By encode in forum Forum Archive
    Replies: 8
    Last Post: 1st August 2007, 18:36

Tags for this Thread

Posting Permissions

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