Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Multimedia > Graphics

    Babl 0.1.10

    Download button

    No screenshots available
    Downloads: 5,065  Tell us about an update
    User Rating:
    Rated by:
    Good (3.5/5)
    16 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Babl Team | More programs
    LGPL / FREE
    May 3rd, 2012, 06:23 GMT [view history]
    ROOT / Multimedia / Graphics

     Read user reviews (1)  Refer to a friend  Subscribe

    Babl description

    A dynamic, any to any, pixel format conversion library.

    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.

    Usage:

    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);


    Product's homepage

    Here are some key features of "Babl":

    · Fast.
    · Accurate.
    · Stable, small API.
    · Self profiling and optimizing.
    · ANSI C, works on win32, linux and mac, 32bit and 64bit systems.
    · Extendable with new formats, color models, components and datatypes.
    · Reference 64bit floating point conversions for datatypes and color models.

    What's New in This Release: [ read full changelog ]

    · Speed improvements due to: coalesced hashing, early bail out upon creation of duplicate formats, caching of non existing paths.
    · Large amounts of the core has also been reviewed and refactored. Improved conversion coverage in the matrix.

      


    TAGS:

    pixel conversion | image conversion | GEGL library | pixel | image | graphics

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM