Apocrypha

imlib2

Version 2 of an advanced replacement library for libraries like libXpm

Imlib 2 is the successor to Imlib. It is not just a newer version - it is a completely new library. Imlib2 can be installed alongside Imlib 1.x without any problems since they are effectively different libraries - but they Have very similar functionality. Imlib2 can do the following: * Load image files from disk in one of many formats, * Save images to disk in one of many formats, * Render image data onto other images, * Render images to an X-Windows drawable, * Produce pixmaps and pixmap masks of Images, * Apply filters to images, * Rotate images, * Accept RGBA Data for images, * Scale images, * Alpha blend Images on other images or drawables, * Apply color correction and modification tables and factors to images, * Render images onto images with color correction and modification tables, * Render truetype anti-aliased text, * Render truetype anti-aliased text at any angle, * Render anti-aliased lines, * Render rectangles, * Render linear multi-colored gradients, * Cache data intelligently for maximum performance, * Allocate colors automatically, * Allow full control over caching and color allocation, * Provide highly optimized MMX assembly for core routines, * Provide plug-in filter interface, * Provide on-the-fly runtime plug-in image loading and saving interface, * Fastest image compositing, rendering and manipulation library for X. If what you want isn't in the list above somewhere then likely Imlib 2 does not do it. If it does it it likely does it faster than any other library you can find (this includes gdk-pixbuf, gdkrgb, etc.) primarily because of highly optimized code and a smart subsystem that does the dirty work for you and picks up the pieces for you so you can be lazy and let all the optimizations for you. Imlib 2 can run without a display, so it can be easily used for background image processing for web sites or servers - it only requires the X libraries to be installed - that is all - it does not require an XServer to run unless you wish to display images.

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 1.12.6 4 13 h details ›

Versions & arches

VersionOverlay amd64arm64x86ppc64riscvalphaarmhppaloongm68kmipsppcs390sparcx64-macosx64-solaris Committed
1.12.6 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing alpha testing arm stable hppa testing loong testing m68k testing mips testing ppc stable s390 testing sparc testing x64-macos testing x64-solaris testing view · download · history ↗
1.12.5 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing alpha testing arm stable hppa testing loong testing m68k testing mips testing ppc stable s390 testing sparc testing x64-macos testing x64-solaris testing view · download · history ↗
1.12.3-r1 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing alpha testing arm stable hppa testing loong testing m68k testing mips testing ppc stable s390 testing sparc testing x64-macos testing x64-solaris testing view · download · history ↗
1.11.0 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing alpha testing arm stable hppa testing loong testing m68k testing mips testing ppc stable s390 testing sparc testing x64-macos testing x64-solaris testing view · download · history ↗

Use flags of 1.12.6

  • +X Use the X window system
  • apidoc Provide doxygen generated API docs
  • avif Avif image loader support via media-libs/libavif
  • bzip2 Bzip2 loader support
  • debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
  • eps Eps image loader support
  • +filters Build filter functions (blur, sharpen, etc)
  • +gif Add GIF image support
  • +jpeg Add JPEG image support
  • jpeg2k Support for JPEG 2000, a wavelet-based image compression format
  • jpegxl Add JPEG XL image support
  • heif Heif and Avif image loader support
  • lzma Support for LZMA compression algorithm
  • mp3 ID3 loader support
  • packing Enable structure packing. This will reduce memory footprint at the cost of unaligned memory access
  • +png Add support for libpng (PNG images)
  • raw Add support for raw image formats
  • +shm Use MIT shared memory support for X image transfer
  • static-libs Build static versions of dynamic libraries as well
  • svg Add support for SVG (Scalable Vector Graphics)
  • +text Build text (TrueType font) functions
  • +tools Build and install the demo tools
  • +tiff Add support for the TIFF image format
  • +webp Add support for the WebP image format
  • y4m Y4M image loader support
  • +zlib Zlib loader support
10 expansion flags (python targets, ABIs, cpu flags…)
  • cpu_flags_x86_mmx
  • cpu_flags_x86_sse2
  • abi_x86_32
  • abi_x86_64
  • abi_x86_x32
  • abi_mips_n32
  • abi_mips_n64
  • abi_mips_o32
  • abi_s390_32
  • abi_s390_64

Runtime dependencies of 1.12.6

show 65 lines
X? (
)
shm? (
)
avif? (
)
bzip2? (
)
eps? (
)
gif? (
)
heif? (
)
jpeg2k? (
)
jpeg? (
)
jpegxl? (
)
lzma? (
)
text? (
)
mp3? (
)
png? (
)
raw? (
)
svg? (
)
tools? (
)
tiff? (
)
webp? (
)
y4m? (
)
zlib? (
)