Skip to content

Commit 716039a

Browse files
committed
docs: fix title level
1 parent 2ee7e76 commit 716039a

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

user_guide_src/source/libraries/images.rst

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,9 @@ You will need to include the image resource or you will end up with an exact cop
9898

9999
.. literalinclude:: images/006.php
100100

101+
******************
101102
Processing Methods
102-
==================
103+
******************
103104

104105
There are seven available processing methods:
105106

@@ -120,7 +121,7 @@ error upon failure, like this:
120121
.. literalinclude:: images/007.php
121122

122123
Cropping Images
123-
---------------
124+
===============
124125

125126
Images can be cropped so that only a portion of the original image remains. This is often used when creating
126127
thumbnail images that should match a certain size/aspect ratio. This is handled with the ``crop()`` method::
@@ -140,7 +141,7 @@ offset values:
140141
.. literalinclude:: images/008.php
141142

142143
Converting Images
143-
-----------------
144+
=================
144145

145146
The ``convert()`` method changes the library's internal indicator for the desired file format. This doesn't touch the actual image resource, but indicates to ``save()`` what format to use::
146147

@@ -154,7 +155,7 @@ The ``convert()`` method changes the library's internal indicator for the desire
154155
indicated by their extension, ignoring ``$imageType``.
155156

156157
Fitting Images
157-
--------------
158+
==============
158159

159160
The ``fit()`` method aims to help simplify cropping a portion of an image in a "smart" way, by doing the following steps:
160161

@@ -175,7 +176,7 @@ This provides a much simpler way to crop that will always maintain the aspect ra
175176
.. literalinclude:: images/010.php
176177

177178
Flattening Images
178-
-----------------
179+
=================
179180

180181
The ``flatten()`` method aims to add a background color behind transparent images (PNG) and convert RGBA pixels to RGB pixels
181182

@@ -192,7 +193,7 @@ The ``flatten()`` method aims to add a background color behind transparent image
192193
.. literalinclude:: images/011.php
193194

194195
Flipping Images
195-
---------------
196+
===============
196197

197198
Images can be flipped along either their horizontal or vertical axis::
198199

@@ -203,7 +204,7 @@ Images can be flipped along either their horizontal or vertical axis::
203204
.. literalinclude:: images/012.php
204205

205206
Resizing Images
206-
---------------
207+
===============
207208

208209
Images can be resized to fit any dimension you require with the ``resize()`` method::
209210

@@ -221,7 +222,7 @@ while the other dimension will be altered to match the original image's aspect r
221222
.. literalinclude:: images/013.php
222223

223224
Rotating Images
224-
---------------
225+
===============
225226

226227
The ``rotate()`` method allows you to rotate an image in 90 degree increments::
227228

@@ -233,7 +234,7 @@ The ``rotate()`` method allows you to rotate an image in 90 degree increments::
233234
If the value is any other than the three values listed above, it will throw a CodeIgniter\Images\ImageException.
234235

235236
Adding a Text Watermark
236-
-----------------------
237+
=======================
237238

238239
You can overlay a text watermark onto the image very simply with the ``text()`` method. This is useful for placing copyright
239240
notices, photographer names, or simply marking the images as a preview so they won't be used in other people's final

0 commit comments

Comments
 (0)