./graphics/imlib2, Image manipulation library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.12.2nb1, Package name: imlib2-1.12.2nb1, Maintainer: pkgsrc-users

Imlib 2 is the successor to Imlib. It is NOT a newer version - it is a
completely new library. Imlib 2 can be installed alongside Imlib 1.x
without any problems since they are effectively different libraries - BUT
they have very similar functionality.

Imlib 2 does the following:

* Load/Save image files from disk in one of many formats
* Render image data onto other images or an X-Windows drawable
* Produce pixmaps and pixmap masks of Images
* Apply filters and transformations to images
* Accept RGBA Data for images and apply colour correction/modifications
* Alpha blend Images on other images or drawables
* Render truetype anti-aliased text straight and at angles
* Render rectangles, anti-aliased lines, and multi-coloured gradients
* Cache data intelligently for maximum performance
* Allocate colours 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


Required to run:
[graphics/tiff] [graphics/freetype2] [graphics/png] [graphics/jpeg] [graphics/giflib]

Required to build:
[pkgtools/x11-links] [pkgtools/cwrappers]

Package options: heif, imlib2-amd64, libwebp, x11

Master sites:

Filesize: 812.316 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-27 05:05:38 by Amitai Schleier | Files touched by this commit (8) | Package updated
Log message:
imlib2: update to 1.12.2. Changes:

v1.12.2 - 2024-02-03
--------------------
Chema Gonzalez (3):
      Y4M loader: fix support for unexpected framerates
      Y4M loader: fix C option analysis
      Y4M loader: add error messages on parsing errors

Kim Woelders (15):
      test_save: Update crcs for jxl saver (libjxl 0.8.0)
      x11_grab: Remove some obsolete code
      Y4M loader: Guard some debug code properly
      Consistently use #if IMLIB2_DEBUG (not #ifdef)
      test_load_2: Check some more y4m files
      Y4M loader: Avoid use of sscanf() in frame rate parsing
      ANI loader: Avoid debug line when image does not have proper signature
      PNG loader: Properly suppress messages from libpng
      Y4M loader: Fix warning in non-debug build
      Change formatting style
      PNG saver: Avoid potential issues around setjmp/longjmp
      JPG saver: Fix error path
      TIFF loader: Properly suppress messages from libtiff
      savers: Fix error returns

NRK (2):
      PNG saver: avoid double-free on write errors
      Y4M loader: don't fail on newline

v1.12.1 - 2023-09-21
--------------------
Kim Woelders (12):
      Fix some clang complaints
      scaling: MMX asm scaling causes segv, disable for now
      loading: Call module exit function also when not dlclosing module on unload
      loaders: Fix build with -m32 --enable-debug
      test_load_2: Add forgotten xeyes.png
      test_save: Fix for jxl loader on ix86
      test_scale: MMX scaling is disabled
      RAW loader: Don't unload loader
      loaders: Fix CPPFLAGS order
      imlib2_grab, imlib2_view: Unset context colormap
      x11_grab: Use correct depth when grabbing

v1.12.0 - 2023-08-17
--------------------
Chema Gonzalez (3):
      test_load2: make error messages more descriptive
      Y4M loader: fix support for 420 colorspaces
      Y4M loader: add support for images with unexpected aspects

Kim Woelders (46):
      imlib2_view: Avoid potential use of uninitialized data
      GIF loader: Enable showing animated images even if truncated
      Introduce __imlib_perror() to produce error messages
      loaders: Use common function to print error messages
      imlib2_load: Move time_us() to separate file
      imlib2_conv: Add option to time save operations
      test: Fix pr_info() when not printing to stdout
      loading: Enable calling function on loader load/unload
      HEIF loader: Call heif_[de]init() on loader load/unload
      autofoo: Don't check for freetype if we are building without text
      QOI loader: Add progress calback, indent, cosmetics
      Loaders: Static constify some data that may as well be
      TGA loader: Fix TGA v2.0 signature check
      test: Add basic qoi checks
      test_scale: Test scaling some more
      scaling: Unifdef OLD_SCALE_DOWN
      scaling: Correct scaleinfo array length
      scaling: Move scaling function call sequence into common __imlib_Scale()
      scaling: Cosmetics (comments)
      scaling: Simplify scaling points calculation (eliminate j)
      scaling: Change ypoints[] from pointers to indices
      scaling: Cosmetics
      scaling: Minor refactoring
      scaling: Correct scaling up
      test_scale: Update for new scaling
      image: Fix missing munmap() when using imlib_load_image_fd()
      image: Fix potentially using incorrect file size
      file: Remove a couple of unused functions
      image: Fix potentially using incorrect file size - fixup
      test: Bypass wrappers when running tests
      test_load: Minor fix in debug message
      Add new raw loader
      TIFF loader: Slightly more strict signature check
      image: Use sub-second time info when available
      image: Fix preservation of alpha chanel flag in imlib_clone_image()
      image cache: Avoid negative refcounts
      image cache: Drop redundant cleanup
      image cache: Rework cleanup
      Revert "scaling: Correct scaling up"
      Revert "test_scale: Update for new scaling"
      scaling: Various trivial changes
      scaling: Improve non-AA scale-up case
      scaling: Correct scaling up - take 2
      test_scale: Update for new scaling (re-applied)
      test_scale: Exercise non-AA path too

