Results 1 to 20 of 20

Thread: Image Catalyst

  1. #1
    Member
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    168
    Thanks
    163
    Thanked 9 Times in 8 Posts

    Image Catalyst

    Loseless PNG, JPEG and GIF optimization / compression tool for Windows.

    https://github.com/lorents17/iCatalyst

  2. Thanks (2):

    Jaff (29th May 2015),just a worm (29th May 2015)

  3. #2
    Member just a worm's Avatar
    Join Date
    Aug 2013
    Location
    planet "earth"
    Posts
    96
    Thanks
    29
    Thanked 6 Times in 5 Posts
    Could you please give some information about the png-optimization tools? In the directory there are the files with their names but I have no idea what the tools do.

    For example I am looking for a tool that recursivly goes through a directory and decreases the size of all png files and doesn't touch any other/non-png file. I think I have already seen it here on encode.su but I don't know it's name anymore.

  4. #3
    Member Jaff's Avatar
    Join Date
    Oct 2012
    Location
    Dracula's country
    Posts
    104
    Thanks
    115
    Thanked 22 Times in 18 Posts
    Quote Originally Posted by just a worm View Post
    Could you please give some information about the png-optimization tools? In the directory there are the files with their names but I have no idea what the tools do.
    After reading readme.md (section Tools used) use Google to search about those tools.
    Quote Originally Posted by just a worm View Post
    For example I am looking for a tool that recursivly goes through a directory and decreases the size of all png files and doesn't touch any other/non-png file. I think I have already seen it here on encode.su but I don't know it's name anymore.
    DeflOpt /bdr *.png

  5. #4
    Member
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    168
    Thanks
    163
    Thanked 9 Times in 8 Posts
    Please compile the program for windows
    https://github.com/rflynn/imgmin
    Last edited by lorents17; 1st June 2015 at 23:11.

  6. #5
    Member
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    168
    Thanks
    163
    Thanked 9 Times in 8 Posts
    Good day! Prompt, please, the program for optimizing JPEG lossy?
    I found:
    https://github.com/danielgtaylor/jpeg-archive
    https://github.com/rflynn/imgmin
    https://github.com/tjko/jpegoptim

    Prompt, a metric for comparing two images. Watched MSU Quality Measurement Tool, but can't understand which metrics best suited for visual change in image quality?

  7. #6
    Member
    Join Date
    Sep 2007
    Location
    Denmark
    Posts
    925
    Thanks
    57
    Thanked 116 Times in 93 Posts
    Quote Originally Posted by just a worm View Post
    Could you please give some information about the png-optimization tools? In the directory there are the files with their names but I have no idea what the tools do.

    For example I am looking for a tool that recursivly goes through a directory and decreases the size of all png files and doesn't touch any other/non-png file. I think I have already seen it here on encode.su but I don't know it's name anymore.

    I might be misunderstanding this, but can't you do this with any command line .png optimizer like .e.g PNGout?

    for /r %r in (*.png) do pngout.exe "%r"

    Thats how i do it, except i call my batch file that runes multiple optimizations on a .png file. sometime my pc wwill chunk for week on an entire tree structure with .png files all over the place

  8. #7
    Member
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    168
    Thanks
    163
    Thanked 9 Times in 8 Posts
    Tell me, please, how to compile under windows the following projects
    https://github.com/rflynn/imgmin
    Last edited by lorents17; 3rd June 2015 at 23:40.

  9. #8
    Member Skymmer's Avatar
    Join Date
    Mar 2009
    Location
    Russia
    Posts
    688
    Thanks
    41
    Thanked 173 Times in 88 Posts
    Well, you can try to use makefile files from every project.
    At first you need to get some GCC distro. For example MinGW-w64. In case you're confused which version to use - grab the x86-posix-dwarf from here.
    Now create batch file like this:
    Code:
    rem set path to bin folder of mingw
    set path=d:\MingW\Mingw64\32-win32-dw\bin
    mingw32-make.exe -f makefile
    pause
    exit
    Place this batch to the root of the desired source and run it.
    Probably you'll get nothing just out-of-the-box. The reason is that there are some dependencies which you need to get and probably makefiles are not error-free so you need to edit them, like for example changing @SET_MAKE@ to SET_MAKE = @SET_MAKE@ for JpegOptim. And even if you made everything correctly there can be other unpredictable errors.

    Another method is to use MSYS2 which has some native Linux tools ported to Win so it can do configure\make sequence.
    And another method is to use cross-compiler directly from Linux but I have no experience here so I can't say for sure.
    Anyway, good luck in your efforts.

  10. #9
    Member
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    168
    Thanks
    163
    Thanked 9 Times in 8 Posts
    If you don't mind, please make a compilation of the project
    https://github.com/rflynn/imgmin
    I would be very grateful

  11. #10
    Member jibz's Avatar
    Join Date
    Jan 2015
    Location
    Denmark
    Posts
    124
    Thanks
    106
    Thanked 71 Times in 51 Posts
    Back when I first saw imgmin, I gave up trying it because there was no obvious way to compile it on Windows.

    Yesterday I took another look, and got it to at least compile with mingw-w64. The attached archive contains some patches and build instructions, along with a static Win64 compile of imgmin 1.1.

    Please note this is more or less just a proof of concept that it is possible to compile it, and it may not work like it is supposed to. Also, I had to remove the PNG handling, so it only works on JPEG files.
    Attached Files Attached Files

  12. Thanks (2):

    GOZARCK (8th June 2015),lorents17 (8th June 2015)

  13. #11
    Member
    Join Date
    May 2013
    Location
    ARGENTINA
    Posts
    54
    Thanks
    62
    Thanked 13 Times in 10 Posts
    Thanks jibz for compile.
    this is my bat file. Compress each jpg file and then create new file processed "namefile_proc.jpg" and delete the original.
    Code:
    @echo off
    title Imgmin
    ::
    for /r . %%T IN (*.jpg) do (
    
    @imgmin "%%T" "%%~pT%%~nT_proc.jpg"
    
    del "%%T"
    )
    pause

  14. #12
    Member
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    168
    Thanks
    163
    Thanked 9 Times in 8 Posts
    jibz Thank you very much!

    Tell me, what technology does for JPEG optimization https://tinyjpg.com/

  15. #13
    Member
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    168
    Thanks
    163
    Thanked 9 Times in 8 Posts
    del
    Last edited by lorents17; 11th June 2015 at 23:22.

  16. #14
    Member
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    168
    Thanks
    163
    Thanked 9 Times in 8 Posts
    Image quality metrics
    http://imq.vt.tpu.ru/indexeng.html
    Last edited by lorents17; 12th June 2015 at 00:46.

  17. #15
    Member
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    168
    Thanks
    163
    Thanked 9 Times in 8 Posts
    Found an interesting pattern.

    Code:
    Microsoft Windows [Version 10.0.10240]
    (c) Корпорация Майкрософт (Microsoft Corporation), 2015 г. Все права защищены.
    
    C:\Users\loren>C:\Users\loren\Desktop\Logo\truepng.exe -zc7 -zm1-9 -zs0-3 -fe -force C:\Users\loren\Desktop\Logo\1064.png
    TruePNG 0.6.0.0 : PNG Optimizer
    by x128 (2010-2015)
    x128@ua.fm
    
    Input file: 1064.png | 237773 bytes
    Image: 512x512 pixels | 8 bits/sample | RGB & Alpha
    Delta filter: Mixed
    Chunks: only critical
    
    Output format: 8 bits/sample | RGB & Alpha
    Chunks: only critical
    
    try...
    IDAT=237722     file=237779     complete=100%
                                                                                    extra...
    fs:1    f:5     IDAT=237716     file=237773
    
    best:
    zc:7    zm:9    zs:3    fs:1    f:5     IDAT=237716     file=237773
    
    
    C:\Users\loren>C:\Users\loren\Desktop\Logo\pngwolfzopfli.exe --zopfli-iter=5 --zopfli-maxsplit=0 --zlib-window=15 --zlib-level=7 --zlib-memlevel=9 --zlib-strategy=3 --max-stagnate-time=0 --max-evaluations=1 --in=C:\Users\loren\Desktop\Lo
    go\1064.png --out=C:\Users\loren\Desktop\Logo\1064.png
    ---
    # 512 x 512 pixels at depth 8 (mode 6) with IDAT 1049088 bytes (237716 deflated)
    ---
    ---
    # IDAT 13563 bytes smaller
    
    C:\Users\loren>C:\Users\loren\Desktop\Logo\pngwolfzopfli.exe --zopfli-iter=25 --zopfli-maxsplit=0 --zlib-window=15 --zlib-level=7 --zlib-memlevel=9 --zlib-strategy=3 --max-stagnate-time=0 --max-evaluations=1 --in=C:\Users\loren\Desktop\L
    ogo\1064.png --out=C:\Users\loren\Desktop\Logo\1064.png
    ---
    # 512 x 512 pixels at depth 8 (mode 6) with IDAT 1049088 bytes (224153 deflated)
    ---
    ---
    # IDAT 8026 bytes smaller
    
    C:\Users\loren>C:\Users\loren\Desktop\Logo\pngwolfzopfli.exe --zopfli-iter=50 --zopfli-maxsplit=0 --zlib-window=15 --zlib-level=7 --zlib-memlevel=9 --zlib-strategy=3 --max-stagnate-time=0 --max-evaluations=1 --in=C:\Users\loren\Desktop\L
    ogo\1064.png --out=C:\Users\loren\Desktop\Logo\1064.png
    ---
    # 512 x 512 pixels at depth 8 (mode 6) with IDAT 1049088 bytes (216127 deflated)
    ---
    ---
    # IDAT 230 bytes smaller
    
    C:\Users\loren>
    If the value zs=3 (zlib), it is better to use --zopfli-iter=25, for best compression. Who knows why this is happening?
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	1009.png 
Views:	157 
Size:	280.9 KB 
ID:	3787   Click image for larger version. 

