Skip to content

dmtools 0.5.0 (December 2021) Release Notes

Pre-release
Pre-release
Compare
Choose a tag to compare
@henryrobbins henryrobbins released this 20 Dec 03:57
· 12 commits to master since this release
dmtools is still in a state of rapid development. During this time, there is no
promise of backwards compatibility between versions. The intent is to have
monthly releases during this period to make the new tools and bug fixes
available quickly. This release includes a variety of new funcionality and
tools (summarized below). Additionally, there was significant effort to improve
the quality of documentation. The README was updated, new tutorials were added,
and there is now a mechanism to check correctness of example scripts.

Deprecations:
  - The write_ascii function was moved to the io module. As a result, the ascii
    module was removed.

New Functionality:
  - Provide image metadata when writing (based on PNG metadata). Most notably,
    the souce code of the script is written to the metadata by default.
  - Function for recovering the script from the metadata of an image.
  - Support for 4-channel images: 3 color channels and 1 alpha channel.
  - Versioning support for image write functions: automatically increment the
    version number of an image if there are duplicates found.

New Tools:
  - transform.composite: Image alpha compositing (based on Cairo).
  - transform.crop: Crop an image using an (x,y) point, width, and height.
  - transform.substitute: Substitute a portion of an image.