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

gfx/misc/pngcrush-morphos.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:PNG optimizer
Author:Glenn Randers-Pehrson
Uploader:Tom01 <tom01 gmx-topmail de>
Type:gfx/misc
Version:1.8.13
Architecture:ppc-morphos
Date:2025-12-01
Distribution:Aminet
Download:gfx/misc/pngcrush-morphos.lha - View contents
Readme:gfx/misc/pngcrush-morphos.readme
Downloads:1949

Pngcrush is an optimizer for PNG (Portable Network Graphics) files.
It can be run from a commandline-interface.

Its main purpose is to reduce the size of the PNG IDAT datastream by
trying various compression levels an PNG filter methods. It also can
be used to remove unwanted ancillary chunks, or to add certain chunks
including gAMA, tRNS, iCCP, and textual chunks.

Installation
------------
Copy the executable to C:


Usage
-----
  pngcrush --help
  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)
  -iccp length "Profile Name" iccp_file
  -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)
  -nofilecheck (do not check for infile.png == outfile.png)
  -n (no save; does not 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 gAMA 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"
  -time_stamp
  -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-morphos.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
drwx------ 65534/65534       0       0 ****** -lhd- 0000 Nov 29 12:30 pngcrush-morphos/
-rwx------ 65534/65534  385672  701712  55.0% -lh6- 5148 Nov 28 23:53 pngcrush-morphos/pngcrush
-rwx------ 65534/65534    1356    2750  49.3% -lh6- f731 Nov 29 12:29 pngcrush-morphos/pngcrush-morphos.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files  387028  704462  54.9%            Dec  1 02:59
Page generated in 0.03 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>