cpublit 0.4.0-alpha

Drawing and image composing library.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

CPUblit

Drawing and image composing library.

Description

  • Uses SSE2 or MMX where its possible for high performance.
  • No external libraries needed.
  • Works without a garbage collection.

Use

Add this library to your project's dependency via dub or your chosen IDE.

Currently most functions are very low-level, so experience with pointers is recommended. Per-line approach for composing is recommended if the images have size mismatch.

To do list

  • Fix non-x86 and x86-64 targets.
  • Add optimization for ARM Neon.
  • Make a GPGPU based variant called GPUblit with either D-Compute, CUDA, and/or OpenCL.
  • Add functions for RLE compression and decompression.
  • Add higher-level functions and types (might introduce external dependencies).
  • More testing.

Known issues

DMD for x86-64 targets treats vector optimization features differently from LDC. This will be fixed in the near future.

Authors:
  • Laszlo Szeremi
Dependencies:
intel-intrinsics, bitleveld
Versions:
0.6.1 2023-Jan-16
0.6.0 2022-Jun-12
0.5.1 2022-May-15
0.5.0 2021-Nov-05
0.5.0-alpha 2021-Nov-01
Show all 22 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 147 downloads total

Score:
1.3
Short URL:
cpublit.dub.pm