Skip to content

Commit

Permalink
fix: update incorrect superpose-images references (#203)
Browse files Browse the repository at this point in the history
Signed-off-by: Emmanuel Ferdman <[email protected]>
  • Loading branch information
emmanuel-ferdman authored Oct 24, 2024
1 parent 947e3e4 commit 6904141
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ Flat can be used only with the [multiple operation system].
- **color** - the foreground color in Hex (without ``#``), default is transparent
- **pos** - the destination rectangle

In order to understand the Flat operation, please read the following `docs <https://github.com/thoas/picfit/blob/superpose-images/docs/flat.md>`_.
In order to understand the Flat operation, please read the following `docs <https://github.com/thoas/picfit/blob/main/docs/flat.md>`_.

Effect
------
Expand Down
4 changes: 2 additions & 2 deletions docs/flat.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ according to the [go image package](https://blog.golang.org/go-image-package):
an axis-aligned rectangle on the integer grid, defined by its top-left and
bottom-right Point.

![Rectangle position](https://github.com/thoas/picfit/blob/superpose-images/docs/picfit-dst-position.png)
![Rectangle position](https://github.com/thoas/picfit/blob/main/docs/picfit-dst-position.png)

The foreground image is resized in order to fit in the given rectangle
and centered inside.
Expand All @@ -44,5 +44,5 @@ the rectangle width `Dx` is superior to its height `Dy` and
order to fit in each parts and centered inside. The order follow the
given order of `path` parameters in the URL.

![Flat multiple images](https://github.com/thoas/picfit/blob/superpose-images/docs/picfit-flat.png)
![Flat multiple images](https://github.com/thoas/picfit/blob/main/docs/picfit-flat.png)

0 comments on commit 6904141

Please sign in to comment.