Skip to content

Commit

Permalink
Put Image.chroma_mask/2 docs into Mask section
Browse files Browse the repository at this point in the history
  • Loading branch information
kipcole9 committed Jul 18, 2024
1 parent fb255e0 commit b575c58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/image.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1877,7 +1877,7 @@ defmodule Image do
# threshold = 20
# mask = ((foreground - key_colour) ** 2).bandmean() > (3 * threshold ** 2)

@doc subject: "Operation", since: "0.13.0"
@doc subject: "Mask", since: "0.13.0"

@spec chroma_mask(image :: Vimage.t(), options :: ChromaKey.chroma_key_options() | map()) ::
{:ok, Vimage.t()} | {:error, error_message()}
Expand Down Expand Up @@ -1966,7 +1966,7 @@ defmodule Image do
representing a CSS color name.
"""
@doc subject: "Operation", since: "0.13.0"
@doc subject: "Mask", since: "0.13.0"

@spec chroma_mask!(image :: Vimage.t(), options :: ChromaKey.chroma_key_options()) ::
Vimage.t() | no_return()
Expand Down

0 comments on commit b575c58

Please sign in to comment.