Skip to content

Commit 8f0e986

Browse files
authored
Formatting
1 parent 0cdfffb commit 8f0e986

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/libraries/images.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@ Converting Images
161161

162162
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.
163163

164-
convert(int $imageType)
164+
convert(int $imageType)
165165

166166
- **$imageType** is one of PHP's image type constants (see for example https://www.php.net/manual/en/function.image-type-to-mime-type.php)
167167

168-
Services::image()
168+
Services::image()
169169
->withFile('/path/to/image/mypic.jpg')
170170
->convert(IMAGETYPE_PNG)
171171
->save('path/to/new/image.png');

0 commit comments

Comments
 (0)