You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reflow Active Storage transforms section [ci-skip]
Both "optional arguments" and "migrating processors" seem too specific
for where they were previously located within the section. Both ideas
are more complicated/processor specific, but are located very early on
when the ideas should be more simple/introductory.
This commit reorders the paragraphs a bit to improve the section's flow.
Now, the most basic examples are presented first, then the idea of
processors and what they have in common, and finally the more advanced
options and how the processors differ.
The parameters available are defined by the [`image_processing`][] gem and depend on the
996
978
variant processor that you are using, but both support the following parameters:
997
979
@@ -1004,8 +986,30 @@ variant processor that you are using, but both support the following parameters:
1004
986
| `crop` | `crop: [20, 50, 300, 300]` | Extracts an area from an image. The first two arguments are the left and top edges of area to extract, while the last two arguments are the width and height of the area to extract. |
1005
987
| `rotate` | `rotate: 90` | Rotates the image by the specified angle. |
1006
988
1007
-
[`image_processing`][] has more options available (such as `saver` which allows image compression to be configured) in it's own documentation for the [Vips](https://github.com/janko/image_processing/blob/master/doc/vips.md) and [MiniMagick](https://github.com/janko/image_processing/blob/master/doc/minimagick.md) processors.
989
+
[`image_processing`][] has all parameters available in it's own documentation
990
+
for both the
991
+
[Vips](https://github.com/janko/image_processing/blob/master/doc/vips.md) and
0 commit comments