Name:	1057.png 
Views:	170 
Size:	234.5 KB 
ID:	3788   Click image for larger version. 

Name:	1064.png 
Views:	153 
Size:	232.2 KB 
ID:	3789   Click image for larger version. 

Name:	1162.png 
Views:	124 
Size:	286.5 KB 
ID:	3790   Click image for larger version. 

Name:	1356.png 
Views:	154 
Size:	47.8 KB 
ID:	3791  

    Last edited by lorents17; 31st August 2015 at 15:49.

  18. #16
    Member
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    168
    Thanks
    163
    Thanked 9 Times in 8 Posts
    And further

    This image pngout shakes much better zopfli. How can I fix it?

    Code:
    Microsoft Windows [Version 10.0.10240]
    (c) Корпорация Майкрософт (Microsoft Corporation), 2015 г. Все права защищены.
    
    C:\Users\Lorents>C:\Users\Lorents\Desktop\iCatalyst\Tools\apps\truepng.exe -o4 C
    :\Users\Lorents\Desktop\gXKKrNB.png
    TruePNG 0.6.0.0 : PNG Optimizer
    by x128 (2010-2015)
    x128@ua.fm
    
    Input file: gXKKrNB.png | 651914 bytes
    Image: 800x1200 pixels | 8 bits/sample | RGB
    Delta filter: None
    Chunks: only critical
    
    Output format: 8 bits/sample | RGB
    Chunks: only critical
    
    try...
    IDAT=651527     file=651584     complete=100%
    
    extra...
    
    
    best:
    zc:9    zm:8    zs:0    fs-:    f:0     IDAT=651527     file=651584
    
    C:\Users\Lorents>C:\Users\Lorents\Desktop\iCatalyst\Tools\apps\pngwolfzopfli.exe
     --zopfli-iter=15 --zopfli-maxsplit=0 --zlib-window=15 --zlib-level=9 --zlib-mem
    level=8 --zlib-strategy=0 --max-stagnate-time=0 --max-evaluations=1 --in=C:\User
    s\Lorents\Desktop\gXKKrNB.png --out=C:\Users\Lorents\Desktop\gXKKrNB.png
    ---
    # 800 x 1200 pixels at depth 8 (mode 2) with IDAT 2881200 bytes (651527 deflated
    )
    ---
    ---
    # IDAT 58768 bytes smaller
    
    C:\Users\Lorents>C:\Users\Lorents\Desktop\iCatalyst\Next\pngout.exe -ks -f6 C:\U
    sers\Lorents\Desktop\gXKKrNB.png
     In:  592816 bytes               C:\Users\Lorents\Desktop\gXKKrNB.png /c2 /f0
    Out:  586966 bytes               C:\Users\Lorents\Desktop\gXKKrNB.png /c2 /f6
    Chg:   -5850 bytes ( 99% of original)
    
    C:\Users\Lorents>
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	gXKKrNB.png 
Views:	216 
Size:	573.2 KB 
ID:	3795  

  19. #17
    Member
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    168
    Thanks
    163
    Thanked 9 Times in 8 Posts
    Tell me, how to compile dssim for windows?
    https://github.com/pornel/dssim

    Found
    http://css-ig.net/tools/public/
    Last edited by lorents17; 24th September 2015 at 00:49.

  20. #18
    Member
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    168
    Thanks
    163
    Thanked 9 Times in 8 Posts
    good evening!
    Tell me, has anyone seen advancecomp with an updated version of 7-zip deflate? Or another program with functions advdef?

  21. #19
    Member
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    168
    Thanks
    163
    Thanked 9 Times in 8 Posts
    Image Catalyst 2.6
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Снимок.PNG 
Views:	144 
Size:	7.5 KB 
ID:	3910  
    Last edited by lorents17; 29th October 2015 at 00:34.

  22. #20
    Member
    Join Date
    Apr 2011
    Location
    Russia
    Posts
    168
    Thanks
    163
    Thanked 9 Times in 8 Posts
    Dear participants of a forum!
    I wanted to talk about the libdeflate project.

    Code:
    Lorents@ASUS MINGW32 ~
    $ time '/c/Program Files/7-Zip/7z.exe' a -r -mm=Deflate -y -tgzip -mpass=2 -mfb=258 -mx9 -mmt=off /c/Users/Lorents/Desktop/enwik8.gz /c/Users/Lorents/Desktop/enwik8
    
    7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
    
    Scanning the drive:
    1 file, 100000000 bytes (96 MiB)
    
    Creating archive: C:/Users/Lorents/Desktop/enwik8.gz
    
    Items to compress: 1
    
    
    Files read from disk: 1
    Archive size: 35110519 bytes (34 MiB)
    Everything is Ok
    
    real    0m34.629s
    user    0m0.000s
    sys     0m0.000s
    
    Lorents@ASUS MINGW32 ~
    $ time /c/Users/Lorents/Desktop/ECT.exe -2 -gzip /c/Users/Lorents/Desktop/enwik8
    Processed 1 file
    Saved 61.65MB out of 95.37MB (64.6497%)
    
    real    0m23.478s
    user    0m0.000s
    sys     0m0.000s
    
    Lorents@ASUS MINGW32 ~
    $ time /c/Users/Lorents/Desktop/ECT.exe -3 -gzip /c/Users/Lorents/Desktop/enwik8
    Processed 1 file
    Saved 61.98MB out of 95.37MB (64.9861%)
    
    real    0m30.082s
    user    0m0.000s
    sys     0m0.000s
    
    Lorents@ASUS MINGW32 ~
    $ time /c/Users/Lorents/Desktop/ECT.exe -4 -gzip /c/Users/Lorents/Desktop/enwik8
    Processed 1 file
    Saved 62.02MB out of 95.37MB (65.0324%)
    
    real    0m35.125s
    user    0m0.000s
    sys     0m0.000s
    
    Lorents@ASUS MINGW32 ~
    $ time /c/Users/Lorents/Desktop/X2/gzip.exe -k -12 /c/Users/Lorents/Desktop/enwik8
    
    real    0m22.608s
    user    0m0.000s
    sys     0m0.000s
    Code:
    7-zip -mpass=2 -mfb=258 -mx9 - 35 110 519 byte
    ect -2 - 35 350 269 byte
    ect -3 - 35 013 879 byte
    ect -4 - 34 967 607 byte
    gzip -12 - 35 100 553 byte
    ibdeflate has good extent of compression and high speed of work. There was an idea to create the application on compression of PNG on the basis of libdeflate (on similarity of advdef).
    I will be grateful if somebody writes such application on the basis of libdeflate.dll.

    Code:
    for %%i in (PNG\*) do (
        krzydefc --gzipname "%%i"
        7za x "%%i.gz"
        gzip -12 "%%~dpni"
        krzydefc --png"%%~i" "%%~dpni.gz"
        del "%%i.gz"
        del "%%~dpni.gz"
        move /y "%%~dpni.gz.png" "%%i"
    )
    And

    Please, help to compile optipng with support of masmx86.

Similar Threads

  1. Huffmix: a PNGOUT -r catalyst
    By caveman in forum Data Compression
    Replies: 50
    Last Post: 20th May 2020, 18:48
  2. Shroom Image Set
    By Skymmer in forum Download Area
    Replies: 2
    Last Post: 14th November 2013, 15:35
  3. 3d image compression
    By m^2 in forum Data Compression
    Replies: 5
    Last Post: 9th July 2012, 08:52
  4. ANN for image comression
    By masai in forum Data Compression
    Replies: 8
    Last Post: 10th February 2012, 22:14
  5. Image retargeting
    By Black_Fox1 in forum Forum Archive
    Replies: 1
    Last Post: 24th August 2007, 04:02

Posting Permissions

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