Skip to content
Next
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
295
Merge Requests
40
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Commits
6cb94021
Commit
6cb94021
authored
5 minutes ago
by
Mark Harding
Browse files
Options
Download
(fix): linting of Core/Media/Imagick/Resize.php
parent
912262d7
master
No related merge requests found
Pipeline
#94701882
running with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Core/Media/Imagick/Resize.php
View file @
6cb94021
...
...
@@ -128,8 +128,12 @@ class Resize
$params
=
$this
->
getResizeParameters
();
// First crop the image
$this
->
image
->
cropImage
(
$params
[
'selectionwidth'
],
$params
[
'selectionheight'
],
$params
[
'xoffset'
],
$params
[
'yoffset'
]);
$this
->
image
->
cropImage
(
$params
[
'selectionwidth'
],
$params
[
'selectionheight'
],
$params
[
'xoffset'
],
$params
[
'yoffset'
]
);
// If selected with / height differ from selection width/height, then we need to resize
if
(
$params
[
'selectionwidth'
]
!==
$params
[
'newwidth'
]
||
$params
[
'selectionheight'
]
!==
$params
[
'newheight'
])
{
...
...
This diff is collapsed.
Please
register
or
sign in
to comment