1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

AddOn Image Optimizer [Paid] 1.2.0

Optimize all attachments in your forum to save disk space.

  1. truonglv

    truonglv Staff Member Tech Support

    Messages:
    3,442
    Likes Received:
    1,334
    Trophy Points:
    113
    Did you see the option: "Time between optimizing"? And the option "Items per processing". If you have a huge attachments so it is take somedays to complete it but don't worry. It is running under background.
     
  2. tchotcho59650

    tchotcho59650 New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Last edited: Sep 18, 2017
  3. truonglv

    truonglv Staff Member Tech Support

    Messages:
    3,442
    Likes Received:
    1,334
    Trophy Points:
    113
  4. tchotcho59650

    tchotcho59650 New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
  5. truonglv

    truonglv Staff Member Tech Support

    Messages:
    3,442
    Likes Received:
    1,334
    Trophy Points:
    113
    Upload that file to addon directory. In this case it's should be: library/Nobita/ImageOptimizer/
    Then run this command:
    Code:
    chmod +x io_setup.sh
    And this command.
    Code:
    ./io_setup.sh
     
  6. oakleyforum

    oakleyforum Member

    Messages:
    36
    Likes Received:
    8
    Trophy Points:
    8
    How do I go about creating the required binaries? Previously had GFN Optimizer working with jpeg optim but not sure what needs to be done here. Feel free to PM me.
     
  7. truonglv

    truonglv Staff Member Tech Support

    Messages:
    3,442
    Likes Received:
    1,334
    Trophy Points:
    113
     
  8. arboristsite

    arboristsite New Member

    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I'm getting the following errors:

    Code:
    +=========================+
    +  Image Optimizer Setup  +
    +=========================+
    
    
    Checking requirements...
        - git: installed in /usr/bin/git
        - autoconf: installed in /usr/bin/autoconf
        - automake: installed in /usr/bin/automake
    Done Check.
    
    
    Cloning into '/home/arborist/public_html/forum/library/Nobita/ImageOptimizer/temp/pngquant'...
    remote: Counting objects: 4389, done.
    remote: Compressing objects: 100% (28/28), done.
    remote: Total 4389 (delta 15), reused 27 (delta 11), pack-reused 4350
    Receiving objects: 100% (4389/4389), 1.69 MiB | 12.71 MiB/s, done.
    Resolving deltas: 100% (2899/2899), done.
    
      Compiler: gcc
         Debug: no
           SSE: yes
        OpenMP: no
    Submodule 'lib' (https://github.com/ImageOptim/libimagequant.git) registered for path 'lib'
    Cloning into '/home/arborist/public_html/forum/library/Nobita/ImageOptimizer/temp/pngquant/lib'...
    Submodule path 'lib': checked out '0c269adeb019004b3e7e3c4962bbc8901e64edd8'
    imagequant: build static
        libpng: shared (1.5.13)
          zlib: shared (1.2.7)
         lcms2: no
    
    gcc -fno-math-errno -funroll-loops -fomit-frame-pointer -Wall -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=1 -msse -mfpmath=sse -W                                     no-unknown-pragmas -I./lib -I/usr/include/libpng15     -fexcess-precision=fast   -c -o pngquant.o pngquant.c
    gcc -fno-math-errno -funroll-loops -fomit-frame-pointer -Wall -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=1 -msse -mfpmath=sse -W                                     no-unknown-pragmas -I./lib -I/usr/include/libpng15     -fexcess-precision=fast   -c -o pngquant_opts.o pngquant_opts.c
    gcc -fno-math-errno -funroll-loops -fomit-frame-pointer -Wall -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=1 -msse -mfpmath=sse -W                                     no-unknown-pragmas -I./lib -I/usr/include/libpng15     -fexcess-precision=fast   -c -o rwpng.o rwpng.c
    ( cd './lib'; ./configure '--quiet' '--prefix=/home/arborist/public_html/forum/library/Nobita/ImageOptimizer/temp'  )
    make -C './lib' static
    make[1]: Entering directory `/home/arborist/public_html/forum/library/Nobita/ImageOptimizer/temp/pngquant/lib'
    gcc -fno-math-errno -funroll-loops -fomit-frame-pointer -Wall -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=1 -msse -mfpmath=sse -W                                     no-unknown-pragmas -fexcess-precision=fast   -c -o pam.o pam.c
    gcc -fno-math-errno -funroll-loops -fomit-frame-pointer -Wall -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=1 -msse -mfpmath=sse -W                                     no-unknown-pragmas -fexcess-precision=fast   -c -o mediancut.o mediancut.c
    gcc -fno-math-errno -funroll-loops -fomit-frame-pointer -Wall -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=1 -msse -mfpmath=sse -W                                     no-unknown-pragmas -fexcess-precision=fast   -c -o blur.o blur.c
    gcc -fno-math-errno -funroll-loops -fomit-frame-pointer -Wall -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=1 -msse -mfpmath=sse -W                                     no-unknown-pragmas -fexcess-precision=fast   -c -o mempool.o mempool.c
    gcc -fno-math-errno -funroll-loops -fomit-frame-pointer -Wall -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=1 -msse -mfpmath=sse -W                                     no-unknown-pragmas -fexcess-precision=fast   -c -o kmeans.o kmeans.c
    gcc -fno-math-errno -funroll-loops -fomit-frame-pointer -Wall -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=1 -msse -mfpmath=sse -W                                     no-unknown-pragmas -fexcess-precision=fast   -c -o nearest.o nearest.c
    gcc -fno-math-errno -funroll-loops -fomit-frame-pointer -Wall -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=1 -msse -mfpmath=sse -W                                     no-unknown-pragmas -fexcess-precision=fast   -c -o libimagequant.o libimagequant.c
    ar rv libimagequant.a pam.o mediancut.o blur.o mempool.o kmeans.o nearest.o libimagequant.o
    ar: creating libimagequant.a
    a - pam.o
    a - mediancut.o
    a - blur.o
    a - mempool.o
    a - kmeans.o
    a - nearest.o
    a - libimagequant.o
    make[1]: Leaving directory `/home/arborist/public_html/forum/library/Nobita/ImageOptimizer/temp/pngquant/lib'
    gcc pngquant.o pngquant_opts.o rwpng.o -fno-math-errno -funroll-loops -fomit-frame-pointer -Wall -std=c99 -I. -O3 -DNDEBU                                     G -DUSE_SSE=1 -msse -mfpmath=sse -Wno-unknown-pragmas -I./lib -I/usr/include/libpng15     -fexcess-precision=fast ./lib/l                                     ibimagequant.a -lpng15   -lz   -lm -o pngquant
    mkdir -p '/home/arborist/public_html/forum/library/Nobita/ImageOptimizer/temp/bin'
    mkdir -p '/home/arborist/public_html/forum/library/Nobita/ImageOptimizer/temp/share/man/man1'
    install -m 0755 -p 'pngquant' '/home/arborist/public_html/forum/library/Nobita/ImageOptimizer/temp/bin/pngquant'
    install -m 0644 -p 'pngquant.1' '/home/arborist/public_html/forum/library/Nobita/ImageOptimizer/temp/share/man/man1/'
    
    
    Copy File: cp /home/arborist/public_html/forum/library/Nobita/ImageOptimizer/temp/bin/pngquant /home/arborist/public_html                                     /forum/library/Nobita/ImageOptimizer/pngquant
    Cloning into '/home/arborist/public_html/forum/library/Nobita/ImageOptimizer/temp/jpegoptim'...
    remote: Counting objects: 562, done.
    remote: Compressing objects: 100% (11/11), done.
    remote: Total 562 (delta 4), reused 10 (delta 3), pack-reused 548
    Receiving objects: 100% (562/562), 338.51 KiB | 4.23 MiB/s, done.
    Resolving deltas: 100% (349/349), done.
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for a BSD-compatible install... /bin/install -c
    checking whether make sets $(MAKE)... yes
    checking for jpeg_read_header in -ljpeg... yes
    checking for floor in -lm... yes
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for unistd.h... (cached) yes
    checking getopt.h usability... yes
    checking getopt.h presence... yes
    checking for getopt.h... yes
    checking for string.h... (cached) yes
    checking libgen.h usability... yes
    checking libgen.h presence... yes
    checking for libgen.h... yes
    checking math.h usability... yes
    checking math.h presence... yes
    checking for math.h... yes
    checking jpeglib.h usability... yes
    checking jpeglib.h presence... yes
    checking for jpeglib.h... yes
    checking size of long... 8
    checking size of int... 4
    checking for getopt_long... yes
    checking for mkstemps... yes
    checking for labs... yes
    checking for broken jmorecfg.h (METHODDEF)... no
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating config.h
    gcc  -g -O2  -DHAVE_CONFIG_H   -c -o jpegoptim.o jpegoptim.c
    jpegoptim.c: In function ‘main’:
    jpegoptim.c:831:15: error: expected ‘)’ before ‘tmpfd’
          if ((int tmpfd = mkstemps(tmpfilename,4)) < 0)
                   ^
    jpegoptim.c:831:48: error: expected expression before ‘<’ token
          if ((int tmpfd = mkstemps(tmpfilename,4)) < 0)
                                                    ^
    jpegoptim.c:833:26: error: ‘tmpfd’ undeclared (first use in this function)
          if ((outfile=fdopen(tmpfd,"wb"))==NULL)
                              ^
    jpegoptim.c:833:26: note: each undeclared identifier is reported only once for each function it appears in
    make: *** [jpegoptim.o] Error 1
    for i in jpegoptim ; do [ -x $i ] && strip $i ; done
    make: *** [strip] Error 1
    gcc  -g -O2  -DHAVE_CONFIG_H   -c -o jpegoptim.o jpegoptim.c
    jpegoptim.c: In function ‘main’:
    jpegoptim.c:831:15: error: expected ‘)’ before ‘tmpfd’
          if ((int tmpfd = mkstemps(tmpfilename,4)) < 0)
                   ^
    jpegoptim.c:831:48: error: expected expression before ‘<’ token
          if ((int tmpfd = mkstemps(tmpfilename,4)) < 0)
                                                    ^
    jpegoptim.c:833:26: error: ‘tmpfd’ undeclared (first use in this function)
          if ((outfile=fdopen(tmpfd,"wb"))==NULL)
                              ^
    jpegoptim.c:833:26: note: each undeclared identifier is reported only once for each function it appears in
    make: *** [jpegoptim.o] Error 1
    
    
    Copy File: cp /home/arborist/public_html/forum/library/Nobita/ImageOptimizer/temp/bin/jpegoptim /home/arborist/public_htm                                     l/forum/library/Nobita/ImageOptimizer/jpegoptim
    cp: cannot stat ‘/home/arborist/public_html/forum/library/Nobita/ImageOptimizer/temp/bin/jpegoptim’: No such file or dire                                     ctory
    ** Failed to install jpegoptim **
    
     
  9. truonglv

    truonglv Staff Member Tech Support

    Messages:
    3,442
    Likes Received:
    1,334
    Trophy Points:
    113