NRK (11):
      WEBP saver: allow lossless and respect compression tag
      add a new QOI decoder
      QOI loader: fix build on non-gnu compilers
      QOI loader: use memcmp for magic and endmarker check
      Y4M loader: check file size before magic check
      loading: add some debug logs
      loading: check for alloc failure
      Y4M loader: use custom y4m parser
      test_load: allow y4m memory loading
      file: Remove unused functions some more
      introduce imlib_image_decache_file()

v1.11.1 - 2023-05-01
--------------------
Chema Gonzalez (2):
      imlib2: added loader for y4m files (uses liby4m and libyuv)
      imlib2: add y4m test examples

Kim Woelders (14):
      autofoo: More CLEANFILES
      HEIF loader: Add some debug
      Y4M loader: Various minor changes
      test_load: Add some missing ifdefs
      test_load: Add some y4m checks
      test: Print some progress info in a couple of tests
      modules: Drop some disabled code
      autofoo: Tweak PACKAGE_DATA_DIR definition
      XPM loader: Add rgb.txt
      loaders: Fix loaders potentially being loaded more than once
      loaders: Change method used to not unload loaders
      Add JXL saver
      loaders: Cosmetics

v1.11.0 - 2023-03-09
--------------------
Guilherme Janczak (1):
      remove bad unused function

Kim Woelders (54):
      test: Add a few tests for obscure pnm formats
      test: Add some pam tests
      Avoid some more undefined behaviors with shifts
      api: Fix code duplication around some __imlib_BlendImageToImage() calls
      api: Change some parameter names
      api: Tweak/correct error handling in drawable grabbing functions
      image: Let __imlib_CreateImage() allocate pixel data buffer
      Drop some redundant calls to __imlib_LoadImageData()
      api: Remember error on deferred image data loads
      imlib2_load: Show error on deferred data load problem
      imlib2_view: Be more verbose about load errors
      PNM loader: Speedups
      test: Introduce image_get_crc32()
      test: test_save: Trivial changes
      test: test_save: Check that files are written and ok
      PNM saver: Write images with alpha as P7 PAM RGB_ALPHA type
      x11_rgba: Add missing const
      x11_grab: Avoid cast-align warnings with -Wcast-align=strict
      x11_rgba: Avoid cast-align warnings with -Wcast-align=strict
      Loaders: Debug macro cleanups
      ANI loader: Use struct to access chunk data
      Loaders: Avoid cast-align warnings with -Wcast-align=strict
      autofoo: Add __PACKED__ for optional struct packing
      ANI, PNG, TGA loaders: Enable handling of unaligned data
      __imlib_FileDir(): Fix missing closedir() on OOM
      Loaders: decompress_load() is not part of the loader API
      Loaders: Debug tweaks
      Savers: Centralize file open/close
      JPG saver: Avoid potential clobber warning
      PNG saver: Avoid potential clobber warning
      Loaders, savers: Handle EINTR during fopen()
      api: Remove pointless statement
      api: Update documentation for imlib_get_error()
      api: Cosmetics around image save functions
      api: Minor simplification in error handling in save functions
      Add imlib_save_image_fd()
      api: Oops - debug--
      test_grab: Rearrange code
      x11_grab: Let __imlib_Grab..() return error instead of ok
      x11_grab: Eliminate unnecessary pixmap copy
      imlib_create_scaled_image_from_drawable(): Simplify call path
      x11_grab: Drop now unused 1:1 scaling path in \ 
__imlib_GrabDrawableScaledToRGBA()
      imlib2_view: Add option to set background checkerboard field size
      test_grab: Update
      test_grab: Add some tests for imlib_copy_drawable_to_image()
      test_grab: Check get-mask-from-shape too
      x11: Pass X11 context around by struct
      x11_grab: Move window/pixmap checking to separate function
      x11_grab: Rework clipping
      x11_grab: Clear image pixels not actually grabbed
      x11_grab: Various fixes in __imlib_GrabDrawableScaledToRGBA()
      x11_grab: Eliminate some overhead in scaled grabbing
      test_grab: Debug tweak

