If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:pngtopam

From BoxMatrix


BoxMatrix >> Shell-Commands >> pngtopam @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Linux-Command

Goto:   Examples  -  GPL-Browser  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

pngtopam converts a PNG image to PAM image format and prints it to stdout.

See the pngtopam(1) man page.

pngtopam is used by:

Fw 7.39 help:

root@fritz:/var/mod/root# pngtopam -help

pngtopam: Use 'man pngtopam' for help.

This man page is linked above. You have to use a wrong option to get short help:

root@fritz:/var/mod/root# pngtopam -nohelp

unrecognized option '-nohelp'.
Recognized options are: 

  -verbose -alpha -alphapam -mix -background -gamma -text -time -byrow -info_only -maxval_8bit

Manually collected:

Options:

   <infile>            # PNG file to convert
   -verbose            # print details during conversion
   -alpha              # output the transparency channel
   -alphapam           # output foreground + transparency
   -mix                # apply transparency channel to background  
   -background <color> # specifies the background color
   -gamma              # use the stored gamma info
   -text <outfile>     # extract text chunks
   -time               # output the stored time to stderr
   -byrow              # run faster
   -info_only          # print infos about the PNG
   -maxval_8bit        # todo

Examples

PNG info - fw 7.39:

root@fritz:/var/mod/root# pngtopam -info_only /usr/www/avm/help/img/disk.png

reading a 26 x 27 image, 8 bits
palette, not interlaced, base filter
tRNS chunk (transparency): 28 entries
gAMA chunk (image gamma): gamma = 0.45
sBIT chunk: not present
cHRM chunk: not present
PLTE chunk: 256 entries
bKGD chunk: not present
hIST chunk: not present
pHYs chunk: present
oFFs chunk: not present
tIME chunk: present
pCAL chunk: not present
sRGB chunk: not present

PNG conversion - fw 7.39:

root@fritz:/var/mod/root# pngtopam /usr/www/avm/help/img/disk.png > test.pam

PNG conversion, verbose - fw 7.39:

root@fritz:/var/mod/root# pngtopam -verbose /usr/www/avm/help/img/disk.png > test.pam

pngtopam: reading a 26 x 27 image, 8 bits
pngtopam: palette, not interlaced, base filter
pngtopam: tRNS chunk (transparency): 28 entries
pngtopam: gAMA chunk (image gamma): gamma = 0.45
pngtopam: sBIT chunk: not present
pngtopam: cHRM chunk: not present
pngtopam: PLTE chunk: 256 entries
pngtopam: bKGD chunk: not present
pngtopam: hIST chunk: not present
pngtopam: pHYs chunk: present
pngtopam: oFFs chunk: not present
pngtopam: tIME chunk: present
pngtopam: pCAL chunk: not present
pngtopam: sRGB chunk: not present
pngtopam: Writing a PPM file with maxval 255

GPL-Browser

