You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... the output will be the image blending with the lime background of the <body> element.
164
164
</p>
165
165
<div class="figure">
166
-
<img alt="example of an image of duck blending with the lime color of the document" src="examples/ducky_multiply.png" style="width:30%"/>
166
+
<img alt="example of an image of duck blending with the lime color of the document" src="examples/ducky_multiply.png" style="width:30%">
167
167
<p class="caption">
168
168
Blending of a transparent image on a lime backdrop.
169
169
</p>
@@ -187,7 +187,7 @@ circle { mix-blend-mode: screen; }
187
187
... the output will be blending of the 3 circles. Each circle is rendered from bottom to top. Where the elements overlap, the blend mode produces a change in color.
188
188
</p>
189
189
<div class="figure">
190
-
<img alt="example of 3 circles blending with a screen blend mode" src="examples/screen_example.svg" style="width:30%"/>
190
+
<img alt="example of 3 circles blending with a screen blend mode" src="examples/screen_example.svg" style="width:30%">
191
191
<p class="caption">
192
192
Example of 3 circles blending with a screen blend mode
... the 'opacity' on the <div> element is causing the creation of a stacking context. This causes the creation of a new group so the image doesn't blend with the color of the <body>.
213
213
</p>
214
214
<div class="figure">
215
-
<img alt="example of an image of duck blending with the lime color of the document" src="examples/ducky_difference.png" style="width:30%"/>
215
+
<img alt="example of an image of duck blending with the lime color of the document" src="examples/ducky_difference.png" style="width:30%">
216
216
<p class="caption">
217
217
Example of blending within a stacking context.</p>
218
218
</div>
@@ -244,7 +244,7 @@ p {
244
244
</pre>
245
245
246
246
<div class="figure">
247
-
<img alt="example of text that has an overlay blend on top of a texture" src="examples/overlay_text.png" style="width:75%"/>
247
+
<img alt="example of text that has an overlay blend on top of a texture" src="examples/overlay_text.png" style="width:75%">
248
248
<p class="caption">
249
249
Text with a blend overlay on top of an image.
250
250
</p>
@@ -324,7 +324,7 @@ div {
324
324
}
325
325
</pre>
326
326
<div class="figure">
327
-
<img alt="example of div that has an image of a duck and a gradient that is blending" src="examples/ducky_background_blend.png" style="width:30%"/>
327
+
<img alt="example of div that has an image of a duck and a gradient that is blending" src="examples/ducky_background_blend.png" style="width:30%">
328
328
<p class="caption">
329
329
Blending of 2 background images.
330
330
</p>
@@ -466,7 +466,7 @@ Co = co / αo
466
466
<h4 id="simplealphacompositingexamples">Examples of simple alpha compositing</h4>
<img src="examples/two_box_transparency.svg" alt="interaction of a solid box with a transparent box on top"/>
529
+
<img src="examples/two_box_transparency.svg" alt="interaction of a solid box with a transparent box on top">
530
530
<p class="caption"></p>
531
531
</div>
532
532
<p>
@@ -562,7 +562,7 @@ Co = RGB(0.5, 0, 0.5)
562
562
563
563
<div class="example">
564
564
<div class="figure">
565
-
<img src="examples/two_box_transparency_both.svg" alt="interaction of 2 transparent boxes"/>
565
+
<img src="examples/two_box_transparency_both.svg" alt="interaction of 2 transparent boxes">
566
566
<p class="caption"></p>
567
567
</div>
568
568
<p>
@@ -633,7 +633,7 @@ This means that the backdrop is the result of compositing all previous elements.
633
633
<h3 id="backdropexamples">Examples of backdrop calculation</h3>
634
634
<div class="example">
635
635
<div class="figure">
636
-
<img src="examples/simple_backdrop.svg" alt="example of a simple backdrop calculation"/>
636
+
<img src="examples/simple_backdrop.svg" alt="example of a simple backdrop calculation">
637
637
<p class="caption"></p>
638
638
</div>
639
639
<p>
@@ -643,7 +643,7 @@ The dotted line shows the area that is examined during compositing of the blue s
643
643
</div>
644
644
<div class="example">
645
645
<div class="figure">
646
-
<img src="examples/simple_backdrop_alpha.svg" alt="example of a backdrop with alpha"/>
646
+
<img src="examples/simple_backdrop_alpha.svg" alt="example of a backdrop with alpha">
647
647
<p class="caption"></p>
648
648
</div>
649
649
<p>
@@ -744,7 +744,7 @@ The four regions are:
744
744
Note: Destination is synonymous with backdrop. The term destination is used in this section as this is considered the standard when working with Porter Duff compositing. Additionally, the compositing operators use ''destination'' in their names.
745
745
746
746
<div class="figure">
747
-
<p style="text-align:center"><img src="examples/PD_regions.svg" alt="overview of the regions affected by porter duff"/></p>
747
+
<p style="text-align:center"><img src="examples/PD_regions.svg" alt="overview of the regions affected by porter duff"></p>
748
748
<p class="caption"></p>
749
749
</div>
750
750
The contribution from each region to the final pixel color is defined by the coverage of the shape at that pixel, and the operator in use.
@@ -822,7 +822,7 @@ Where:
822
822
No regions are enabled.
823
823
824
824
<div class="figure">
825
-
<img src="examples/PD_clr.svg" alt="example of porter duff clear"/>
825
+
<img src="examples/PD_clr.svg" alt="example of porter duff clear">
<img src="examples/PD_src.svg" alt="example of porter duff copy"/>
836
+
<img src="examples/PD_src.svg" alt="example of porter duff copy">
837
837
<p class="caption"></p>
838
838
</div>
839
839
<pre>
@@ -847,7 +847,7 @@ No regions are enabled.
847
847
Only the destination will be present.
848
848
849
849
<div class="figure">
850
-
<img src="examples/PD_dst.svg" alt="example of porter duff destination"/>
850
+
<img src="examples/PD_dst.svg" alt="example of porter duff destination">
851
851
<p class="caption"></p>
852
852
</div>
853
853
<pre>
@@ -861,7 +861,7 @@ Only the destination will be present.
861
861
Source is placed over the destination.
862
862
863
863
<div class="figure">
864
-
<img src="examples/PD_src-over.svg" alt="example of porter duff source over"/>
864
+
<img src="examples/PD_src-over.svg" alt="example of porter duff source over">
865
865
<p class="caption"></p>
866
866
</div>
867
867
<pre>
@@ -874,7 +874,7 @@ Source is placed over the destination.
874
874
Destination is placed over the source.
875
875
876
876
<div class="figure">
877
-
<img src="examples/PD_dst-over.svg" alt="example of porter duff destination over"/>
877
+
<img src="examples/PD_dst-over.svg" alt="example of porter duff destination over">
878
878
<p class="caption"></p>
879
879
</div>
880
880
<pre>
@@ -888,7 +888,7 @@ Destination is placed over the source.
888
888
The source that overlaps the destination, replaces the destination.
889
889
890
890
<div class="figure">
891
-
<img src="examples/PD_src-in.svg" alt="example of porter duff source in"/>
891
+
<img src="examples/PD_src-in.svg" alt="example of porter duff source in">
892
892
<p class="caption"></p>
893
893
</div>
894
894
<pre>
@@ -901,7 +901,7 @@ The source that overlaps the destination, replaces the destination.
901
901
Destination which overlaps the source, replaces the source.
902
902
903
903
<div class="figure">
904
-
<img src="examples/PD_dst-in.svg" alt="example of porter duff destination in "/>
904
+
<img src="examples/PD_dst-in.svg" alt="example of porter duff destination in ">
905
905
<p class="caption"></p>
906
906
</div>
907
907
<pre>
@@ -915,7 +915,7 @@ Destination which overlaps the source, replaces the source.
915
915
Source is placed, where it falls outside of the destination.
916
916
917
917
<div class="figure">
918
-
<img src="examples/PD_src-out.svg" alt="example of porter duff source out"/>
918
+
<img src="examples/PD_src-out.svg" alt="example of porter duff source out">
919
919
<p class="caption"></p>
920
920
</div>
921
921
<pre>
@@ -929,7 +929,7 @@ Source is placed, where it falls outside of the destination.
929
929
Destination is placed, where it falls outside of the source.
930
930
931
931
<div class="figure">
932
-
<img src="examples/PD_dst-out.svg" alt="example of porter duff destination out"/>
932
+
<img src="examples/PD_dst-out.svg" alt="example of porter duff destination out">
933
933
<p class="caption"></p>
934
934
</div>
935
935
<pre>
@@ -943,7 +943,7 @@ Destination is placed, where it falls outside of the source.
943
943
Source which overlaps the destination, replaces the destination. Destination is placed elsewhere.
944
944
945
945
<div class="figure">
946
-
<img src="examples/PD_src-atop.svg" alt="example of porter duff source atop"/>
946
+
<img src="examples/PD_src-atop.svg" alt="example of porter duff source atop">
947
947
<p class="caption"></p>
948
948
</div>
949
949
<pre>
@@ -957,7 +957,7 @@ Source which overlaps the destination, replaces the destination. Destination is
957
957
Destination which overlaps the source replaces the source. Source is placed elsewhere.
958
958
959
959
<div class="figure">
960
-
<img src="examples/PD_dst-atop.svg" alt="example of porter duff destination atop"/>
960
+
<img src="examples/PD_dst-atop.svg" alt="example of porter duff destination atop">
961
961
<p class="caption"></p>
962
962
</div>
963
963
<pre>
@@ -971,7 +971,7 @@ Destination which overlaps the source replaces the source. Source is placed else
971
971
The non-overlapping regions of source and destination are combined.
972
972
973
973
<div class="figure">
974
-
<img src="examples/PD_xor.svg" alt="example of porter duff xor"/>
974
+
<img src="examples/PD_xor.svg" alt="example of porter duff xor">
975
975
<p class="caption"></p>
976
976
</div>
977
977
<pre>
@@ -1064,7 +1064,7 @@ with:
1064
1064
1065
1065
<div class="example">
1066
1066
<div class="figure">
1067
-
<img src="examples/blend_background_opacity.svg" alt="example of blending with opacity"/>
1067
+
<img src="examples/blend_background_opacity.svg" alt="example of blending with opacity">
1068
1068
<p class="caption"></p>
1069
1069
</div>
1070
1070
<p>
@@ -1102,7 +1102,7 @@ This is the default attribute which specifies no blending. The blending formula
1102
1102
B(Cb, Cs) = Cs
1103
1103
</pre>
1104
1104
<div class="figure">
1105
-
<img src="examples/normal.png" alt="example of normal blending"/>
1105
+
<img src="examples/normal.png" alt="example of normal blending">
1106
1106
<p class="caption"></p>
1107
1107
</div>
1108
1108
@@ -1117,7 +1117,7 @@ The resultant color is always at least as dark as either the source or destinati
1117
1117
</pre>
1118
1118
</p>
1119
1119
<div class="figure">
1120
-
<img src="examples/multiply.png" alt="example of multiply blending"/>
1120
+
<img src="examples/multiply.png" alt="example of multiply blending">
1121
1121
<p class="caption"></p>
1122
1122
</div>
1123
1123
@@ -1133,7 +1133,7 @@ The result color is always at least as light as either of the two constituent co
1133
1133
</pre>
1134
1134
</p>
1135
1135
<div class="figure">
1136
-
<img src="examples/screen.png" alt="example of screen blending"/>
1136
+
<img src="examples/screen.png" alt="example of screen blending">
1137
1137
<p class="caption"></p>
1138
1138
</div>
1139
1139
@@ -1150,7 +1150,7 @@ Source colors overlay the <a>backdrop</a> while preserving its highlights and sh
1150
1150
Overlay is the inverse of the <a value>hard-light</a> blend mode. See the definition of <a value>hard-light</a> for the formula.
1151
1151
1152
1152
<div class="figure">
1153
-
<img src="examples/overlay.png" alt="example of overlay blending"/>
1153
+
<img src="examples/overlay.png" alt="example of overlay blending">
1154
1154
<p class="caption"></p>
1155
1155
</div>
1156
1156
@@ -1164,7 +1164,7 @@ The <a>backdrop</a> is replaced with the source where the source is darker; othe
1164
1164
B(Cb, Cs) = min(Cb, Cs)
1165
1165
</pre>
1166
1166
<div class="figure">
1167
-
<img src="examples/darken.png" alt="example of darken blending"/>
1167
+
<img src="examples/darken.png" alt="example of darken blending">
1168
1168
<p class="caption"></p>
1169
1169
</div>
1170
1170
@@ -1181,7 +1181,7 @@ The <a>backdrop</a> is replaced with the source where the source is lighter; oth
1181
1181
Note: The result must be rounded down if it exceeds the range.
1182
1182
1183
1183
<div class="figure">
1184
-
<img src="examples/lighten.png" alt="example of lighten blending"/>
1184
+
<img src="examples/lighten.png" alt="example of lighten blending">
1185
1185
<p class="caption"></p>
1186
1186
</div>
1187
1187
@@ -1217,7 +1217,7 @@ Darkens the <a>backdrop</a> color to reflect the source color. Painting with whi
1217
1217
</pre>
1218
1218
1219
1219
<div class="figure">
1220
-
<img src="examples/colorburn.png" alt="example of color burn blending"/>
1220
+
<img src="examples/colorburn.png" alt="example of color burn blending">
1221
1221
<p class="caption"></p>
1222
1222
</div>
1223
1223
@@ -1235,7 +1235,7 @@ Multiplies or screens the colors, depending on the source color value. The effec
1235
1235
See the definition of <a value>multiply</a> and <a value>screen</a> for their formulas.
1236
1236
1237
1237
<div class="figure">
1238
-
<img src="examples/hardlight.png" alt="example of hard light blending"/>
1238
+
<img src="examples/hardlight.png" alt="example of hard light blending">
1239
1239
<p class="caption"></p>
1240
1240
</div>
1241
1241
@@ -1256,7 +1256,7 @@ with
1256
1256
</pre>
1257
1257
1258
1258
<div class="figure">
1259
-
<img src="examples/softlight.png" alt="example of soft light blending"/>
1259
+
<img src="examples/softlight.png" alt="example of soft light blending">
1260
1260
<p class="caption"></p>
1261
1261
</div>
1262
1262
@@ -1271,7 +1271,7 @@ Painting with white inverts the <a>backdrop</a> color; painting with black produ
1271
1271
</pre>
1272
1272
</p>
1273
1273
<div class="figure">
1274
-
<img src="examples/difference.png" alt="example of difference blending"/>
1274
+
<img src="examples/difference.png" alt="example of difference blending">
1275
1275
<p class="caption"></p>
1276
1276
</div>
1277
1277
@@ -1284,7 +1284,7 @@ Produces an effect similar to that of the Difference mode but lower in contrast.
1284
1284
</pre>
1285
1285
</p>
1286
1286
<div class="figure">
1287
-
<img src="examples/exclusion.png" alt="example of exclusion blending"/>
1287
+
<img src="examples/exclusion.png" alt="example of exclusion blending">
1288
1288
<p class="caption"></p>
1289
1289
</div>
1290
1290
@@ -1346,7 +1346,7 @@ Creates a color with the hue of the source color and the saturation and luminosi
1346
1346
B(Cb, Cs) = SetLum(SetSat(Cs, Sat(Cb)), Lum(Cb))
1347
1347
</pre>
1348
1348
<div class="figure">
1349
-
<img src="examples/hue.png" alt="example of hue blending"/>
1349
+
<img src="examples/hue.png" alt="example of hue blending">
1350
1350
<p class="caption"></p>
1351
1351
</div>
1352
1352
@@ -1358,7 +1358,7 @@ Creates a color with the saturation of the source color and the hue and luminosi
1358
1358
B(Cb, Cs) = SetLum(SetSat(Cb, Sat(Cs)), Lum(Cb))
1359
1359
</pre>
1360
1360
<div class="figure">
1361
-
<img src="examples/saturation.png" alt="example of saturation blending"/>
1361
+
<img src="examples/saturation.png" alt="example of saturation blending">
1362
1362
<p class="caption"></p>
1363
1363
</div>
1364
1364
@@ -1370,7 +1370,7 @@ Creates a color with the hue and saturation of the source color and the luminosi
1370
1370
B(Cb, Cs) = SetLum(Cs, Lum(Cb))
1371
1371
</pre>
1372
1372
<div class="figure">
1373
-
<img src="examples/color.png" alt="example of color blending"/>
1373
+
<img src="examples/color.png" alt="example of color blending">
1374
1374
<p class="caption"></p>
1375
1375
</div>
1376
1376
@@ -1381,7 +1381,7 @@ Creates a color with the luminosity of the source color and the hue and saturati
1381
1381
B(Cb, Cs) = SetLum(Cb, Lum(Cs))
1382
1382
</pre>
1383
1383
<div class="figure">
1384
-
<img src="examples/luminosity.png" alt="example of luminosity blending"/>
1384
+
<img src="examples/luminosity.png" alt="example of luminosity blending">
1385
1385
<p class="caption"></p>
1386
1386
</div>
1387
1387
@@ -1397,7 +1397,7 @@ In the normal group, the elements within the group are composited onto the initi
1397
1397
In both instances, the result of the group composite is composited onto the land and sky using the normal mix-blend-mode (the default mix-blend-mode applied to the group).
1398
1398
1399
1399
<div class="figure">
1400
-
<img src="examples/isolate_blend_example.png" alt="example of isolated group blending"/>
1400
+
<img src="examples/isolate_blend_example.png" alt="example of isolated group blending">
0 commit comments