A dynamic, any to any, pixel format conversion library.. #Pixel conversion #Image conversion #GEGL library #Pixel #Image #Graphics
babl is a dynamic, any to any, pixel format translation library.
Babl allows converting between different methods of storing pixels known as pixel formats that have with different bitdepths and other data representations, color models and component permutations.
A vocabulary to formulate new pixel formats from existing primitives is provided as well as the framework to add new color models and data types.
The simplest scenario for using babl is converting between linear buffers represented by an existing BablPixelFormat.
babl_process (babl_fish (babl_format ("srgb"), babl_format ("CIE Lab float")), srgb_buffer, lab_buffer, pixel_count);
If the existing pixel formats are not sufficient for your conversion needs, new ones can be created on the fly. The constructor will provide the prior created one if duplicates are registered.
format = babl_format_new (babl_model ("R'G'B'"), babl_type ("u8"), babl_component ("B'"), babl_component ("G'"), babl_component ("R'"), NULL);
babl_process (babl_fish (source_format, destination_format), source_buffer, destination_buffer, pixel_count);
Babl 0.1.10
add to watchlist add to download basket send us an update REPORT- runs on:
- Linux
- main category:
- Multimedia
- developer:
- visit homepage
Zoom Client 6.0.3.37634
Windows Sandbox Launcher 1.0.0
Context Menu Manager 3.3.3.1
Bitdefender Antivirus Free 27.0.35.146
4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655
ShareX 16.0.1
7-Zip 23.01 / 24.04 Beta
IrfanView 4.67
calibre 7.9.0
Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work
- IrfanView
- calibre
- Microsoft Teams
- Zoom Client
- Windows Sandbox Launcher
- Context Menu Manager
- Bitdefender Antivirus Free
- 4k Video Downloader
- ShareX
- 7-Zip