NRK (1):
      PNM loader: avoid some undefined behavior

q3cpma (1):
      PNM loader: add read support for PAM

v1.10.0 - 2022-12-17
--------------------
Kim Woelders (63):
      Introduce imlib_load_image_fde()
      imlib2_load: Tweak load mode handling
      Introduce Imlib2_Loader.h - all that is needed by loaders
      image: Change has alpha flag to separate byte
      loading: Don't look for cached image when not caching
      loading: New loader infrastructure
      loading: Introduce __imlib_ImageFileContextPush/Pop()
      loading: Centralize mmap handling
      Introduce imlib_load_image_mem()
      imlib2_load: Add option to use imlib_load_image_mem()
      api: Remove cast previously dropped everywhere else
      Hide imlib_get/set_color_usage() if no X11
      api: Move X11 related functions to separate file
      api: Move filter functions to separate file
      Enable disabling filter functions
      api: Move text functions to separate file
      Enable disabling text functions
      J2K loader: Drop showing deprecated item in debug message
      image: Fix memory leak when cloning images
      Unify basic X11 functionality in test programs
      Includes tweaks
      test: Re-generate test images with recent tool/library versions
      image: Hide internal ImlibImageFileInfo struct
      image: Don't munmap external memory
      Introduce imlib_get_error()
      api: error_return adjustments
      imlib2_load: Add option to enable image caching
      image: Fix potential use of uninitialized time stamps
      PNG loader: Correct frame delay in zero denominator case
      PNG loader: Cosmetics
      PNG loader: Improved handling of animated PNGs
      multiframe: Support loop count
      PNG loader: Fix animated PNG loading some more
      autofoo: Fix trouble with test subdirectory in distributed source
      autofoo: Rework git tag/release stuff
      test: test_load: Quit when loading primary image fails
      SVG loader: Don't reference multiframe stuff
      ICO loader: Eliminate ico_load()
      autofoo: Use AC_USE_SYSTEM_EXTENSIONS
      imlib2_view: Fix single frame update rendering
      test: test_load_2: Check frame 0/1 loading too
      PNG loader: Cosmetics
      PS loader: Cosmetics
      multiframe: Tweaks around frame number handling
      multiframe: Centralize handling of frame update offsets
      multiframe: Move frame info to allocated record
      multiframe: Allocate frame info only when needed
      PNG loader: Quit scan when target fdAT is seen
      PNG loader: Quit after loading first frame
      PNG loader: Simplify update callback handling
      imlib2_view: Fix multiframe rendering detail
      multiframe: Remove frame offset from updates
      imlib2_view: Fix multiframe after update coordinate change
      imlib2_view: Deal with all pending X events at once
      imlib2_view: Properly handle caching vs progress callbacks
      imlib2_view: Don't load bad images twice if first or last in argument list
      image: Cosmetics
      image: Introduce __imlib_LoadEmbeddedMem()
      Add new ani loader
      image: Cosmetics (slightly more consisent naming)
      ANI loader: Disable progress in embed loader
      ANI loader: Multiframe suport

NRK (3):
      Introduce imlib_load_image_frame_mem
      imlib_load_image_frame_mem(): set nocache
      TGA loader: fix indexing in tgaflip

pkgsrc changes:

- options: enable 'heif' by default
- buildlink: remove back-compatibility with 2007 pre-x11-option package
   2024-04-06 11:33:01 by Thomas Klausner | Files touched by this commit (43)
Log message:
*: bump for x265 API change

Reported by Marc Baudoin
   2024-03-18 19:37:19 by Amitai Schleier | Files touched by this commit (5)
Log message:
imlib2: add 'heif' option, off by default.
   2024-02-06 15:37:38 by Thomas Klausner | Files touched by this commit (1)
Log message:
imlib2: use existing libwebp option name for webp support
   2024-02-06 15:24:45 by Izumi Tsutsui | Files touched by this commit (3)
Log message:
imlib2: add webp support as an option and make it default.

Bump PKGREVISION.
   2023-11-12 14:24:43 by Thomas Klausner | Files touched by this commit (2570)
Log message:
*: revebump for new brotli option for freetype2

Addresses PR 57693
   2023-10-21 19:11:59 by Greg Troxel | Files touched by this commit (1345) | Package updated
Log message:
recursive revbump for tiff update
   2023-01-29 22:18:34 by Ryo ONODERA | Files touched by this commit (2527)
Log message:
*: Recursive revbup from graphics/freetype2