AminetAminet
Search:
84478 packages online
About
Recent
Browse
Search
Upload
Setup
Services

gfx/misc/pngcrush-mos.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Png optimizer
Author:Greg Roelofs , Morphos Port by Diego Casorran
Uploader:lanch tiscali it (Fabrizio "Lanch" Bartoloni)
Type:gfx/misc
Version:1.6.19
Architecture:ppc-morphos
Replace:gfx/misc/pngcrush-mos.lha
Date:2009-07-09
Download:http://aminet.net/gfx/misc/pngcrush-mos.lha - View contents
Readme:http://aminet.net/gfx/misc/pngcrush-mos.readme
Downloads:1996

Note from porting author: I've had to retrieve gzio.c from the old 1.6.4 archive
since the new one (1.6.5 onwards) gives compiling issues

  | pngcrush 1.6.19
 |    Copyright (C) 1998-2002,2006-2009 Glenn Randers-Pehrson
 |    Copyright (C) 2005      Greg Roelofs
 | This is a free, open-source program.  Permission is irrevocably
 | granted to everyone to use this version of pngcrush without
 | payment of any fee.
 | Executable name is pngcrush
 | It was built with libpng version 1.2.37, and is
 | running with  libpng version 1.2.37 - June 4, 2009

 |    Copyright (C) 1998-2004,2006-2009 Glenn Randers-Pehrson,
 |    Copyright (C) 1996, 1997 Andreas Dilger,
 |    Copyright (C) 1995, Guy Eric Schalnat, Group 42 Inc.,
 | and zlib version 1.2.3.3, Copyright (C) 1998-2002 (or later),
 |    Jean-loup Gailly and Mark Adler.
 | It was compiled with gcc version 2.95.3 20070319
(release/emm-zapek-cisc-munk).


If you have modified this source, you may insert additional notices
immediately after this sentence.
Copyright (C) 1998-2002,2006-2009 Glenn Randers-Pehrson
Copyright (C) 2005      Greg Roelofs

DISCLAIMER: The pngcrush computer program is supplied "AS IS".
The Author disclaims all warranties, expressed or implied, including,
without limitation, the warranties of merchantability and of fitness
for  any purpose.  The Author assumes no liability for direct, indirect,
incidental, special, exemplary, or consequential damages, which may
result from the use of the computer program, even if advised of the
possibility of such damage.  There is no warranty against interference
with your enjoyment of the computer program or against infringement.
There is no warranty that my efforts or the computer program will
fulfill any of your particular purposes or needs.  This computer
program is provided with all faults, and the entire risk of satisfactory
quality, performance, accuracy, and effort is with the user.

LICENSE: Permission is hereby irrevocably granted to everyone to use,
copy, modify, and distribute this computer program, or portions hereof,
purpose, without payment of any fee, subject to the following
restrictions:

1. The origin of this binary or source code must not be misrepresented.

2. Altered versions must be plainly marked as such and must not be
misrepresented as being the original binary or source.

3. The Copyright notice, disclaimer, and license may not be removed
or altered from any source, binary, or altered source distribution.


usage: pngcrush [options] infile.png outfile.png
       pngcrush -e ext [other options] files.png ...
       pngcrush -d dir [other options] files.png ...
