Replies: 4 comments 8 replies
-
I am not going to address the licensing question (better done by others). However it looks like at least some of the files you are copying are internal API (i.e. subject to change in patch versions). That is a technical issue, and probably indicates something is wrong (could be your side, could be libheif). Can you say what you are trying to do? As in, why don't you upstream your changes? What are you trying to expose? |
Beta Was this translation helpful? Give feedback.
-
The plugins should not depend on libheif. Actually, some plugins use some code of libheif, but these files are included explicitly and should not be visible from outside.
Can you check whether that change solves your issue? |
Beta Was this translation helpful? Give feedback.
-
On Windows using MingGW I was not able to build a plugin without a direct dependency on libheif.dll I was thinking of returning to the idea that Bradh suggested, simply So going this way is not possible, as bundled |
Beta Was this translation helpful? Give feedback.
-
It appears that the linking process in Linux and Windows is different. On Linux, when libheif loads the plugin, the plugin has access to all functions of the parent libheif. In Windows, it apparently has not. My proposal would be to split off all image-related functions that are necessary in the plugins into a static library ( |
Beta Was this translation helpful? Give feedback.
-
I wanted to provide plugins to Python community(probably for
pillow_heif
) and I need these files:For me currently the easiest way is to just copy paste them from this repo, as I needed to slightly modify them(maybe I did something wrong, but without modifications they generate dependency on
libheif
)Q1: Is it enough to just take them, as they all contain copyright at top of each file?
Q2: For binary wheels should I also provide LICENSES_bundle with such lines:
https://github.com/bigcat88/pillow_heif/blob/5859b29f9bda0271f593829fe870fdf85177b712/LICENSES_bundled.txt#L5-L9
as each plugin will contain these files taken from
libheif
repo?Or can I skip it and mention only library for which the plugin is?
Example of plugin:
Of course I will anyway mention Libheif in each readme and description
Beta Was this translation helpful? Give feedback.
All reactions