Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Libheif Plugin System #205

Merged
merged 2 commits into from
Feb 1, 2024
Merged

Enable Libheif Plugin System #205

merged 2 commits into from
Feb 1, 2024

Conversation

bigcat88
Copy link
Owner

@bigcat88 bigcat88 commented Feb 1, 2024

Ref: #154

Added the load_plugin function for loading single plugins (most likely libde265 will move into a separate plugin in the future if possible)

Option DENABLE_PLUGIN_LOADING is now ON so now libheif will automatically try to load plugins from "LIBHEIF_PLUGIN_PATH" environment variable or from the build-in path(but it will be different in each system, so not much use of it), imho.

This does not bring any other special changes, this is more work for trying to take x265, aom out into a separate projects to make pillow_heif more configurable and easy to develop.

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Copy link

codecov bot commented Feb 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a45f845) 100.00% compared to head (b316649) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #205   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          923       925    +2     
=========================================
+ Hits           923       925    +2     
Files Coverage Δ
pillow_heif/__init__.py 100.00% <100.00%> (ø)
pillow_heif/misc.py 100.00% <100.00%> (ø)

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
@bigcat88 bigcat88 merged commit 5859b29 into master Feb 1, 2024
28 checks passed
@bigcat88 bigcat88 deleted the plugins-support branch February 1, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant