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:libimageutils.so

From BoxMatrix


BoxMatrix >> Shell-Commands >> libimageutils.so @ 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

Shared-Library

Goto:   Formats  -  Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

libimageutils.so is the first generation media type detection and Thumbnail generation library.
It is the early FRITZ!OS 5.x. predecessor of libmediautils.so, which was extended for more media types.

Besides detecting the Formats listed below libimageutils can create Thumbnails from JPG, which may also come from
Albumart. First djpeg decompresses the image, then pnmscale resizes it, then cjpeg recompresses it again.
Metadata from JPG files is gathered using rdjpgcom and libexif.so.

Since scaling and (de-)compression are CPU and memory intense an asynchronous job dispatcher queue is implemented.

Formats

libimageutils can detect mp3 and 3 image formats by File-Extensions or MIME-Types and classify them into:

jpeg, mp3, png, tif

File-Extensions

jpe, jpeg, mp3, png, tif, tiff

MIME-Types

image/jpg
image/jpeg
image/png

Source

The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 5.05 source files:

$ strings /lib/libmediautils.so | grep -e '\.c$' -e '\.cpp$'

jpeg_scale.c
jpeg_infos.c
mp3_albumart.c
imageutils_job_queue.c  

Dependencies

Daily updated index of all dependencies of this library. Last update: 2024-04-18 19:27 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 libavmcsock.so 10 5.01 - 5.08 Networking, I/O and helper functions AVM
Depends on lib libavmid3tag.so 10 5.01 - 5.08 ID3 tag Metadata reading library (3rd gen.) AVM
Depends on lib libc.so 10 5.01 - 5.08 Standard C library Linux
Depends on lib libewnwnet.so 10 5.01 - 5.08 Internet helper functions AVM
Depends on lib libexif.so 10 5.01 - 5.08 EXIF Metadata parsing, editing, and saving Linux
Depends on lib libgcc_s.so 9 5.01 - 5.08 GCC low-level runtime library Linux
Depends on lib libpthread.so 10 5.01 - 5.08 POSIX threading library Linux
Required by cmd mediasrv (avmcmd) 10 5.01 - 5.08 UPnP-AV media server daemon. AVM
8 dependencies for this library

Model-Matrix

Daily updated index of the presence, path and size of this library for each model. Last update: 2024-04-18 15:54 GMT.
Showing all models using this library. 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 WLAN 3270 5.05 /lib 24.8k, Link
FRITZ!Box WLAN 3270 v3 5.05 /lib 24.8k, Link
FRITZ!Box WLAN 3370 5.05 - 5.08 /lib 24.8k - 25.9k, Link
FRITZ!Box 6360 Cable 5.05 - 5.07 /lib 18.0k - 18.3k, Link
FRITZ!Box Fon WLAN 7240 5.04 - 5.05 /lib 24.8k, Link
FRITZ!Box Fon WLAN 7270 v2 5.01 - 5.07 /lib 24.7k - 25.1k, Link
FRITZ!Box Fon WLAN 7270 v3 5.01 - 5.07 /lib 24.7k - 25.1k, Link
FRITZ!Box Fon WLAN 7340 5.04 - 5.05 /lib 24.8k, Link
FRITZ!Box Fon WLAN 7360 SL 5.04 /lib 25.9k, Link
FRITZ!Box Fon WLAN 7390 5.01 - 5.07 /lib 24.8k, Link
10 models use this library

Symbols

Daily updated index of all symbols of this library. Last update: 2024-04-18 19:27 GMT.

Firmware Symbol
5.01 - 5.08 extract_albumart
5.01 - 5.08 get_file_extension
5.01 - 5.08 get_image_async
5.01 - 5.08 get_image_async_cancel_all
5.01 - 5.08 get_image_async_failed
5.01 - 5.08 get_jpeg_resolution_of_file
5.01 - 5.08 imageutils_get_albumart_path_async
5.01 - 5.08 imageutils_get_albumart_path_sync
5.01 - 5.08 imageutils_get_scaledimg_path_async
5.01 - 5.08 imageutils_get_scaledimg_path_sync
5.01 - 5.08 imageutils_remove_all_files
5.01 - 5.08 imageutils_remove_file
5.01 - 5.08 is_jpeg_file
5.01 - 5.08 is_mp3_file
5.01 - 5.08 is_png_file
5.01 - 5.08 is_tif_file
5.01 - 5.08 replace_first_char
5.01 - 5.08 replace_last_char
5.01 - 5.08 scale_jpeg
5.01 - 5.08 tmp_file_created
20 symbols for this library

SMW-Browser

Information is currently being retrieved from the backend.