We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf9e4bd commit 625031dCopy full SHA for 625031d
docs/examples/color_channels/rgb_grayscale.jl
@@ -1,6 +1,6 @@
1
# ---
2
# title: RGB to GrayScale
3
-# cover: assets/rgb_grayscale.png
+# cover: assets/rgb_grayscale.gif
4
5
6
# This example illustrates RGB to Grayscale Conversion
@@ -19,4 +19,5 @@ mosaicview(rgb_image, gray_image; nrow = 1)
19
# [Rec. ITU-R BT.601-7](https://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.601-7-201103-I!!PDF-E.pdf) rounding off to 3 decimal places
20
# `0.299 * R + 0.587 * G + 0.114 * B`
21
22
-save("assets/rgb_grayscale.png", gray_image) #src
+using ImageMagick #src
23
+ImageMagick.save("assets/rgb_grayscale.gif", cat(rgb_image, RGB.(gray_image); dims=3); fps=1) #src
0 commit comments