options:
      -already already_crushed_size [e.g., 8192]
    -bit_depth depth (bit_depth to use in output file)
        -brute (use brute-force: try 126 different methods [11-136])
            -c color_type of output file [0, 2, 4, or 6]
            -d directory_name (where output files will go)
 -double_gamma (used for fixing gamma in PhotoShop 5.0/5.02 files)
            -e extension  (used for creating output filename)
            -f user_filter [0-5]
          -fix (fix otherwise fatal conditions such as bad CRCs)
        -force (write a new output file even if larger than input)
            -g gamma (float or fixed*100000, e.g., 0.45455 or 45455)
      -huffman (use only zlib strategy 2, Huffman-only)
         -itxt b[efore_IDAT]|a[fter_IDAT] "keyword"
         -keep chunk_name
            -l zlib_compression_level [0-9]
         -loco ("loco crush" truecolor PNGs)
            -m method [0 through 200]
          -max maximum_IDAT_size [default 8192]
          -mng (write a new MNG, do not crush embedded PNGs)
 -newtimestamp
  -nofilecheck (do not check for infile.png == outfile.png)
 -oldtimestamp
            -n (no save; doesn't do compression or write output PNG)
     -plte_len n (truncate PLTE)
            -q (quiet)
       -reduce (do lossless color-type or bit-depth reduction)
          -rem chunkname (or "alla" or "allb")
-replace_gamma gamma (float or fixed*100000) even if it is present.
          -res dpi
          -rle (use only zlib strategy 3, RLE-only)
         -save (keep all copy-unsafe chunks)
         -srgb [0, 1, 2, or 3]
         -ster [0 or 1]
         -text b[efore_IDAT]|a[fter_IDAT] "keyword" "text"
   -trns_array n trns[0] trns[1] .. trns[n-1]
         -trns index red green blue gray
            -v (display more detailed information)
      -version (display the pngcrush version)
            -w compression_window_size [32, 16, 8, 4, 2, 1, 512]
            -z zlib_strategy [0, 1, 2, or 3]
         -zmem zlib_compression_mem_level [1-9, default 9]
        -zitxt b[efore_IDAT]|a[fter_IDAT] "keyword"
         -ztxt b[efore_IDAT]|a[fter_IDAT] "keyword" "text"
            -h (help and legal notices)
            -p (pause)


Contents of gfx/misc/pngcrush-mos.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                51305  245364  20.9% -lh5- d711 May 28 23:11 pcr1619/ChangeLog.html
[generic]               124670  295980  42.1% -lh5- 0de2 Jul  9 11:29 pcr1619/pngcrush
[generic]                 2252    5048  44.6% -lh5- 525a Jul  9 11:31 pcr1619/pngcrush-mos.readme
[generic]                 1496    5439  27.5% -lh5- b214 Jun 13  2008 pcr1619/src/adler32.c
[generic]                 3794   10244  37.0% -lh5- 9574 Aug 14  2008 pcr1619/src/cexcept.h
[generic]                  969    2520  38.5% -lh5- c4de Jun 13  2008 pcr1619/src/compress.c
[generic]                 4156   13990  29.7% -lh5- ae54 Jun 13  2008 pcr1619/src/crc32.c
[generic]                12356   30568  40.4% -lh5- d454 Jun 13  2008 pcr1619/src/crc32.h
[generic]                16673   65330  25.5% -lh5- c3d1 Apr 29 14:15 pcr1619/src/deflate.c
[generic]                 4452   12114  36.8% -lh5- 3f0f Jun 13  2008 pcr1619/src/deflate.h
[generic]                 8234   31103  26.5% -lh5- 76ff Jul 11  2005 pcr1619/src/gzio.c
[generic]                 5446   22164  24.6% -lh5- 4337 Jun 13  2008 pcr1619/src/infback.c
[generic]                 3424   13387  25.6% -lh5- 2664 Jun 13  2008 pcr1619/src/inffast.c
[generic]                  271     407  66.6% -lh5- 7d5c Jun 13  2008 pcr1619/src/inffast.h
[generic]                 1526    6343  24.1% -lh5- 2a2a Jun 13  2008 pcr1619/src/inffixed.h
[generic]                12411   50007  24.8% -lh5- b6ff Jun 13  2008 pcr1619/src/inflate.c
[generic]                 2017    5996  33.6% -lh5- e0ea Jun 13  2008 pcr1619/src/inflate.h
[generic]                 4429   13758  32.2% -lh5- f00f Jun 13  2008 pcr1619/src/inftrees.c
[generic]                 1040    2373  43.8% -lh5- d267 Jun 13  2008 pcr1619/src/inftrees.h
[generic]                  795    1930  41.2% -lh5- 845a Apr 19 11:56 pcr1619/src/Makefile
[generic]                 7446   26656  27.9% -lh5- 9bb9 Jun  5 21:17 pcr1619/src/png.c
[generic]                37547  153675  24.4% -lh5- a4bf Jun  5 21:17 pcr1619/src/png.h
[generic]                13111   45384  28.9% -lh5- 237b Jun  5 21:18 pcr1619/src/pngconf.h
[generic]                54210  252446  21.5% -lh5- 302b Jun  7 03:49 pcr1619/src/pngcrush.c
[generic]                  912    2596  35.1% -lh5- 1a53 May 29 23:21 pcr1619/src/pngcrush.h
[generic]                 2838   10459  27.1% -lh5- 74c9 Jun  5 21:17 pcr1619/src/pngerror.c
[generic]                 1365    4810  28.4% -lh5- aadb Jun  5 21:17 pcr1619/src/pnggccrd.c
[generic]                 4104   24799  16.5% -lh5- 593b Jun  5 21:17 pcr1619/src/pngget.c
[generic]                 4165   17046  24.4% -lh5- c22e Jun  5 21:17 pcr1619/src/pngmem.c
[generic]                 7834   47392  16.5% -lh5- 4ba6 Jun  5 21:17 pcr1619/src/pngpread.c
[generic]                10258   46795  21.9% -lh5- 5781 Jun  5 21:17 pcr1619/src/pngread.c
[generic]                 2136    5646  37.8% -lh5- a585 Jun  5 21:17 pcr1619/src/pngrio.c
[generic]                22836  147945  15.4% -lh5- 3078 Jun  5 21:17 pcr1619/src/pngrtran.c
[generic]                17019   95165  17.9% -lh5- 8e1d Jun  5 21:17 pcr1619/src/pngrutil.c
[generic]                 8425   39238  21.5% -lh5- 9e89 Jun  5 21:17 pcr1619/src/pngset.c
[generic]                 4530   20981  21.6% -lh5- df9a Jun  5 21:17 pcr1619/src/pngtrans.c
[generic]                   48      48 100.0% -lh0- 6562 Jun  5 21:17 pcr1619/src/pngvcrd.c
[generic]                 2588    8005  32.3% -lh5- a5d7 Jun  5 21:17 pcr1619/src/pngwio.c
[generic]                11292   49987  22.6% -lh5- 3b2b Jun  5 21:17 pcr1619/src/pngwrite.c
[generic]                 2868   17280  16.6% -lh5- 2021 Jun  5 21:17 pcr1619/src/pngwtran.c
[generic]                18222   84797  21.5% -lh5- 8c02 Jun  5 21:17 pcr1619/src/pngwutil.c
[generic]                13048   45112  28.9% -lh5- f3cc Jun 13  2008 pcr1619/src/trees.c
[generic]                 1427    8444  16.9% -lh5- 12d8 Jun 13  2008 pcr1619/src/trees.h
[generic]                  900    2087  43.1% -lh5- 7fd4 Jun 13  2008 pcr1619/src/uncompr.c
[generic]                 3611   12159  29.7% -lh5- 2905 Jun 13  2008 pcr1619/src/zconf.h
[generic]                 3048    9544  31.9% -lh5- 240f Jun 13  2008 pcr1619/src/zconf.in.h
[generic]                20635   68143  30.3% -lh5- 5dee Jun 13  2008 pcr1619/src/zlib.h
[generic]                  234     388  60.3% -lh5- 163e Jun 13  2008 pcr1619/src/zlibdefs.h
[generic]                 2575    7136  36.1% -lh5- 57ad Jun 13  2008 pcr1619/src/zutil.c
[generic]                 2642    7119  37.1% -lh5- 791b Jun 13  2008 pcr1619/src/zutil.h
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        50 files  543590 2095347  25.9%            Jul  9 06:24

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>