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-04-19 04:13 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-04-19 07:32 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 - 7.90 Dynamic linker / loader Linux
Depends on lib libc.so 60 6.20 - 7.90 Standard C library Linux
Depends on lib libgcc_s.so 10 6.25 - 6.110 GCC low-level runtime library Linux
Depends on lib libm.so 55 6.20 - 7.90 C math library Linux
Depends on lib libnetpbm2.so 60 6.20 - 7.90 Read / write PAM formats NetPbm
Depends on lib libpng15.so 45 6.20 - 7.31 Official PNG reference library LibPNG
Depends on lib libpng16.so 49 7.39 - 7.90 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-04-19 05:14 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) label in the Model column shows which CPU is meant for models with multiple Linux instances.
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 6.83 - 6.89 /bin 39.1k
FRITZ!Box 3490 (main) 6.80 - 7.30 /bin 37.8k - 44.6k
FRITZ!Box 4020 7.39 /bin 33.5k
FRITZ!Box 4040 6.98 - 7.57 /bin 20.9k - 33.5k
FRITZ!Box 4050 7.57 /bin 25.5k
FRITZ!Box 4060 7.26 - 7.57 /bin 25.4k - 33.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 - 7.80 /bin 33.5k - 44.5k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.90 /bin 25.4k - 33.5k
FRITZ!Box 5690 Pro (arm) 7.59 /bin 25.4k
FRITZ!Box 6430 Cable (arm) 6.84 - 7.57 /bin 23.7k - 33.5k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /bin 23.7k - 29.3k
FRITZ!Box 6490 Cable (arm) 6.20 - 7.57 /bin 23.7k - 33.5k
FRITZ!Box 6490 Cable (atom) 6.83 - 7.51 /bin 23.7k - 29.4k
FRITZ!Box 6590 Cable (arm) 6.83 - 7.57 /bin 23.7k - 33.5k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.51 /bin 23.7k - 29.4k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.57 /bin 24.0k - 33.5k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.57 /bin 24.0k - 33.5k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.57 /bin 25.6k - 33.5k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.57 /bin 25.6k - 33.5k
FRITZ!Box 6670 Cable (arm) 7.57 - 7.62 /bin 33.5k
FRITZ!Box 6670 Cable (atom) 7.61 - 7.62 /bin 33.5k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.57 /bin 29.3k - 33.5k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.57 /bin 29.3k - 33.5k
FRITZ!Box 6820 LTE v1 7.39 /bin 33.5k
FRITZ!Box 6820 LTE v2 7.39 /bin 33.5k
FRITZ!Box 6840 LTE 6.36 - 7.39 /bin 33.5k - 37.8k
FRITZ!Box 6850 LTE 7.21 - 7.58 /bin 25.4k - 44.5k
FRITZ!Box 6850 5G 7.24 - 7.51 /bin 25.4k - 33.5k
FRITZ!Box 6890 LTE 6.84 - 7.51 /bin 33.5k - 44.6k
FRITZ!Box 6890 LTE v1 6.84 - 7.51 /bin 33.5k - 44.6k
FRITZ!Box 6890 LTE v2 6.84 - 7.51 /bin 33.5k - 44.6k
FRITZ!Box 7272 6.36 - 7.39 /bin 33.5k - 39.1k
FRITZ!Box Fon WLAN 7360 v2 6.36 - 6.88 /bin 37.8k
FRITZ!Box 7362 SL 6.36 - 7.14 /bin 37.8k - 44.6k
FRITZ!Box 7412 6.50 - 6.88 /bin 37.8k
FRITZ!Box 7430 6.26 - 7.39 /bin 33.5k - 44.6k
FRITZ!Box 7490 (main) 6.25 - 7.57 /bin 33.5k - 44.7k
FRITZ!Box 7510 7.30 - 7.57 /bin 25.4k - 25.5k
FRITZ!Box 7520 6.98 - 7.51 /bin 20.9k - 33.5k
FRITZ!Box 7520 v2 (arm) 7.30 - 7.57 /bin 25.4k - 33.5k
FRITZ!Box 7530 6.98 - 7.56 /bin 20.9k - 33.5k
FRITZ!Box 7530 AX 7.20 - 7.90 /bin 29.5k - 33.5k
FRITZ!Box 7560 6.51 - 7.39 /bin 33.5k - 44.6k
FRITZ!Box 7580 6.53 - 7.30 /bin 40.6k - 44.6k
FRITZ!Box 7581 6.54 - 7.16 /bin 24.9k - 29.5k
FRITZ!Box 7582 6.83 - 7.17 /bin 24.9k - 29.5k
FRITZ!Box 7583 7.01 - 7.57 /bin 40.6k - 44.6k
FRITZ!Box 7583 VDSL 7.19 - 7.31 /bin 44.5k
FRITZ!Box 7590 6.83 - 7.90 /bin 33.5k - 44.6k
FRITZ!Box 7590 AX 7.19 - 7.90 /bin 33.5k - 44.5k
FRITZ!Box 7690 7.59 /bin 25.4k
FRITZ!Repeater 600 7.39 /bin 33.5k
FRITZ!Repeater 1200 7.39 /bin 33.5k
FRITZ!WLAN Repeater 1750E 7.39 /bin 33.5k
FRITZ!Repeater 2400 7.39 /bin 33.5k
FRITZ!Repeater 3000 7.39 /bin 33.5k
FRITZ!Repeater 3000 AX 7.39 /bin 33.5k
FRITZ!Powerline 1260E 7.39 /bin 33.5k
60 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-19 07:32 GMT.

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

SMW-Browser

Information is currently being retrieved from the backend.