Daily updated index of all pngtopam code findings on the GPL-Browser. Last update: 2024-11-15 05:10 GMT.
The Browse column points to the Path containing the respective source code on the gpl.boxmatrix.info service.
The SoC column lists the Chip-Codenames, the Model column lists the nicks of the Box-Models.
The Diff column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-11-15 07:53 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Depends on lib ld.so 22 7.08 - 8.00 Dynamic linker / loader Linux
Depends on lib libc.so 44 6.20 - 8.00 Standard C library Linux
Depends on lib libgcc_s.so 7 6.25 - 6.110 GCC low-level runtime library Linux
Depends on lib libm.so 32 6.20 - 8.00 C math library Linux
Depends on lib libnetpbm2.so 44 6.20 - 8.00 Read / write PAM formats NetPbm
Depends on lib libpng15.so 40 6.20 - 7.31 Official PNG reference library LibPNG
Depends on lib libpng16.so 28 7.39 - 8.00 Official PNG reference library LibPNG
7 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-11-15 05:54 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 3272 (main) 6.83 - 6.89 /bin 39.1k
FRITZ!Box 3490 (main) 6.80 - 7.30 /bin 37.8k - 44.6k
FRITZ!Box 4040 6.98 - 8.00 /bin 20.9k - 25.5k
FRITZ!Box 4050 7.58 - 7.90 /bin 25.5k
FRITZ!Box 4060 7.29 - 7.90 /bin 25.4k - 25.5k
FRITZ!Box 5490 (main) 6.51 - 7.29 /bin 37.8k - 44.6k
FRITZ!Box 5491 (main) 7.01 - 7.29 /bin 40.6k - 44.6k
FRITZ!Box 5530 Fiber (main) 7.21 - 8.00 /bin 44.4k - 44.6k
FRITZ!Box 5590 Fiber (main) 7.29 - 8.00 /bin 25.4k - 25.5k
FRITZ!Box 5690 Pro (main) 7.62 - 7.90 /bin 25.4k - 25.5k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /bin 23.7k - 29.3k
FRITZ!Box 6490 Cable (arm) 6.20 - 6.64 /bin 26.0k
FRITZ!Box 6490 Cable (atom) 6.83 - 7.51 /bin 23.7k - 29.4k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.51 /bin 23.7k - 29.4k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.08 /bin 24.0k - 29.4k
FRITZ!Box 6591 Cable (atom) 7.04 - 8.00 /bin 24.0k - 33.5k
FRITZ!Box 6660 Cable (atom) 7.14 - 8.00 /bin 25.6k - 33.5k
FRITZ!Box 6670 Cable (atom) 7.61 - 7.90 /bin 33.5k - 33.6k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.90 /bin 29.3k - 33.5k
FRITZ!Box 6840 LTE (main) 6.36 - 6.88 /bin 37.8k
FRITZ!Box 6850 LTE 7.21 - 7.90 /bin 25.4k - 44.5k
FRITZ!Box 6850 5G 7.24 - 7.90 /bin 25.4k - 25.5k
FRITZ!Box 6890 LTE (main) 6.84 - 7.57 /bin 40.6k - 44.6k
FRITZ!Box 6890 LTE v1 (main) 6.84 - 7.57 /bin 40.6k - 44.6k
FRITZ!Box 6890 LTE v2 (main) 6.84 - 7.57 /bin 40.6k - 44.6k
FRITZ!Box 7272 (main) 6.36 - 6.88 /bin 39.1k
FRITZ!Box Fon WLAN 7360 v2 6.36 - 6.88 /bin 37.8k
FRITZ!Box 7362 SL (main) 6.36 - 7.18 /bin 37.8k - 44.6k
FRITZ!Box 7412 (main) 6.50 - 6.88 /bin 37.8k
FRITZ!Box 7430 (main) 6.26 - 7.31 /bin 37.8k - 44.6k
FRITZ!Box 7490 (main) 6.25 - 7.51 /bin 37.8k - 44.7k
FRITZ!Box 7510 7.30 - 8.00 /bin 25.4k - 25.5k
FRITZ!Box 7520 6.98 - 8.00 /bin 20.9k - 25.5k
FRITZ!Box 7520 v2 (main) 7.30 - 8.00 /bin 25.4k - 25.5k
FRITZ!Box 7530 6.98 - 8.00 /bin 20.9k - 25.5k
FRITZ!Box 7530 AX 7.20 - 8.00 /bin 29.5k - 29.6k
FRITZ!Box 7560 (main) 6.51 - 7.30 /bin 40.6k - 44.6k
FRITZ!Box 7580 (main) 6.53 - 7.30 /bin 40.6k - 44.6k
FRITZ!Box 7581 6.54 - 7.18 /bin 24.9k - 29.5k
FRITZ!Box 7582 6.83 - 7.18 /bin 24.9k - 29.5k
FRITZ!Box 7583 (main) 7.01 - 7.59 /bin 40.6k - 44.6k
FRITZ!Box 7583 VDSL (main) 7.19 - 8.00 /bin 44.5k - 44.6k
FRITZ!Box 7590 (main) 6.83 - 8.00 /bin 40.6k - 44.6k
FRITZ!Box 7590 AX (main) 7.19 - 8.00 /bin 44.5k - 44.6k
FRITZ!Box 7690 7.61 - 7.90 /bin 25.4k - 25.5k
45 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-11-15 07:53 GMT.

Firmware Symbol
6.25 - 8.00 main
6.25 - 8.00 pngx_bitDepth
6.25 - 8.00 pngx_bkgd
6.25 - 8.00 pngx_chunkIsPresent
6.25 - 8.00 pngx_colorType
6.25 - 8.00 pngx_create
6.25 - 8.00 pngx_destroy
6.25 - 8.00 pngx_filterType
6.25 - 8.00 pngx_gama
6.25 - 8.00 pngx_imageHeight
6.25 - 8.00 pngx_imageWidth
6.25 - 8.00 pngx_interlaceType
6.25 - 8.00 pngx_plte
6.25 - 8.00 pngx_readEnd
6.25 - 8.00 pngx_readImage
7.08 - 8.00 pngx_readInfo
6.25 - 8.00 pngx_readRow
6.25 - 8.00 pngx_readStart
6.25 - 8.00 pngx_removeChunk
6.25 - 8.00 pngx_sbit
6.25 - 8.00 pngx_setGamma
7.08 - 8.00 pngx_setPacking
6.25 - 8.00 pngx_setShift
7.08 - 8.00 pngx_setSigBytes
6.25 - 8.00 pngx_text
6.25 - 8.00 pngx_time
6.25 - 8.00 pngx_trns
6.25 - 8.00 pngx_xPixelsPerMeter
6.25 - 8.00 pngx_yPixelsPerMeter
29 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.