Skip to content

Switch to libvips C++ bindings #299

Closed

Description

@lovell

The new vips8 C++ bindings now expose all of the libvips' features this module uses so we can migrate away from the C bindings.

This will simplify the code and ease memory management.

Other benefits:

  • Detach the alpha channel before applying a gamma correction - see 36ac882 - fixed in 4dfbf89

Activity

  1. added this to the v1.0.0 milestone on Nov 14, 2015
  2. binarykitchen commented on Nov 17, 2015

    @binarykitchen

    yeah, that would be awesome to migrate away from the C bindings

  3. modified the milestones: v1.0.0, v0.13.0 on Nov 22, 2015
  4. lovell commented on Jan 8, 2016

    @lovell
    OwnerAuthor

    Commit 12d66ee on the mind branch is the first pass at this. It removed around 450 lines of code.

  5. lovell commented on Jan 8, 2016

    @lovell
    OwnerAuthor
  6. lovell commented on Jan 9, 2016

    @lovell
    OwnerAuthor

    Thanks to the name mangling car crash that is cross-linking C++ libraries on Windows, we'll need to either include and compile libvips C++ wrapper from source or build libvips-cpp.dll via MSVC instead of mingw-w64.

  7. lovell commented on Jan 14, 2016

    @lovell
    OwnerAuthor

    The vips8 C++ bindings are now being built as a DLL on Windows machines at npm install time. Looking much happier as a result. https://ci.appveyor.com/project/lovell/sharp/build/322

  8. lovell commented on Feb 15, 2016

    @lovell
    OwnerAuthor

    v0.13.0 now available.

  9. binarykitchen commented on Feb 15, 2016

    @binarykitchen

    cool, well done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions