Commit graph

34 commits

Author SHA1 Message Date
Bjørn Erik Pedersen
304a7e5e74
Merge commit 'a024bc7d76' 2025-02-13 10:40:34 +01:00
Bjørn Erik Pedersen
43307b07f8
Merge commit '346b60358d' 2025-01-23 09:47:46 +01:00
Joe Mooring
b13d0a68e6 tpl/images: Change signature of images.QR to images.QR TEXT OPTIONS
Closes #13230
2025-01-08 19:59:39 +01:00
Julius Künzel
4a5cc2dd26 images.Text: Add "alignx" option for horizontal alignment
Add an "alignx" option to the images.Text to control whether the value of the "x" option is the left border of the text (current behaviour), the center of each line or the right border.

Fixes #10849
2025-01-08 17:23:46 +01:00
Joe Mooring
4ea94c451d tpl/images: Add images.QR function
Closes #13205
2025-01-06 12:05:59 +01:00
Bjørn Erik Pedersen
b47376586a
Merge commit 'e477373487' 2024-12-11 09:53:33 +01:00
Bjørn Erik Pedersen
af0cb57aaf
Merge commit '8b9803425e' 2024-06-21 09:41:24 +02:00
Joe Mooring
21d9057dbf Add images.Dither filter
Closes #8598
2024-02-11 22:51:11 +02:00
Bjørn Erik Pedersen
5fd1e74903
Merge commit '9b0050e9aa' as 'docs'
```
git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash
```

Closes #11925
2024-01-27 10:48:57 +01:00
Bjørn Erik Pedersen
fc7de7136a
docs: Prepare for new sub tree
See #11925
2024-01-27 10:47:28 +01:00
Bjørn Erik Pedersen
3758456b31
Merge commit '7125ad401a' 2024-01-26 08:22:42 +01:00
Joe Mooring
648d00c7d8 resources/images: Create AutoOrient image filter
Closes #11717
2023-12-20 14:18:24 +01:00
Joe Mooring
6580cd30ad docs: Adjust last merge from docs repository 2023-12-04 16:57:15 +01:00
Bjørn Erik Pedersen
d19ed4d4e6
Merge commit '35dec7c96f' 2023-12-04 15:24:01 +01:00
Bjørn Erik Pedersen
0baa4f9837
Merge commit 'aaaf1c8df5' 2023-10-29 11:33:05 +01:00
Joe Mooring
3ed28e4bfe resources/images: Create padding image filter
Closes #11599
2023-10-29 10:16:37 +01:00
Bjørn Erik Pedersen
e2dd4cd05f
Merge commit 'e509cac533' 2023-10-20 09:43:56 +02:00
Bjørn Erik Pedersen
a9d19dbdd6
docs: Even more about images.Process 2023-09-24 12:26:00 +02:00
Bjørn Erik Pedersen
12d713176f
docs: More about images.Process 2023-09-24 12:11:03 +02:00
Bjørn Erik Pedersen
6a246d1152 Add images.Process filter
This allows for constructs like:

```
{{ $filters := slice (images.GaussianBlur 8) (images.Grayscale) (images.Process "jpg q30 resize 200x") }}
{{ $img = $img | images.Filter $filters }}
```

Note that the `action` option in `images.Process` is optional (`resize` in the example above), so you can use the above to just set the target format, e.g.:

```
{{ $filters := slice (images.GaussianBlur 8) (images.Grayscale) (images.Process "jpg") }}
{{ $img = $img | images.Filter $filters }}
```

Fixes #8439
2023-09-24 11:54:29 +02:00
Bjørn Erik Pedersen
f9b3c0f486 Add images.Opacity filter
Fixes #11471
2023-09-22 15:03:16 +02:00
Bjørn Erik Pedersen
db45dbbee8
Merge commit '77b976dd92' 2023-08-30 19:24:34 +02:00
Bjørn Erik Pedersen
8859be1c01
Merge commit '87de22d746' 2023-07-29 11:17:28 +02:00
Bjørn Erik Pedersen
b95e156940
Merge commit 'f96384a3b5' 2023-05-22 16:47:07 +02:00
Bjørn Erik Pedersen
b661132e0a
Merge commit 'ef6f101e75' 2023-01-17 12:51:46 +01:00
Bjørn Erik Pedersen
f04cc581e1
Merge commit '00c4484c70' 2022-11-17 16:16:19 +01:00
Bjørn Erik Pedersen
af23cdca9c
Merge commit '90ad804505' 2022-09-13 20:34:24 +02:00
Bjørn Erik Pedersen
098254f175
Merge commit 'a8e9fc699a' 2022-01-12 08:16:35 +01:00
Bjørn Erik Pedersen
6183184b96
Merge commit '45e6fdb315' 2021-12-13 21:05:10 +01:00
Bjørn Erik Pedersen
e71d715b9b Add custom font support to images.Text
Fixes #9253
2021-12-07 16:53:02 +01:00
Paul van Brouwershaven
283394a4fd
images: Text filter that draws text with the given options (#9239)
Fixes #9238
2021-12-07 11:29:55 +01:00
Bjørn Erik Pedersen
4b36498a85
Merge commit 'aa5ac36a3e' 2021-10-31 13:53:55 +01:00
Bjørn Erik Pedersen
3ba147e702 images: Add images.Overlay filter
This allows for constructs ala:

```
{{ $overlay := $img.Filter (images.Overlay $logo 50 50 )}}
```
Or:

```
{{ $logoFilter := (images.Overlay $logo 50 50 ) }}
{{ $overlay := $img | images.Filter $logoFilter }}
```

Which will overlay the logo in the top left corner (x=50, y=50) of `$img`.

Fixes #8057
Fixes #4595
Updates #6731
2020-12-17 09:14:18 +01:00
Bjørn Erik Pedersen
27aef3f1fb Merge commit 'b9bd35d72e' as 'docs' 2019-10-21 10:22:28 +02:00