Install this package:
emerge -a media-libs/imlib2
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask media-libs/imlib2
Or alternatively:
emerge --autounmask-write -a media-libs/imlib2
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.12.6 | 8 | ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris | 0 |
| 1.12.5 | 8 | ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris | 0 |
| 1.12.3-r1 | 8 | ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris | 0 |
| 1.11.0 | 8 | ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris | 0 |
<pkgmetadata> <maintainer type="person" proxied="yes"> <email>nrk@disroot.org</email> <name>NRK</name> </maintainer> <maintainer type="person"> <email>dlan@gentoo.org</email> <name>Yixun Lan</name> </maintainer> <maintainer type="project" proxied="proxy"> <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> <longdescription> 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. </longdescription> <use> <flag name="X">Use the X window system</flag> <flag name="apidoc">Provide doxygen generated API docs</flag> <flag name="avif">Avif image loader support via <pkg>media-libs/libavif</pkg></flag> <flag name="bzip2">Bzip2 loader support</flag> <flag name="filters">Build filter functions (blur, sharpen, etc)</flag> <flag name="heif">Heif and Avif image loader support</flag> <flag name="eps">Eps image loader support</flag> <flag name="mp3">ID3 loader support</flag> <flag name="packing">Enable structure packing. This will reduce memory footprint at the cost of unaligned memory access</flag> <flag name="shm">Use MIT shared memory support for X image transfer</flag> <flag name="tools">Build and install the demo tools</flag> <flag name="text">Build text (TrueType font) functions</flag> <flag name="y4m">Y4M image loader support</flag> <flag name="zlib">Zlib loader support</flag> </use> <upstream> <bugs-to>https://git.enlightenment.org/old/legacy-imlib2/issues</bugs-to> <remote-id type="sourceforge">enlightenment</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p media-libs/imlib2 |
euse -E <flag> -p media-libs/imlib2 |
euse -D <flag> -p media-libs/imlib2
| Flag | Description | 1.12.6 | 1.12.5 | 1.12.3-r1 | 1.11.0 |
|---|---|---|---|---|---|
| X | Use the X window system | ⊕ | ⊕ | ⊕ | ⊕ |
| apidoc | Provide doxygen generated API docs | ✓ | ✓ | ✓ | ✓ |
| avif | Avif image loader support via <pkg>media-libs/libavif</pkg> | ✓ | ✓ | ✗ | ✗ |
| bzip2 | Bzip2 loader support | ✓ | ✓ | ✓ | ✓ |
| cpu_flags_x86_mmx | Use the MMX instruction set | ✓ | ✓ | ✓ | ✓ |
| cpu_flags_x86_sse2 | Use the SSE2 instruction set | ✓ | ✓ | ✓ | ✓ |
| 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 | ⊕ | ⊕ | ⊕ | ⊕ |
| heif | Heif and Avif image loader support | ✓ | ✓ | ✓ | ✓ |
| jpeg | Add JPEG image support | ⊕ | ⊕ | ⊕ | ⊕ |
| jpeg2k | Support for JPEG 2000, a wavelet-based image compression format | ✓ | ✓ | ✓ | ✓ |
| jpegxl | Add JPEG XL image 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 | ⊕ | ⊕ | ⊕ | ⊕ |
| tiff | Add support for the TIFF image format | ⊕ | ⊕ | ⊕ | ⊕ |
| tools | Build and install the demo tools | ⊕ | ⊕ | ✗ | ✗ |
| webp | Add support for the WebP image format | ⊕ | ⊕ | ⊕ | ⊕ |
| y4m | Y4M image loader support | ✓ | ✓ | ✗ | ✗ |
| zlib | Zlib loader support | ⊕ | ⊕ | ✓ | ✓ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | imlib2-1.11.0.tar.xz | 820368 bytes | 1.11.0 |
| DIST | imlib2-1.12.5.tar.xz | 839464 bytes | 1.12.5 |
| DIST | imlib2-1.12.6.tar.xz | 844488 bytes | 1.12.6 |
| Type | File | Size |
|---|---|---|
| DIST | imlib2-1.12.3.tar.xz | 833128 bytes |