ImageMagick Engine - Version 1.7.4

Version Description

  • Important bugfix
Download this release

Release Info

Developer rickardw
Plugin Icon 128x128 ImageMagick Engine
Version 1.7.4
Comparing to
See all releases

Code changes from version 1.7.3 to 1.7.4

Files changed (2) hide show
  1. imagemagick-engine.php +2 -2
  2. readme.txt +4 -1
imagemagick-engine.php CHANGED
@@ -5,7 +5,7 @@
5
  Description: Improve the quality of re-sized images by replacing standard GD library with ImageMagick
6
  Author: Orangelab
7
  Author URI: https://orangelab.com/
8
- Version: 1.7.3
9
  Text Domain: imagemagick-engine
10
 
11
  Copyright @ 2022 Orangelab AB
@@ -526,7 +526,7 @@ function ime_im_php_resize( $old_file, $new_file, $width, $height, $crop, $resiz
526
  // Check if path is executable depending on OS
527
  function ime_is_executable($fullpath) {
528
  $whereIsCommand = (PHP_OS == 'WINNT') ? 'where' : 'which';
529
- return `$whereIsCommand $fullpath`;
530
  }
531
 
532
  // Do we have a valid ImageMagick executable set?
5
  Description: Improve the quality of re-sized images by replacing standard GD library with ImageMagick
6
  Author: Orangelab
7
  Author URI: https://orangelab.com/
8
+ Version: 1.7.4
9
  Text Domain: imagemagick-engine
10
 
11
  Copyright @ 2022 Orangelab AB
526
  // Check if path is executable depending on OS
527
  function ime_is_executable($fullpath) {
528
  $whereIsCommand = (PHP_OS == 'WINNT') ? 'where' : 'which';
529
+ return function_exists('shell_exec') ? `$whereIsCommand $fullpath` : @is_executable($fullpath);
530
  }
531
 
532
  // Do we have a valid ImageMagick executable set?
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: rickardw, orangelab
3
  Tags: image, images, picture, imagemagick, gd, regenerate
4
  Requires at least: 3.0
5
  Tested up to: 6.0.0
6
- Stable tag: 1.7.3
7
 
8
  Improve the quality of re-sized images by replacing standard GD library with ImageMagick.
9
 
@@ -74,6 +74,9 @@ You'll probably have problems with various other plugins too unless you fix this
74
 
75
  == Changelog ==
76
 
 
 
 
77
  = 1.7.3 =
78
  * Improve check that image file exists on server
79
  * Fix check of executable path
3
  Tags: image, images, picture, imagemagick, gd, regenerate
4
  Requires at least: 3.0
5
  Tested up to: 6.0.0
6
+ Stable tag: 1.7.4
7
 
8
  Improve the quality of re-sized images by replacing standard GD library with ImageMagick.
9
 
74
 
75
  == Changelog ==
76
 
77
+ = 1.7.4 =
78
+ * Important bugfix
79
+
80
  = 1.7.3 =
81
  * Improve check that image file exists on server
82
  * Fix check of executable path