File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
docs/examples/spatial_transformation Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
# ---
2
- # title: Alpha Compositing
3
- # cover: assets/alpha_compositing .png
2
+ # title: Layer Compositing
3
+ # cover: assets/layer_compositing .png
4
4
# author: Johnny Chen
5
5
# date: 2020-03-07
6
6
# ---
7
7
8
- # This demonstration shows how [alpha compositing](https://en.wikipedia.org/wiki/Alpha_compositing)
8
+ # This demonstration shows how the layer version [alpha compositing](https://en.wikipedia.org/wiki/Alpha_compositing)
9
9
# can be done in 10 lines of code using
10
10
# [OffsetArrays](https://github.com/JuliaArrays/OffsetArrays.jl) and
11
- # [PaddedViews](https://github.com/JuliaArrays/PaddedViews.jl)
11
+ # [PaddedViews](https://github.com/JuliaArrays/PaddedViews.jl).
12
+ # If you are looking for more well-organized utilities, [ColorBlendModes](https://github.com/kimikage/ColorBlendModes.jl)
13
+ # provides the definitions and compositing operations of the blend modes.
12
14
13
15
using Images
14
16
using OffsetArrays # provide `OffsetArray`
@@ -102,4 +104,4 @@ color_panel = color_panel[axes(red_c)...] # crop empty region
102
104
103
105
# --- save covers --- #src
104
106
using FileIO # src
105
- save (" assets/alpha_compositing .png" , map (clamp01nan, color_panel)) # src
107
+ save (" assets/layer_compositing .png" , map (clamp01nan, color_panel)) # src
You can’t perform that action at this time.
0 commit comments