blend_modes icon indicating copy to clipboard operation
blend_modes copied to clipboard

Python package that implements image blend modes

Results 10 blend_modes issues
Sort by recently updated
recently updated
newest added

In some specific cases I got unexpected behaviours with transparency. To replicate the problem you can use the attached images (please note that images are 10x10 to better debug the...

question

Every time I try to install I get the following error: ERROR: Command errored out with exit status 1: command: 'c:\users\bram\appdata\local\programs\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Bram\\AppData\\Local\\Temp\\pip-install-hpxlb90y\\blend-modes_74cbb38837e54b33ad88842e7ef2ea0c\\setup.py'"'"'; __file__='"'"'C:\\Users\\Bram\\AppData\\Local\\Temp\\pip-install-hpxlb90y\\blend-modes_74cbb38837e54b33ad88842e7ef2ea0c\\setup.py'"'"';f=getattr(tokenize,...

We should add type hints to improve clarity regarding inputs and outputs.

enhancement

The currently used "PNG" format is not lossless and therefore might influence the quality of the tests. For example, if a prepared test image is exported from GIMP for comparison...

enhancement

You mentioned that these could be sped up if implemented in Cython. If you're interested, I have done so here, and gotten a pretty good speed improvement: https://pastebin.com/fAD9avjP If there're...

enhancement

I tried to use multiply effect and I got this error ``` TypeError: The blend_modes function "multiply" received a numpy array with 3 layers for its argument "img_in". The function...

help wanted

Hi, thanks for this great project, will there be new modes like `Linear Burn`, `Color Burn`, ... as described [here](http://www.simplefilter.de/en/basics/mixmods.html)? It will be very helpful

help wanted

I do no longer have resources to further develop blend_modes and I am looking for a contributor to step in to maintain the project and take it further. Are you...

help wanted

Fix error in the [blending_functions.py](https://github.com/flrs/blend_modes/blob/master/blend_modes/blending_functions.py#L69) file (fixes [issue #29](https://github.com/flrs/blend_modes/issues/29)) ```python ratio[ratio == np.NAN] = 0.0 ``` changed to: ```python ratio[np.isnan(ratio)] = 0.0 ```

should be changed to ```python ratio[ratio == np.nan] = 0.0 ```

bug