Skip to content

Commit a2cae3a

Browse files
committed
docs: add image for borderValue test
1 parent f44f3db commit a2cae3a

File tree

2 files changed

+190
-2
lines changed

2 files changed

+190
-2
lines changed
Lines changed: 186 additions & 0 deletions
Loading

docs/useful-tips/transform-function-and-its-parameters.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ const result = image.transform(matrix, {
9696
});
9797
```
9898

99+
![Border types](./images/transform-parameters/borderValueTest.svg)
100+
99101
#### Inverse
100102

101103
We have briefly shown how this option is used in [our tutorial on image transformations](../tutorials/applying-transform-function-on-images.md). Let's take a deeper look at it.
@@ -130,7 +132,7 @@ const result2 = image.transform(rotationMatrix, {
130132

131133
As you can see using the same matrix images the image seems to be turned into opposite directions. Basically, with `inverse` set to `true` you kind of "revert" an image back to the states that it was before the matrix transformed.
132134

133-
![](./images/transform-parameters/inverseTest.svg)
135+
![inverse test](./images/transform-parameters/inverseTest.svg)
134136

135137
#### Full Image
136138

@@ -150,4 +152,4 @@ const result2 = image.transform(rotationMatrix, {
150152

151153
This is particularly useful for rotations, where corners of the image may extend beyond the original boundaries.
152154

153-
![](./images/transform-parameters/fullImageTest.svg)
155+
![fullImage test](./images/transform-parameters/fullImageTest.svg)

0 commit comments

Comments
 (0)