Version Description
- Tested with WP 3.5-beta2
- Allow choosing between optimize for quality & size for each image size
- Fix resize UI bug in media pop-up and new attachment editor (post.php)
- Add "ime_after_resize" action after resize
- Catch Imagick exceptions
- Modified code now uses more of WP standard coding style
- Updated French translation, thanks to Damien Fabreguettes
- Updated Swedish translation for new strings
Download this release
Release Info
Developer | orangelab |
Plugin | ImageMagick Engine |
Version | 1.5.0 |
Comparing to | |
See all releases |
Code changes from version 1.4.0 to 1.5.0
- css/ime-admin.css +20 -0
- imagemagick-engine.php +158 -88
- languages/imagemagick-engine-fr_FR.mo +0 -0
- languages/imagemagick-engine-fr_FR.po +95 -67
- languages/imagemagick-engine-sv_SE.mo +0 -0
- languages/imagemagick-engine-sv_SE.po +75 -47
- languages/imagemagick-engine.pot +69 -43
- readme.txt +14 -3
css/ime-admin.css
CHANGED
@@ -1,3 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
#regenbar {
|
2 |
position: relative;
|
3 |
height: 22px;
|
1 |
+
.form-table td.ime-handle-table-wrapper {
|
2 |
+
padding: 0;
|
3 |
+
}
|
4 |
+
|
5 |
+
#ime-handle-table th {
|
6 |
+
padding: 5px 10px 0 10px;
|
7 |
+
}
|
8 |
+
|
9 |
+
#ime-handle-table td {
|
10 |
+
padding: 5px 0 0 10px;
|
11 |
+
}
|
12 |
+
|
13 |
+
#ime-handle-table .ime-headline {
|
14 |
+
font-weight: bold;
|
15 |
+
}
|
16 |
+
|
17 |
+
#ime-handle-table .ime-fixed-width {
|
18 |
+
width: 60px;
|
19 |
+
}
|
20 |
+
|
21 |
#regenbar {
|
22 |
position: relative;
|
23 |
height: 22px;
|
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: http://www.orangelab.se
|
8 |
-
Version: 1.
|
9 |
Text Domain: imagemagick-engine
|
10 |
|
11 |
Copyright 2010, 2011, 2012 Orangelab
|
@@ -27,25 +27,6 @@
|
|
27 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
28 |
*/
|
29 |
|
30 |
-
/*
|
31 |
-
* Current todo list:
|
32 |
-
* - test and handle negative returns in regen
|
33 |
-
* - can we use --strip (or similar) without loosing color profile? (http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=14168)
|
34 |
-
* - test command line version string
|
35 |
-
* - test php module with required image formats
|
36 |
-
* - handle errors in resize, fall back to GD
|
37 |
-
*
|
38 |
-
* Future todo list:
|
39 |
-
* - do not iterate through all images if only resizing non-ime images
|
40 |
-
* - edit post insert image: add custom sizes?
|
41 |
-
* - admin: smarter find path to executable (maybe try 'which' or package handler?)
|
42 |
-
* - allow customization of command line / class functions (safely!), check memory limit
|
43 |
-
* - unsharp mask, sharpening level options (perhaps on a picture-by-picture basis)
|
44 |
-
* - handle TIF and other IM formats if possible
|
45 |
-
* - can we use IM instead of GD in more places?
|
46 |
-
* - custom crop of images instead of blindly going for the middle
|
47 |
-
*/
|
48 |
-
|
49 |
if (!defined('ABSPATH'))
|
50 |
die('Must not be called directly');
|
51 |
|
@@ -64,14 +45,18 @@ define('IME_OPTION_VERSION', 1);
|
|
64 |
$ime_options_default = array('enabled' => false
|
65 |
, 'mode' => null
|
66 |
, 'cli_path' => null
|
67 |
-
, 'handle_sizes' => array('thumbnail' =>
|
|
|
68 |
, 'quality' => ''
|
69 |
, 'version' => IME_OPTION_VERSION
|
70 |
);
|
71 |
|
72 |
// Available modes
|
73 |
-
$ime_available_modes = array('php' =>
|
74 |
-
|
|
|
|
|
|
|
75 |
|
76 |
// Current options
|
77 |
$ime_options = null;
|
@@ -244,6 +229,28 @@ function ime_set_option($option_name, $option_value, $store = false) {
|
|
244 |
ime_store_options();
|
245 |
}
|
246 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
247 |
|
248 |
/*
|
249 |
* WP integration & image handling functions
|
@@ -262,8 +269,8 @@ function ime_filter_image_sizes($sizes) {
|
|
262 |
global $ime_image_sizes;
|
263 |
|
264 |
$handle_sizes = ime_get_option('handle_sizes');
|
265 |
-
foreach ($handle_sizes
|
266 |
-
if (!$handle || !array_key_exists($s, $sizes))
|
267 |
continue;
|
268 |
$ime_image_sizes[$s] = $sizes[$s];
|
269 |
unset($sizes[$s]);
|
@@ -319,7 +326,7 @@ function ime_filter_attachment_metadata($metadata, $attachment_id) {
|
|
319 |
$new_ext = $ext;
|
320 |
else
|
321 |
$new_ext = "jpg";
|
322 |
-
|
323 |
/*
|
324 |
* Do the actual resize
|
325 |
*/
|
@@ -341,7 +348,7 @@ function ime_filter_attachment_metadata($metadata, $attachment_id) {
|
|
341 |
$suffix = "{$dst_w}x{$dst_h}";
|
342 |
$new_filename = "{$dir}/{$namebase}-{$suffix}.{$new_ext}";
|
343 |
|
344 |
-
$resized = ime_im_resize($ime_image_file, $new_filename, $dst_w, $dst_h, $crop);
|
345 |
if (!$resized)
|
346 |
continue;
|
347 |
|
@@ -366,14 +373,16 @@ function ime_filter_attachment_metadata($metadata, $attachment_id) {
|
|
366 |
}
|
367 |
|
368 |
// Resize file by calling mode specific resize function
|
369 |
-
function ime_im_resize($old_file, $new_file, $width, $height, $crop) {
|
370 |
$mode = ime_get_option("mode");
|
371 |
$fn = 'ime_im_' . $mode . '_valid';
|
372 |
if (empty($mode) || !function_exists($fn) || !call_user_func($fn))
|
373 |
return false;
|
374 |
|
375 |
$fn = 'ime_im_' . $mode . '_resize';
|
376 |
-
|
|
|
|
|
377 |
}
|
378 |
|
379 |
// Is this the filename of a jpeg?
|
@@ -393,52 +402,59 @@ function ime_im_php_valid() {
|
|
393 |
}
|
394 |
|
395 |
// Resize file using PHP Imagick class
|
396 |
-
function ime_im_php_resize($old_file, $new_file, $width, $height, $crop) {
|
397 |
-
$im = new Imagick($old_file);
|
398 |
-
if (
|
399 |
return false;
|
400 |
|
401 |
-
|
402 |
-
|
403 |
-
$
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
$im
|
|
|
408 |
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
$
|
424 |
-
|
425 |
-
$
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
|
|
|
|
|
|
|
|
|
|
432 |
}
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
$im->scaleImage($width, $height, true);
|
437 |
|
438 |
-
|
439 |
-
|
440 |
|
441 |
-
|
|
|
|
|
|
|
442 |
}
|
443 |
|
444 |
/*
|
@@ -520,7 +536,7 @@ function ime_is_windows() {
|
|
520 |
}
|
521 |
|
522 |
// Resize using ImageMagick executable
|
523 |
-
function ime_im_cli_resize($old_file, $new_file, $width, $height, $crop) {
|
524 |
$cmd = ime_im_cli_command();
|
525 |
if (empty($cmd))
|
526 |
return false;
|
@@ -538,10 +554,13 @@ function ime_im_cli_resize($old_file, $new_file, $width, $height, $crop) {
|
|
538 |
} else
|
539 |
$cmd .= "!"; // force these dimensions
|
540 |
|
541 |
-
$quality =
|
542 |
if (is_numeric($quality) && $quality >= 0 && $quality <= 100 && ime_im_filename_is_jpg($new_file))
|
543 |
$cmd .= " -quality " . intval($quality);
|
544 |
|
|
|
|
|
|
|
545 |
$cmd .= ' "' . $new_file . '"';
|
546 |
exec($cmd);
|
547 |
|
@@ -699,7 +718,7 @@ function ime_ajax_process_image() {
|
|
699 |
function ime_admin_menu() {
|
700 |
$ime_page = add_options_page('ImageMagick Engine', 'ImageMagick Engine', 'manage_options', 'imagemagick-engine', 'ime_option_page');
|
701 |
|
702 |
-
$script_pages = array($ime_page, 'media.php', 'media-new.php', 'media-upload.php');
|
703 |
foreach ($script_pages as $page) {
|
704 |
add_action('admin_print_scripts-' . $page, 'ime_admin_print_scripts');
|
705 |
add_action('admin_print_styles-' . $page, 'ime_admin_print_styles');
|
@@ -804,7 +823,7 @@ function ime_option_display($display = true, $echo = true) {
|
|
804 |
|
805 |
/* Plugin admin / status page */
|
806 |
function ime_option_page() {
|
807 |
-
global $ime_available_modes;
|
808 |
|
809 |
if (!current_user_can('manage_options'))
|
810 |
wp_die('Sorry, but you do not have permissions to change settings.');
|
@@ -828,18 +847,33 @@ function ime_option_page() {
|
|
828 |
ime_set_option('mode', $_POST['mode']);
|
829 |
if (isset($_POST['cli_path']))
|
830 |
ime_set_option('cli_path', ime_try_realpath(trim($_POST['cli_path'])));
|
831 |
-
|
832 |
-
|
833 |
-
|
834 |
-
|
835 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
836 |
}
|
|
|
|
|
837 |
$new_handle_sizes = array();
|
838 |
foreach ($sizes AS $s => $name) {
|
839 |
-
$
|
840 |
-
|
|
|
|
|
|
|
|
|
|
|
841 |
}
|
842 |
-
ime_set_option('handle_sizes', $new_handle_sizes);
|
843 |
|
844 |
ime_store_options();
|
845 |
|
@@ -876,6 +910,13 @@ function ime_option_page() {
|
|
876 |
$cli_path_ok = ime_im_cli_check_command($cli_path);
|
877 |
|
878 |
$quality = ime_get_option('quality');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
879 |
$handle_sizes = ime_get_option('handle_sizes');
|
880 |
|
881 |
if (!$any_valid)
|
@@ -905,7 +946,7 @@ function ime_option_page() {
|
|
905 |
<td>
|
906 |
<?php
|
907 |
foreach($sizes AS $s => $name) {
|
908 |
-
echo '<input type="checkbox" name="regen-size-' . $s . '" value="1" ' . (isset($handle_sizes[$s]) && $handle_sizes[$s] ? '
|
909 |
}
|
910 |
?>
|
911 |
</td>
|
@@ -978,17 +1019,46 @@ function ime_option_page() {
|
|
978 |
<tr>
|
979 |
<th scope="row" valign="top"><?php _e('ImageMagick quality','imagemagick-engine'); ?>:</th>
|
980 |
<td>
|
981 |
-
<input id="quality" type="text" name="quality" size="3" value="<?php echo $quality; ?>" /> <?php _e('
|
|
|
|
|
|
|
|
|
982 |
</td>
|
983 |
</tr>
|
984 |
<tr>
|
985 |
-
<
|
986 |
-
|
987 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
988 |
foreach($sizes AS $s => $name) {
|
989 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
990 |
}
|
991 |
-
|
|
|
992 |
</td>
|
993 |
</tr>
|
994 |
<tr>
|
5 |
Description: Improve the quality of re-sized images by replacing standard GD library with ImageMagick
|
6 |
Author: Orangelab
|
7 |
Author URI: http://www.orangelab.se
|
8 |
+
Version: 1.5.0
|
9 |
Text Domain: imagemagick-engine
|
10 |
|
11 |
Copyright 2010, 2011, 2012 Orangelab
|
27 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
28 |
*/
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
if (!defined('ABSPATH'))
|
31 |
die('Must not be called directly');
|
32 |
|
45 |
$ime_options_default = array('enabled' => false
|
46 |
, 'mode' => null
|
47 |
, 'cli_path' => null
|
48 |
+
, 'handle_sizes' => array('thumbnail' => 'size', 'medium' => 'quality', 'large' => 'quality')
|
49 |
+
, 'quality' => array('quality' => -1, 'size' => 70)
|
50 |
, 'quality' => ''
|
51 |
, 'version' => IME_OPTION_VERSION
|
52 |
);
|
53 |
|
54 |
// Available modes
|
55 |
+
$ime_available_modes = array( 'php' => __( 'Imagick PHP module', 'imagemagick-engine' )
|
56 |
+
, 'cli' => __( 'ImageMagick command-line', 'imagemagick-engine' ) );
|
57 |
+
|
58 |
+
// Available quality modes
|
59 |
+
$ime_available_quality_modes = array( 'quality', 'size', 'skip' );
|
60 |
|
61 |
// Current options
|
62 |
$ime_options = null;
|
229 |
ime_store_options();
|
230 |
}
|
231 |
|
232 |
+
// Get image quality setting for type
|
233 |
+
function ime_get_quality($resize_mode = 'quality') {
|
234 |
+
$quality = ime_get_option('quality', '-1');
|
235 |
+
if (!$quality)
|
236 |
+
return -1;
|
237 |
+
if (!is_array($quality))
|
238 |
+
return $quality;
|
239 |
+
if (isset($quality[$resize_mode]))
|
240 |
+
return $quality[$resize_mode];
|
241 |
+
|
242 |
+
return -1;
|
243 |
+
}
|
244 |
+
|
245 |
+
// Get resize mode for size
|
246 |
+
function ime_get_resize_mode( $size ) {
|
247 |
+
$handle_sizes = ime_get_option('handle_sizes');
|
248 |
+
if ( isset( $handle_sizes[ $size ] ) && is_string( $handle_sizes[ $size ] ) )
|
249 |
+
return $handle_sizes[ $size ];
|
250 |
+
else
|
251 |
+
return 'quality'; // default to quality
|
252 |
+
}
|
253 |
+
|
254 |
|
255 |
/*
|
256 |
* WP integration & image handling functions
|
269 |
global $ime_image_sizes;
|
270 |
|
271 |
$handle_sizes = ime_get_option('handle_sizes');
|
272 |
+
foreach ($handle_sizes as $s => $handle) {
|
273 |
+
if (!$handle || $handle == 'skip' || !array_key_exists($s, $sizes))
|
274 |
continue;
|
275 |
$ime_image_sizes[$s] = $sizes[$s];
|
276 |
unset($sizes[$s]);
|
326 |
$new_ext = $ext;
|
327 |
else
|
328 |
$new_ext = "jpg";
|
329 |
+
|
330 |
/*
|
331 |
* Do the actual resize
|
332 |
*/
|
348 |
$suffix = "{$dst_w}x{$dst_h}";
|
349 |
$new_filename = "{$dir}/{$namebase}-{$suffix}.{$new_ext}";
|
350 |
|
351 |
+
$resized = ime_im_resize( $ime_image_file, $new_filename, $dst_w, $dst_h, $crop, ime_get_resize_mode( $size ) );
|
352 |
if (!$resized)
|
353 |
continue;
|
354 |
|
373 |
}
|
374 |
|
375 |
// Resize file by calling mode specific resize function
|
376 |
+
function ime_im_resize( $old_file, $new_file, $width, $height, $crop, $resize_mode = 'quality' ) {
|
377 |
$mode = ime_get_option("mode");
|
378 |
$fn = 'ime_im_' . $mode . '_valid';
|
379 |
if (empty($mode) || !function_exists($fn) || !call_user_func($fn))
|
380 |
return false;
|
381 |
|
382 |
$fn = 'ime_im_' . $mode . '_resize';
|
383 |
+
$success = ( function_exists( $fn ) && call_user_func( $fn, $old_file, $new_file, $width, $height, $crop, $resize_mode ) );
|
384 |
+
do_action( 'ime_after_resize', $success, $old_file, $new_file, $width, $height, $crop, $resize_mode );
|
385 |
+
return $success;
|
386 |
}
|
387 |
|
388 |
// Is this the filename of a jpeg?
|
402 |
}
|
403 |
|
404 |
// Resize file using PHP Imagick class
|
405 |
+
function ime_im_php_resize( $old_file, $new_file, $width, $height, $crop, $resize_mode = 'quality' ) {
|
406 |
+
$im = new Imagick( $old_file );
|
407 |
+
if ( ! $im->valid() )
|
408 |
return false;
|
409 |
|
410 |
+
try {
|
411 |
+
$quality = ime_get_quality( $resize_mode );
|
412 |
+
if ( is_numeric( $quality ) && $quality >= 0 && $quality <= 100 && ime_im_filename_is_jpg( $new_file ) ) {
|
413 |
+
$im->setImageCompression( Imagick::COMPRESSION_JPEG );
|
414 |
+
$im->setImageCompressionQuality( $quality );
|
415 |
+
}
|
416 |
+
if ( method_exists( $im, 'setImageOpacity' ) )
|
417 |
+
$im->setImageOpacity( 1.0 );
|
418 |
|
419 |
+
if ( $resize_mode == 'size' )
|
420 |
+
$im->stripImage();
|
421 |
+
|
422 |
+
if ( $crop ) {
|
423 |
+
/*
|
424 |
+
* Unfortunately we cannot use the PHP module
|
425 |
+
* cropThumbnailImage() function as it strips profile data.
|
426 |
+
*
|
427 |
+
* Crop an area proportional to target $width and $height and
|
428 |
+
* fall through to scaleImage() below.
|
429 |
+
*/
|
430 |
+
|
431 |
+
$geo = $im->getImageGeometry();
|
432 |
+
$orig_width = $geo[ 'width' ];
|
433 |
+
$orig_height = $geo[ 'height' ];
|
434 |
+
|
435 |
+
if( ( $orig_width / $width ) < ( $orig_height / $height ) ) {
|
436 |
+
$crop_width = $orig_width;
|
437 |
+
$crop_height = ceil( ( $height * $orig_width ) / $width );
|
438 |
+
$off_x = 0;
|
439 |
+
$off_y = ceil( ( $orig_height - $crop_height ) / 2 );
|
440 |
+
} else {
|
441 |
+
$crop_width = ceil( ( $width * $orig_height ) / $height );
|
442 |
+
$crop_height = $orig_height;
|
443 |
+
$off_x = ceil( ( $orig_width - $crop_width ) / 2 );
|
444 |
+
$off_y = 0;
|
445 |
+
}
|
446 |
+
$im->cropImage( $crop_width, $crop_height, $off_x, $off_y );
|
447 |
}
|
448 |
+
|
449 |
+
$im->scaleImage( $width, $height, true );
|
|
|
|
|
450 |
|
451 |
+
$im->setImagePage( $width, $height, 0, 0 ); // to make sure canvas is correct
|
452 |
+
$im->writeImage( $new_file );
|
453 |
|
454 |
+
return file_exists( $new_file );
|
455 |
+
} catch ( ImagickException $ie ) {
|
456 |
+
return false;
|
457 |
+
}
|
458 |
}
|
459 |
|
460 |
/*
|
536 |
}
|
537 |
|
538 |
// Resize using ImageMagick executable
|
539 |
+
function ime_im_cli_resize( $old_file, $new_file, $width, $height, $crop, $resize_mode = 'quality' ) {
|
540 |
$cmd = ime_im_cli_command();
|
541 |
if (empty($cmd))
|
542 |
return false;
|
554 |
} else
|
555 |
$cmd .= "!"; // force these dimensions
|
556 |
|
557 |
+
$quality = ime_get_quality( $resize_mode );
|
558 |
if (is_numeric($quality) && $quality >= 0 && $quality <= 100 && ime_im_filename_is_jpg($new_file))
|
559 |
$cmd .= " -quality " . intval($quality);
|
560 |
|
561 |
+
if ( $resize_mode == 'size' )
|
562 |
+
$cmd .= ' -strip';
|
563 |
+
|
564 |
$cmd .= ' "' . $new_file . '"';
|
565 |
exec($cmd);
|
566 |
|
718 |
function ime_admin_menu() {
|
719 |
$ime_page = add_options_page('ImageMagick Engine', 'ImageMagick Engine', 'manage_options', 'imagemagick-engine', 'ime_option_page');
|
720 |
|
721 |
+
$script_pages = array( $ime_page, 'media.php', 'media-new.php', 'media-upload.php', 'media-upload-popup', 'post.php' );
|
722 |
foreach ($script_pages as $page) {
|
723 |
add_action('admin_print_scripts-' . $page, 'ime_admin_print_scripts');
|
724 |
add_action('admin_print_styles-' . $page, 'ime_admin_print_styles');
|
823 |
|
824 |
/* Plugin admin / status page */
|
825 |
function ime_option_page() {
|
826 |
+
global $ime_available_modes, $ime_available_quality_modes;
|
827 |
|
828 |
if (!current_user_can('manage_options'))
|
829 |
wp_die('Sorry, but you do not have permissions to change settings.');
|
847 |
ime_set_option('mode', $_POST['mode']);
|
848 |
if (isset($_POST['cli_path']))
|
849 |
ime_set_option('cli_path', ime_try_realpath(trim($_POST['cli_path'])));
|
850 |
+
|
851 |
+
$new_quality = array( 'quality' => -1, 'size' => 70 );
|
852 |
+
if ( isset( $_POST[ 'quality-quality' ] ) ) {
|
853 |
+
if ( is_numeric( $_POST[ 'quality-quality' ] ) )
|
854 |
+
$new_quality[ 'quality' ] = min( 100, max( 0, intval( $_POST[ 'quality-quality' ] ) ) );
|
855 |
+
else if ( empty( $_POST[ 'quality-quality' ] ) )
|
856 |
+
$new_quality[ 'quality' ] = -1;
|
857 |
+
}
|
858 |
+
if ( isset( $_POST[ 'quality-size' ] ) ) {
|
859 |
+
if ( is_numeric( $_POST[ 'quality-size' ] ) )
|
860 |
+
$new_quality[ 'quality-size' ] = min( 100, max( 0, intval( $_POST[ 'quality-size' ] ) ) );
|
861 |
+
else if ( empty( $_POST[ 'quality-size' ] ) )
|
862 |
+
$new_quality[ 'quality-size' ] = -1;
|
863 |
}
|
864 |
+
ime_set_option( 'quality', $new_quality );
|
865 |
+
|
866 |
$new_handle_sizes = array();
|
867 |
foreach ($sizes AS $s => $name) {
|
868 |
+
$new_mode = isset( $_POST[ 'handle-mode-' . $s ] ) ? $_POST[ 'handle-mode-' . $s ] : 'skip';
|
869 |
+
if ( in_array( $new_mode, $ime_available_quality_modes ) )
|
870 |
+
$mode = $new_mode;
|
871 |
+
else
|
872 |
+
$mode = 'quality';
|
873 |
+
|
874 |
+
$new_handle_sizes[ $s ] = $mode;
|
875 |
}
|
876 |
+
ime_set_option( 'handle_sizes', $new_handle_sizes );
|
877 |
|
878 |
ime_store_options();
|
879 |
|
910 |
$cli_path_ok = ime_im_cli_check_command($cli_path);
|
911 |
|
912 |
$quality = ime_get_option('quality');
|
913 |
+
if ( ! is_array( $quality ) ) {
|
914 |
+
$n = array( 'quality' => -1, 'size' => 70 );
|
915 |
+
if ( is_numeric( $quality ) && $quality > 0 )
|
916 |
+
$n[ 'quality' ] = $quality;
|
917 |
+
$quality = $n;
|
918 |
+
}
|
919 |
+
|
920 |
$handle_sizes = ime_get_option('handle_sizes');
|
921 |
|
922 |
if (!$any_valid)
|
946 |
<td>
|
947 |
<?php
|
948 |
foreach($sizes AS $s => $name) {
|
949 |
+
echo '<input type="checkbox" name="regen-size-' . $s . '" value="1" ' . ( ( isset( $handle_sizes[ $s ] ) && $handle_sizes[ $s ] != 'skip' && $handle_sizes[ $s ] != false ) ? ' checked="checked" ' : '' ) . ' /> ' . $name . '<br />';
|
950 |
}
|
951 |
?>
|
952 |
</td>
|
1019 |
<tr>
|
1020 |
<th scope="row" valign="top"><?php _e('ImageMagick quality','imagemagick-engine'); ?>:</th>
|
1021 |
<td>
|
1022 |
+
<input id="quality-quality" type="text" name="quality-quality" size="3" value="<?php echo ( ( isset( $quality[ 'quality' ] ) && $quality[ 'quality' ] > 0 ) ? $quality[ 'quality' ] : '' ); ?>" /> <?php _e( 'Optimize for quality','imagemagick-engine' ); ?><br />
|
1023 |
+
<input id="quality-size" type="text" name="quality-size" size="3" value="<?php echo ( ( isset( $quality[ 'size' ] ) && $quality[ 'size' ] > 0 ) ? $quality[ 'size' ] : '' ); ?>" /> <?php _e( 'Optimize for size','imagemagick-engine' ); ?><br />
|
1024 |
+
<p class="ime-description">
|
1025 |
+
<?php _e( 'Set to 0-100. Higher value gives better image quality but larger file size. Leave empty for default value, computed dynamically.', 'imagemagick-engine' ); ?>
|
1026 |
+
</p>
|
1027 |
</td>
|
1028 |
</tr>
|
1029 |
<tr>
|
1030 |
+
<td colspan="2" class="ime-handle-table-wrapper">
|
1031 |
+
<table border='0' class="ime-handle-table" id="ime-handle-table">
|
1032 |
+
<tr>
|
1033 |
+
<th scope="row" class="ime-headline" valign="top"><?php _e( 'Optimize for','imagemagick-engine' ); ?></th>
|
1034 |
+
<td class="ime-headline ime-fixed-width"><?php _e( 'Quality','imagemagick-engine' ); ?></td>
|
1035 |
+
<td class="ime-headline ime-fixed-width"><?php _e( 'Size','imagemagick-engine' ); ?></td>
|
1036 |
+
<td class="ime-headline"><?php _e( 'None (use WP instead)','imagemagick-engine' ); ?></td>
|
1037 |
+
</tr>
|
1038 |
+
<?php
|
1039 |
foreach($sizes AS $s => $name) {
|
1040 |
+
// fixup for old (pre 1.5.0) options
|
1041 |
+
if ( ! isset( $handle_sizes[ $s] ) || ! $handle_sizes[ $s ] )
|
1042 |
+
$handle_sizes[ $s ] = 'skip';
|
1043 |
+
elseif ( $handle_sizes[ $s ] === true )
|
1044 |
+
$handle_sizes[ $s ] = 'quality';
|
1045 |
+
?>
|
1046 |
+
<tr>
|
1047 |
+
<th scope="row" valign="top"><?php echo $name; ?></th>
|
1048 |
+
<td class="ime-fixed-width">
|
1049 |
+
<input type="radio" name="handle-mode-<?php echo $s; ?>" value="quality" <?php checked( 'quality', $handle_sizes[ $s ] ); ?> />
|
1050 |
+
</td>
|
1051 |
+
<td class="ime-fixed-width">
|
1052 |
+
<input type="radio" name="handle-mode-<?php echo $s; ?>" value="size" <?php checked( 'size', $handle_sizes[ $s ] ); ?> />
|
1053 |
+
</td>
|
1054 |
+
<td>
|
1055 |
+
<input type="radio" name="handle-mode-<?php echo $s; ?>" value="skip" <?php checked( 'skip', $handle_sizes[ $s ] ); ?> />
|
1056 |
+
</td>
|
1057 |
+
</tr>
|
1058 |
+
<?php
|
1059 |
}
|
1060 |
+
?>
|
1061 |
+
</table>
|
1062 |
</td>
|
1063 |
</tr>
|
1064 |
<tr>
|
languages/imagemagick-engine-fr_FR.mo
CHANGED
Binary file
|
languages/imagemagick-engine-fr_FR.po
CHANGED
@@ -2,165 +2,193 @@
|
|
2 |
# This file is distributed under the same license as the ImageMagick Engine package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: ImageMagick Engine 1.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/imagemagick-engine\n"
|
7 |
-
"POT-Creation-Date: 2012-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date: 2012-
|
12 |
"Last-Translator: Damien Fabreguettes <damien.fa@gmail.com>\n"
|
13 |
-
"Language-Team:
|
|
|
|
|
|
|
14 |
|
15 |
-
#: imagemagick-engine.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
msgid "Thumbnail"
|
17 |
-
msgstr "
|
18 |
|
19 |
-
#: imagemagick-engine.php:
|
20 |
msgid "Medium"
|
21 |
msgstr "Medium"
|
22 |
|
23 |
-
#: imagemagick-engine.php:
|
24 |
msgid "Large"
|
25 |
-
msgstr "
|
26 |
|
27 |
-
#: imagemagick-engine.php:
|
28 |
msgid "You dont have any images to regenerate"
|
29 |
msgstr "Il n'y a aucune image à regénérer."
|
30 |
|
31 |
-
#: imagemagick-engine.php:
|
32 |
msgid "All done!"
|
33 |
msgstr "Terminé."
|
34 |
|
35 |
-
#: imagemagick-engine.php:
|
36 |
msgid "Processed %d images"
|
37 |
msgstr "%d images en cours de traitement..."
|
38 |
|
39 |
-
#: imagemagick-engine.php:
|
40 |
msgid "Failed to resize image!"
|
41 |
msgstr "Échec lors du procédé de redimension de l'image."
|
42 |
|
43 |
-
#: imagemagick-engine.php:
|
44 |
-
#: imagemagick-engine.php:
|
45 |
msgid "Resized using ImageMagick Engine"
|
46 |
-
msgstr "
|
47 |
|
48 |
-
#: imagemagick-engine.php:
|
49 |
-
#: imagemagick-engine.php:
|
50 |
msgid "Settings"
|
51 |
msgstr "Paramètres."
|
52 |
|
53 |
-
#: imagemagick-engine.php:
|
54 |
-
msgid "
|
55 |
-
msgstr "
|
56 |
|
57 |
-
#: imagemagick-engine.php:
|
58 |
msgid "Resize using ImageMagick Engine"
|
59 |
-
msgstr "Redimensionner via ImageMagick
|
60 |
|
61 |
-
#: imagemagick-engine.php:
|
62 |
msgid "Settings updated"
|
63 |
-
msgstr "Paramètres mis à jour
|
64 |
|
65 |
-
#: imagemagick-engine.php:
|
66 |
msgid "No valid ImageMagick mode found! Please check %sFAQ%s for installation instructions."
|
67 |
msgstr "Aucun mode ImageMagick valide. Veuillez consulter la %sFAQ%s pour d'éventuels conseils d'installation."
|
68 |
|
69 |
-
#: imagemagick-engine.php:
|
70 |
msgid "ImageMagick Engine is not enabled."
|
71 |
-
msgstr "ImageMagick Engine n'est pas activé."
|
72 |
|
73 |
-
#: imagemagick-engine.php:
|
74 |
msgid "ImageMagick Engine Settings"
|
75 |
-
msgstr "Paramètres de ImageMagick
|
76 |
|
77 |
-
#: imagemagick-engine.php:
|
78 |
msgid "Regenerate Images"
|
79 |
msgstr "Regénérer les images."
|
80 |
|
81 |
-
#: imagemagick-engine.php:
|
82 |
msgid "Sizes"
|
83 |
-
msgstr "Tailles
|
84 |
|
85 |
-
#: imagemagick-engine.php:
|
86 |
msgid "ImageMagick images too"
|
87 |
msgstr "Inclure les images ImageMagick "
|
88 |
|
89 |
-
#: imagemagick-engine.php:
|
90 |
msgid "Resize will use standard WordPress functions."
|
91 |
-
msgstr "
|
92 |
|
93 |
-
#: imagemagick-engine.php:
|
94 |
msgid "Regenerate"
|
95 |
msgstr "Regénérer"
|
96 |
|
97 |
-
#: imagemagick-engine.php:
|
98 |
msgid "(this can take a long time)"
|
99 |
msgstr "(cela peut prendre quelques minutes)"
|
100 |
|
101 |
-
#: imagemagick-engine.php:
|
102 |
msgid "Regenerating images"
|
103 |
msgstr "Traitement des images en cours"
|
104 |
|
105 |
-
#: imagemagick-engine.php:
|
106 |
msgid "You must enable Javascript in order to proceed!"
|
107 |
-
msgstr "Il est nécéssaire d'activer le Javascript"
|
108 |
|
109 |
-
#: imagemagick-engine.php:
|
110 |
msgid "Enable enhanced image engine"
|
111 |
msgstr "Activer le traitement d'image avancé"
|
112 |
|
113 |
-
#: imagemagick-engine.php:
|
114 |
msgid "Image engine"
|
115 |
msgstr "Moteur d'image"
|
116 |
|
117 |
-
#: imagemagick-engine.php:
|
118 |
-
msgid "Imagick PHP module"
|
119 |
-
msgstr "module PHP Imagick PHP"
|
120 |
-
|
121 |
-
#: imagemagick-engine.php:966
|
122 |
msgid "Imagick PHP module found"
|
123 |
-
msgstr "
|
124 |
|
125 |
-
#: imagemagick-engine.php:
|
126 |
msgid "Imagick PHP module not found"
|
127 |
-
msgstr "
|
128 |
|
129 |
-
#: imagemagick-engine.php:
|
130 |
msgid "ImageMagick path"
|
131 |
msgstr "Chemin d'accès vers ImageMagick"
|
132 |
|
133 |
-
#: imagemagick-engine.php:
|
134 |
msgid "Command not found"
|
135 |
-
msgstr "Commande introuvable"
|
136 |
|
137 |
-
#: imagemagick-engine.php:
|
138 |
msgid "Testing command..."
|
139 |
msgstr "Test de la commande ..."
|
140 |
|
141 |
-
#: imagemagick-engine.php:
|
142 |
msgid "Test path"
|
143 |
msgstr "Test du chemin d'accès ..."
|
144 |
|
145 |
-
#: imagemagick-engine.php:
|
146 |
msgid "ImageMagick quality"
|
147 |
-
msgstr "Qualité ImageMagick
|
148 |
|
149 |
-
#: imagemagick-engine.php:
|
150 |
-
msgid "
|
151 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
|
153 |
-
#: imagemagick-engine.php:
|
154 |
-
msgid "
|
155 |
-
msgstr "
|
156 |
|
157 |
-
#: imagemagick-engine.php:
|
158 |
msgid "Save Changes"
|
159 |
-
msgstr "Sauvegarder les
|
160 |
|
161 |
#. Plugin Name of the plugin/theme
|
162 |
msgid "ImageMagick Engine"
|
163 |
-
msgstr "ImageMagick
|
164 |
|
165 |
#. Plugin URI of the plugin/theme
|
166 |
msgid "http://wp.orangelab.se/imagemagick-engine/"
|
2 |
# This file is distributed under the same license as the ImageMagick Engine package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: ImageMagick Engine 1.5.0\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/imagemagick-engine\n"
|
7 |
+
"POT-Creation-Date: 2012-10-15 09:40:54+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2012-10-24 15:23+0100\n"
|
12 |
"Last-Translator: Damien Fabreguettes <damien.fa@gmail.com>\n"
|
13 |
+
"Language-Team: Damien Fa (France) <damien@katorze.com>\n"
|
14 |
+
"X-Poedit-Language: French\n"
|
15 |
+
"X-Poedit-Country: FRANCE\n"
|
16 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
|
18 |
+
#: imagemagick-engine.php:55
|
19 |
+
#: imagemagick-engine.php:1003
|
20 |
+
msgid "Imagick PHP module"
|
21 |
+
msgstr "module PHP Imagick"
|
22 |
+
|
23 |
+
#: imagemagick-engine.php:56
|
24 |
+
msgid "ImageMagick command-line"
|
25 |
+
msgstr "Ligne de commande Image Magick"
|
26 |
+
|
27 |
+
#: imagemagick-engine.php:142
|
28 |
msgid "Thumbnail"
|
29 |
+
msgstr "Miniature"
|
30 |
|
31 |
+
#: imagemagick-engine.php:143
|
32 |
msgid "Medium"
|
33 |
msgstr "Medium"
|
34 |
|
35 |
+
#: imagemagick-engine.php:144
|
36 |
msgid "Large"
|
37 |
+
msgstr "Grand"
|
38 |
|
39 |
+
#: imagemagick-engine.php:732
|
40 |
msgid "You dont have any images to regenerate"
|
41 |
msgstr "Il n'y a aucune image à regénérer."
|
42 |
|
43 |
+
#: imagemagick-engine.php:733
|
44 |
msgid "All done!"
|
45 |
msgstr "Terminé."
|
46 |
|
47 |
+
#: imagemagick-engine.php:734
|
48 |
msgid "Processed %d images"
|
49 |
msgstr "%d images en cours de traitement..."
|
50 |
|
51 |
+
#: imagemagick-engine.php:735
|
52 |
msgid "Failed to resize image!"
|
53 |
msgstr "Échec lors du procédé de redimension de l'image."
|
54 |
|
55 |
+
#: imagemagick-engine.php:736
|
56 |
+
#: imagemagick-engine.php:782
|
57 |
msgid "Resized using ImageMagick Engine"
|
58 |
+
msgstr "Redimensionné via ImageMagick."
|
59 |
|
60 |
+
#: imagemagick-engine.php:750
|
61 |
+
#: imagemagick-engine.php:978
|
62 |
msgid "Settings"
|
63 |
msgstr "Paramètres."
|
64 |
|
65 |
+
#: imagemagick-engine.php:783
|
66 |
+
msgid "Resize image"
|
67 |
+
msgstr "Redimensionner une image"
|
68 |
|
69 |
+
#: imagemagick-engine.php:787
|
70 |
msgid "Resize using ImageMagick Engine"
|
71 |
+
msgstr "Redimensionner via ImageMagick"
|
72 |
|
73 |
+
#: imagemagick-engine.php:881
|
74 |
msgid "Settings updated"
|
75 |
+
msgstr "Paramètres mis à jour"
|
76 |
|
77 |
+
#: imagemagick-engine.php:924
|
78 |
msgid "No valid ImageMagick mode found! Please check %sFAQ%s for installation instructions."
|
79 |
msgstr "Aucun mode ImageMagick valide. Veuillez consulter la %sFAQ%s pour d'éventuels conseils d'installation."
|
80 |
|
81 |
+
#: imagemagick-engine.php:928
|
82 |
msgid "ImageMagick Engine is not enabled."
|
83 |
+
msgstr "\"ImageMagick Engine\" n'est pas activé."
|
84 |
|
85 |
+
#: imagemagick-engine.php:933
|
86 |
msgid "ImageMagick Engine Settings"
|
87 |
+
msgstr "Paramètres de ImageMagick"
|
88 |
|
89 |
+
#: imagemagick-engine.php:940
|
90 |
msgid "Regenerate Images"
|
91 |
msgstr "Regénérer les images."
|
92 |
|
93 |
+
#: imagemagick-engine.php:945
|
94 |
msgid "Sizes"
|
95 |
+
msgstr "Tailles"
|
96 |
|
97 |
+
#: imagemagick-engine.php:955
|
98 |
msgid "ImageMagick images too"
|
99 |
msgstr "Inclure les images ImageMagick "
|
100 |
|
101 |
+
#: imagemagick-engine.php:959
|
102 |
msgid "Resize will use standard WordPress functions."
|
103 |
+
msgstr "Retaillera en utilisant les fonctions standards de Wordpress."
|
104 |
|
105 |
+
#: imagemagick-engine.php:961
|
106 |
msgid "Regenerate"
|
107 |
msgstr "Regénérer"
|
108 |
|
109 |
+
#: imagemagick-engine.php:961
|
110 |
msgid "(this can take a long time)"
|
111 |
msgstr "(cela peut prendre quelques minutes)"
|
112 |
|
113 |
+
#: imagemagick-engine.php:964
|
114 |
msgid "Regenerating images"
|
115 |
msgstr "Traitement des images en cours"
|
116 |
|
117 |
+
#: imagemagick-engine.php:965
|
118 |
msgid "You must enable Javascript in order to proceed!"
|
119 |
+
msgstr "Il est nécéssaire d'activer le Javascript pour continuer."
|
120 |
|
121 |
+
#: imagemagick-engine.php:982
|
122 |
msgid "Enable enhanced image engine"
|
123 |
msgstr "Activer le traitement d'image avancé"
|
124 |
|
125 |
+
#: imagemagick-engine.php:988
|
126 |
msgid "Image engine"
|
127 |
msgstr "Moteur d'image"
|
128 |
|
129 |
+
#: imagemagick-engine.php:1006
|
|
|
|
|
|
|
|
|
130 |
msgid "Imagick PHP module found"
|
131 |
+
msgstr "Imagick PHP module trouvé"
|
132 |
|
133 |
+
#: imagemagick-engine.php:1006
|
134 |
msgid "Imagick PHP module not found"
|
135 |
+
msgstr "Imagick PHP module introuvable."
|
136 |
|
137 |
+
#: imagemagick-engine.php:1010
|
138 |
msgid "ImageMagick path"
|
139 |
msgstr "Chemin d'accès vers ImageMagick"
|
140 |
|
141 |
+
#: imagemagick-engine.php:1013
|
142 |
msgid "Command not found"
|
143 |
+
msgstr "Commande introuvable."
|
144 |
|
145 |
+
#: imagemagick-engine.php:1014
|
146 |
msgid "Testing command..."
|
147 |
msgstr "Test de la commande ..."
|
148 |
|
149 |
+
#: imagemagick-engine.php:1016
|
150 |
msgid "Test path"
|
151 |
msgstr "Test du chemin d'accès ..."
|
152 |
|
153 |
+
#: imagemagick-engine.php:1020
|
154 |
msgid "ImageMagick quality"
|
155 |
+
msgstr "Qualité de ImageMagick"
|
156 |
|
157 |
+
#: imagemagick-engine.php:1022
|
158 |
+
msgid "Optimize for quality"
|
159 |
+
msgstr "basé sur la qualité"
|
160 |
+
|
161 |
+
#: imagemagick-engine.php:1023
|
162 |
+
msgid "Optimize for size"
|
163 |
+
msgstr "basé sur la taille"
|
164 |
+
|
165 |
+
#: imagemagick-engine.php:1025
|
166 |
+
msgid "Set to 0-100. Higher value gives better image quality but larger file size. Leave empty for default value, computed dynamically."
|
167 |
+
msgstr "(valeur de 0 à 100, indice de qualité. Pour la valeur automatique, ne rien entrer dans le champ)."
|
168 |
+
|
169 |
+
#: imagemagick-engine.php:1033
|
170 |
+
msgid "Optimize for"
|
171 |
+
msgstr "Optimisé pour"
|
172 |
+
|
173 |
+
#: imagemagick-engine.php:1034
|
174 |
+
msgid "Quality"
|
175 |
+
msgstr "Qualité"
|
176 |
+
|
177 |
+
#: imagemagick-engine.php:1035
|
178 |
+
msgid "Size"
|
179 |
+
msgstr "Taille"
|
180 |
|
181 |
+
#: imagemagick-engine.php:1036
|
182 |
+
msgid "Skip (use WP instead)"
|
183 |
+
msgstr "Aucun (utiliser WordPress)"
|
184 |
|
185 |
+
#: imagemagick-engine.php:1066
|
186 |
msgid "Save Changes"
|
187 |
+
msgstr "Sauvegarder les modifications"
|
188 |
|
189 |
#. Plugin Name of the plugin/theme
|
190 |
msgid "ImageMagick Engine"
|
191 |
+
msgstr "Moteur ImageMagick"
|
192 |
|
193 |
#. Plugin URI of the plugin/theme
|
194 |
msgid "http://wp.orangelab.se/imagemagick-engine/"
|
languages/imagemagick-engine-sv_SE.mo
CHANGED
Binary file
|
languages/imagemagick-engine-sv_SE.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: ImageMagick Engine\n"
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/imagemagick-engine\n"
|
5 |
-
"POT-Creation-Date: 2012-
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Johan Eenfeldt <johan@orangelab.se>\n"
|
8 |
"Language-Team: \n"
|
@@ -11,149 +11,174 @@ msgstr ""
|
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
|
14 |
-
#: imagemagick-engine.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
msgid "Thumbnail"
|
16 |
msgstr "Miniatyr"
|
17 |
|
18 |
-
#: imagemagick-engine.php:
|
19 |
msgid "Medium"
|
20 |
msgstr "Mellan"
|
21 |
|
22 |
-
#: imagemagick-engine.php:
|
23 |
msgid "Large"
|
24 |
msgstr "Stor"
|
25 |
|
26 |
-
#: imagemagick-engine.php:
|
27 |
msgid "You dont have any images to regenerate"
|
28 |
msgstr "Du har inga bilder att skala om"
|
29 |
|
30 |
-
#: imagemagick-engine.php:
|
31 |
msgid "All done!"
|
32 |
msgstr "Färdigt!"
|
33 |
|
34 |
-
#: imagemagick-engine.php:
|
35 |
msgid "Processed %d images"
|
36 |
msgstr "Skalat om %d bilder"
|
37 |
|
38 |
-
#: imagemagick-engine.php:
|
39 |
msgid "Failed to resize image!"
|
40 |
msgstr "Kunde inte skala om bild!"
|
41 |
|
42 |
-
#: imagemagick-engine.php:
|
43 |
-
#: imagemagick-engine.php:
|
44 |
msgid "Resized using ImageMagick Engine"
|
45 |
msgstr "Omskalad av ImageMagick Engine"
|
46 |
|
47 |
-
#: imagemagick-engine.php:
|
48 |
-
#: imagemagick-engine.php:
|
49 |
msgid "Settings"
|
50 |
msgstr "Inställningar"
|
51 |
|
52 |
-
#: imagemagick-engine.php:
|
53 |
msgid "Resize image"
|
54 |
msgstr "Skala om bild"
|
55 |
|
56 |
-
#: imagemagick-engine.php:
|
57 |
msgid "Resize using ImageMagick Engine"
|
58 |
msgstr "Omskala med ImageMagick Engine"
|
59 |
|
60 |
-
#: imagemagick-engine.php:
|
61 |
msgid "Settings updated"
|
62 |
msgstr "Inställningar uppdaterade"
|
63 |
|
64 |
-
#: imagemagick-engine.php:
|
65 |
msgid "No valid ImageMagick mode found! Please check %sFAQ%s for installation instructions."
|
66 |
msgstr "Ingen fungerande ImageMagick-installation hittades! Se %sFAQ%s för instruktioner hur du installerar."
|
67 |
|
68 |
-
#: imagemagick-engine.php:
|
69 |
msgid "ImageMagick Engine is not enabled."
|
70 |
msgstr "ImageMagick Engine är inte aktiverad."
|
71 |
|
72 |
-
#: imagemagick-engine.php:
|
73 |
msgid "ImageMagick Engine Settings"
|
74 |
msgstr "ImageMagick Engine Inställningar"
|
75 |
|
76 |
-
#: imagemagick-engine.php:
|
77 |
msgid "Regenerate Images"
|
78 |
msgstr "Skala om bilder"
|
79 |
|
80 |
-
#: imagemagick-engine.php:
|
81 |
msgid "Sizes"
|
82 |
msgstr "Bilder"
|
83 |
|
84 |
-
#: imagemagick-engine.php:
|
85 |
msgid "ImageMagick images too"
|
86 |
msgstr "ImageMagick bilder också"
|
87 |
|
88 |
-
#: imagemagick-engine.php:
|
89 |
msgid "Resize will use standard WordPress functions."
|
90 |
msgstr "Omskalningen kommer använda Wordpress standardfunktioner."
|
91 |
|
92 |
-
#: imagemagick-engine.php:
|
93 |
msgid "Regenerate"
|
94 |
msgstr "Skala om"
|
95 |
|
96 |
-
#: imagemagick-engine.php:
|
97 |
msgid "(this can take a long time)"
|
98 |
msgstr "(det här kan ta lång tid)"
|
99 |
|
100 |
-
#: imagemagick-engine.php:
|
101 |
msgid "Regenerating images"
|
102 |
msgstr "Skalar om bilder"
|
103 |
|
104 |
-
#: imagemagick-engine.php:
|
105 |
msgid "You must enable Javascript in order to proceed!"
|
106 |
msgstr "Du måste tillåta Javascript i din webbläsare för att kunna fortsätta!"
|
107 |
|
108 |
-
#: imagemagick-engine.php:
|
109 |
msgid "Enable enhanced image engine"
|
110 |
msgstr "Aktivera ImageMagick Engine"
|
111 |
|
112 |
-
#: imagemagick-engine.php:
|
113 |
msgid "Image engine"
|
114 |
msgstr "Bildmotor"
|
115 |
|
116 |
-
#: imagemagick-engine.php:
|
117 |
-
msgid "Imagick PHP module"
|
118 |
-
msgstr "Imagick PHP modul"
|
119 |
-
|
120 |
-
#: imagemagick-engine.php:966
|
121 |
msgid "Imagick PHP module found"
|
122 |
msgstr "Imagick PHP modul finns."
|
123 |
|
124 |
-
#: imagemagick-engine.php:
|
125 |
msgid "Imagick PHP module not found"
|
126 |
msgstr "Imagick PHP modul finns ej."
|
127 |
|
128 |
-
#: imagemagick-engine.php:
|
129 |
msgid "ImageMagick path"
|
130 |
msgstr "ImageMagick sökväg"
|
131 |
|
132 |
-
#: imagemagick-engine.php:
|
133 |
msgid "Command not found"
|
134 |
msgstr "Kommando hittades inte"
|
135 |
|
136 |
-
#: imagemagick-engine.php:
|
137 |
msgid "Testing command..."
|
138 |
msgstr "Testar kommando..."
|
139 |
|
140 |
-
#: imagemagick-engine.php:
|
141 |
msgid "Test path"
|
142 |
msgstr "Testa sökväg"
|
143 |
|
144 |
-
#: imagemagick-engine.php:
|
145 |
msgid "ImageMagick quality"
|
146 |
-
msgstr "ImageMagick
|
147 |
|
148 |
-
#: imagemagick-engine.php:
|
149 |
-
msgid "
|
150 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
|
152 |
-
#: imagemagick-engine.php:
|
153 |
-
msgid "
|
154 |
-
msgstr "
|
155 |
|
156 |
-
#: imagemagick-engine.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
msgid "Save Changes"
|
158 |
msgstr "Spara ändringar"
|
159 |
|
@@ -177,6 +202,9 @@ msgstr "Orangelab"
|
|
177 |
msgid "http://www.orangelab.se"
|
178 |
msgstr "http://www.orangelab.se"
|
179 |
|
|
|
|
|
|
|
180 |
#~ msgid "Force resize"
|
181 |
#~ msgstr "Tvinga Omskalning"
|
182 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: ImageMagick Engine\n"
|
4 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/imagemagick-engine\n"
|
5 |
+
"POT-Creation-Date: 2012-10-15 09:40:54+00:00\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Johan Eenfeldt <johan@orangelab.se>\n"
|
8 |
"Language-Team: \n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
|
14 |
+
#: imagemagick-engine.php:55
|
15 |
+
#: imagemagick-engine.php:1003
|
16 |
+
msgid "Imagick PHP module"
|
17 |
+
msgstr "Imagick PHP modul"
|
18 |
+
|
19 |
+
#: imagemagick-engine.php:56
|
20 |
+
msgid "ImageMagick command-line"
|
21 |
+
msgstr "ImageMagick kommando"
|
22 |
+
|
23 |
+
#: imagemagick-engine.php:142
|
24 |
msgid "Thumbnail"
|
25 |
msgstr "Miniatyr"
|
26 |
|
27 |
+
#: imagemagick-engine.php:143
|
28 |
msgid "Medium"
|
29 |
msgstr "Mellan"
|
30 |
|
31 |
+
#: imagemagick-engine.php:144
|
32 |
msgid "Large"
|
33 |
msgstr "Stor"
|
34 |
|
35 |
+
#: imagemagick-engine.php:732
|
36 |
msgid "You dont have any images to regenerate"
|
37 |
msgstr "Du har inga bilder att skala om"
|
38 |
|
39 |
+
#: imagemagick-engine.php:733
|
40 |
msgid "All done!"
|
41 |
msgstr "Färdigt!"
|
42 |
|
43 |
+
#: imagemagick-engine.php:734
|
44 |
msgid "Processed %d images"
|
45 |
msgstr "Skalat om %d bilder"
|
46 |
|
47 |
+
#: imagemagick-engine.php:735
|
48 |
msgid "Failed to resize image!"
|
49 |
msgstr "Kunde inte skala om bild!"
|
50 |
|
51 |
+
#: imagemagick-engine.php:736
|
52 |
+
#: imagemagick-engine.php:782
|
53 |
msgid "Resized using ImageMagick Engine"
|
54 |
msgstr "Omskalad av ImageMagick Engine"
|
55 |
|
56 |
+
#: imagemagick-engine.php:750
|
57 |
+
#: imagemagick-engine.php:978
|
58 |
msgid "Settings"
|
59 |
msgstr "Inställningar"
|
60 |
|
61 |
+
#: imagemagick-engine.php:783
|
62 |
msgid "Resize image"
|
63 |
msgstr "Skala om bild"
|
64 |
|
65 |
+
#: imagemagick-engine.php:787
|
66 |
msgid "Resize using ImageMagick Engine"
|
67 |
msgstr "Omskala med ImageMagick Engine"
|
68 |
|
69 |
+
#: imagemagick-engine.php:881
|
70 |
msgid "Settings updated"
|
71 |
msgstr "Inställningar uppdaterade"
|
72 |
|
73 |
+
#: imagemagick-engine.php:924
|
74 |
msgid "No valid ImageMagick mode found! Please check %sFAQ%s for installation instructions."
|
75 |
msgstr "Ingen fungerande ImageMagick-installation hittades! Se %sFAQ%s för instruktioner hur du installerar."
|
76 |
|
77 |
+
#: imagemagick-engine.php:928
|
78 |
msgid "ImageMagick Engine is not enabled."
|
79 |
msgstr "ImageMagick Engine är inte aktiverad."
|
80 |
|
81 |
+
#: imagemagick-engine.php:933
|
82 |
msgid "ImageMagick Engine Settings"
|
83 |
msgstr "ImageMagick Engine Inställningar"
|
84 |
|
85 |
+
#: imagemagick-engine.php:940
|
86 |
msgid "Regenerate Images"
|
87 |
msgstr "Skala om bilder"
|
88 |
|
89 |
+
#: imagemagick-engine.php:945
|
90 |
msgid "Sizes"
|
91 |
msgstr "Bilder"
|
92 |
|
93 |
+
#: imagemagick-engine.php:955
|
94 |
msgid "ImageMagick images too"
|
95 |
msgstr "ImageMagick bilder också"
|
96 |
|
97 |
+
#: imagemagick-engine.php:959
|
98 |
msgid "Resize will use standard WordPress functions."
|
99 |
msgstr "Omskalningen kommer använda Wordpress standardfunktioner."
|
100 |
|
101 |
+
#: imagemagick-engine.php:961
|
102 |
msgid "Regenerate"
|
103 |
msgstr "Skala om"
|
104 |
|
105 |
+
#: imagemagick-engine.php:961
|
106 |
msgid "(this can take a long time)"
|
107 |
msgstr "(det här kan ta lång tid)"
|
108 |
|
109 |
+
#: imagemagick-engine.php:964
|
110 |
msgid "Regenerating images"
|
111 |
msgstr "Skalar om bilder"
|
112 |
|
113 |
+
#: imagemagick-engine.php:965
|
114 |
msgid "You must enable Javascript in order to proceed!"
|
115 |
msgstr "Du måste tillåta Javascript i din webbläsare för att kunna fortsätta!"
|
116 |
|
117 |
+
#: imagemagick-engine.php:982
|
118 |
msgid "Enable enhanced image engine"
|
119 |
msgstr "Aktivera ImageMagick Engine"
|
120 |
|
121 |
+
#: imagemagick-engine.php:988
|
122 |
msgid "Image engine"
|
123 |
msgstr "Bildmotor"
|
124 |
|
125 |
+
#: imagemagick-engine.php:1006
|
|
|
|
|
|
|
|
|
126 |
msgid "Imagick PHP module found"
|
127 |
msgstr "Imagick PHP modul finns."
|
128 |
|
129 |
+
#: imagemagick-engine.php:1006
|
130 |
msgid "Imagick PHP module not found"
|
131 |
msgstr "Imagick PHP modul finns ej."
|
132 |
|
133 |
+
#: imagemagick-engine.php:1010
|
134 |
msgid "ImageMagick path"
|
135 |
msgstr "ImageMagick sökväg"
|
136 |
|
137 |
+
#: imagemagick-engine.php:1013
|
138 |
msgid "Command not found"
|
139 |
msgstr "Kommando hittades inte"
|
140 |
|
141 |
+
#: imagemagick-engine.php:1014
|
142 |
msgid "Testing command..."
|
143 |
msgstr "Testar kommando..."
|
144 |
|
145 |
+
#: imagemagick-engine.php:1016
|
146 |
msgid "Test path"
|
147 |
msgstr "Testa sökväg"
|
148 |
|
149 |
+
#: imagemagick-engine.php:1020
|
150 |
msgid "ImageMagick quality"
|
151 |
+
msgstr "ImageMagick bildkvalité"
|
152 |
|
153 |
+
#: imagemagick-engine.php:1022
|
154 |
+
msgid "Optimize for quality"
|
155 |
+
msgstr "Vid optimering för kvalité"
|
156 |
+
|
157 |
+
#: imagemagick-engine.php:1023
|
158 |
+
msgid "Optimize for size"
|
159 |
+
msgstr "Vid optimering för storlek"
|
160 |
+
|
161 |
+
#: imagemagick-engine.php:1025
|
162 |
+
msgid "Set to 0-100. Higher value gives better image quality but larger file size. Leave empty for default value, computed dynamically."
|
163 |
+
msgstr "Sätt till 0-100. Högre värden ger bättre bildkvalité men större filstorlek. Lämna tomt för automatiskt beräknat värde."
|
164 |
|
165 |
+
#: imagemagick-engine.php:1033
|
166 |
+
msgid "Optimize for"
|
167 |
+
msgstr "Optimera"
|
168 |
|
169 |
+
#: imagemagick-engine.php:1034
|
170 |
+
msgid "Quality"
|
171 |
+
msgstr "Kvalité"
|
172 |
+
|
173 |
+
#: imagemagick-engine.php:1035
|
174 |
+
msgid "Size"
|
175 |
+
msgstr "Storlek"
|
176 |
+
|
177 |
+
#: imagemagick-engine.php:1036
|
178 |
+
msgid "None (use WP instead)"
|
179 |
+
msgstr "Inget (använd WP istället)"
|
180 |
+
|
181 |
+
#: imagemagick-engine.php:1066
|
182 |
msgid "Save Changes"
|
183 |
msgstr "Spara ändringar"
|
184 |
|
202 |
msgid "http://www.orangelab.se"
|
203 |
msgstr "http://www.orangelab.se"
|
204 |
|
205 |
+
#~ msgid "Handle sizes"
|
206 |
+
#~ msgstr "Hantera storlekar"
|
207 |
+
|
208 |
#~ msgid "Force resize"
|
209 |
#~ msgstr "Tvinga Omskalning"
|
210 |
|
languages/imagemagick-engine.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the ImageMagick Engine package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: ImageMagick Engine 1.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/imagemagick-engine\n"
|
7 |
-
"POT-Creation-Date: 2012-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -12,149 +12,175 @@ msgstr ""
|
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
-
#: imagemagick-engine.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
msgid "Thumbnail"
|
17 |
msgstr ""
|
18 |
|
19 |
-
#: imagemagick-engine.php:
|
20 |
msgid "Medium"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: imagemagick-engine.php:
|
24 |
msgid "Large"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: imagemagick-engine.php:
|
28 |
msgid "You dont have any images to regenerate"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: imagemagick-engine.php:
|
32 |
msgid "All done!"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: imagemagick-engine.php:
|
36 |
msgid "Processed %d images"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: imagemagick-engine.php:
|
40 |
msgid "Failed to resize image!"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: imagemagick-engine.php:
|
44 |
msgid "Resized using ImageMagick Engine"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: imagemagick-engine.php:
|
48 |
msgid "Settings"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: imagemagick-engine.php:
|
52 |
msgid "Resize image"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: imagemagick-engine.php:
|
56 |
msgid "Resize using ImageMagick Engine"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: imagemagick-engine.php:
|
60 |
msgid "Settings updated"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: imagemagick-engine.php:
|
64 |
msgid ""
|
65 |
"No valid ImageMagick mode found! Please check %sFAQ%s for installation "
|
66 |
"instructions."
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: imagemagick-engine.php:
|
70 |
msgid "ImageMagick Engine is not enabled."
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: imagemagick-engine.php:
|
74 |
msgid "ImageMagick Engine Settings"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: imagemagick-engine.php:
|
78 |
msgid "Regenerate Images"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: imagemagick-engine.php:
|
82 |
msgid "Sizes"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: imagemagick-engine.php:
|
86 |
msgid "ImageMagick images too"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: imagemagick-engine.php:
|
90 |
msgid "Resize will use standard WordPress functions."
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: imagemagick-engine.php:
|
94 |
msgid "Regenerate"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: imagemagick-engine.php:
|
98 |
msgid "(this can take a long time)"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: imagemagick-engine.php:
|
102 |
msgid "Regenerating images"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: imagemagick-engine.php:
|
106 |
msgid "You must enable Javascript in order to proceed!"
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: imagemagick-engine.php:
|
110 |
msgid "Enable enhanced image engine"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: imagemagick-engine.php:
|
114 |
msgid "Image engine"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: imagemagick-engine.php:
|
118 |
-
msgid "Imagick PHP module"
|
119 |
-
msgstr ""
|
120 |
-
|
121 |
-
#: imagemagick-engine.php:966
|
122 |
msgid "Imagick PHP module found"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: imagemagick-engine.php:
|
126 |
msgid "Imagick PHP module not found"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: imagemagick-engine.php:
|
130 |
msgid "ImageMagick path"
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: imagemagick-engine.php:
|
134 |
msgid "Command not found"
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: imagemagick-engine.php:
|
138 |
msgid "Testing command..."
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: imagemagick-engine.php:
|
142 |
msgid "Test path"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: imagemagick-engine.php:
|
146 |
msgid "ImageMagick quality"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: imagemagick-engine.php:
|
150 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: imagemagick-engine.php:
|
154 |
-
msgid "
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: imagemagick-engine.php:
|
158 |
msgid "Save Changes"
|
159 |
msgstr ""
|
160 |
|
2 |
# This file is distributed under the same license as the ImageMagick Engine package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: ImageMagick Engine 1.5.0\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/imagemagick-engine\n"
|
7 |
+
"POT-Creation-Date: 2012-10-15 09:40:54+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
+
#: imagemagick-engine.php:55 imagemagick-engine.php:1003
|
16 |
+
msgid "Imagick PHP module"
|
17 |
+
msgstr ""
|
18 |
+
|
19 |
+
#: imagemagick-engine.php:56
|
20 |
+
msgid "ImageMagick command-line"
|
21 |
+
msgstr ""
|
22 |
+
|
23 |
+
#: imagemagick-engine.php:142
|
24 |
msgid "Thumbnail"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: imagemagick-engine.php:143
|
28 |
msgid "Medium"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: imagemagick-engine.php:144
|
32 |
msgid "Large"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: imagemagick-engine.php:732
|
36 |
msgid "You dont have any images to regenerate"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: imagemagick-engine.php:733
|
40 |
msgid "All done!"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: imagemagick-engine.php:734
|
44 |
msgid "Processed %d images"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: imagemagick-engine.php:735
|
48 |
msgid "Failed to resize image!"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: imagemagick-engine.php:736 imagemagick-engine.php:782
|
52 |
msgid "Resized using ImageMagick Engine"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: imagemagick-engine.php:750 imagemagick-engine.php:978
|
56 |
msgid "Settings"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: imagemagick-engine.php:783
|
60 |
msgid "Resize image"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: imagemagick-engine.php:787
|
64 |
msgid "Resize using ImageMagick Engine"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: imagemagick-engine.php:881
|
68 |
msgid "Settings updated"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: imagemagick-engine.php:924
|
72 |
msgid ""
|
73 |
"No valid ImageMagick mode found! Please check %sFAQ%s for installation "
|
74 |
"instructions."
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: imagemagick-engine.php:928
|
78 |
msgid "ImageMagick Engine is not enabled."
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: imagemagick-engine.php:933
|
82 |
msgid "ImageMagick Engine Settings"
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: imagemagick-engine.php:940
|
86 |
msgid "Regenerate Images"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: imagemagick-engine.php:945
|
90 |
msgid "Sizes"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: imagemagick-engine.php:955
|
94 |
msgid "ImageMagick images too"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: imagemagick-engine.php:959
|
98 |
msgid "Resize will use standard WordPress functions."
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: imagemagick-engine.php:961
|
102 |
msgid "Regenerate"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: imagemagick-engine.php:961
|
106 |
msgid "(this can take a long time)"
|
107 |
msgstr ""
|
108 |
|
109 |
+
#: imagemagick-engine.php:964
|
110 |
msgid "Regenerating images"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: imagemagick-engine.php:965
|
114 |
msgid "You must enable Javascript in order to proceed!"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: imagemagick-engine.php:982
|
118 |
msgid "Enable enhanced image engine"
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: imagemagick-engine.php:988
|
122 |
msgid "Image engine"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: imagemagick-engine.php:1006
|
|
|
|
|
|
|
|
|
126 |
msgid "Imagick PHP module found"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: imagemagick-engine.php:1006
|
130 |
msgid "Imagick PHP module not found"
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: imagemagick-engine.php:1010
|
134 |
msgid "ImageMagick path"
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: imagemagick-engine.php:1013
|
138 |
msgid "Command not found"
|
139 |
msgstr ""
|
140 |
|
141 |
+
#: imagemagick-engine.php:1014
|
142 |
msgid "Testing command..."
|
143 |
msgstr ""
|
144 |
|
145 |
+
#: imagemagick-engine.php:1016
|
146 |
msgid "Test path"
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: imagemagick-engine.php:1020
|
150 |
msgid "ImageMagick quality"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: imagemagick-engine.php:1022
|
154 |
+
msgid "Optimize for quality"
|
155 |
+
msgstr ""
|
156 |
+
|
157 |
+
#: imagemagick-engine.php:1023
|
158 |
+
msgid "Optimize for size"
|
159 |
+
msgstr ""
|
160 |
+
|
161 |
+
#: imagemagick-engine.php:1025
|
162 |
+
msgid ""
|
163 |
+
"Set to 0-100. Higher value gives better image quality but larger file size. "
|
164 |
+
"Leave empty for default value, computed dynamically."
|
165 |
+
msgstr ""
|
166 |
+
|
167 |
+
#: imagemagick-engine.php:1033
|
168 |
+
msgid "Optimize for"
|
169 |
+
msgstr ""
|
170 |
+
|
171 |
+
#: imagemagick-engine.php:1034
|
172 |
+
msgid "Quality"
|
173 |
+
msgstr ""
|
174 |
+
|
175 |
+
#: imagemagick-engine.php:1035
|
176 |
+
msgid "Size"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: imagemagick-engine.php:1036
|
180 |
+
msgid "None (use WP instead)"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: imagemagick-engine.php:1066
|
184 |
msgid "Save Changes"
|
185 |
msgstr ""
|
186 |
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: orangelab
|
3 |
Tags: image, images, picture, imagemagick, gd
|
4 |
Requires at least: 2.9
|
5 |
-
Tested up to: 3.
|
6 |
-
Stable tag: 1.
|
7 |
|
8 |
Improve the quality of re-sized images by replacing standard GD library with ImageMagick.
|
9 |
|
@@ -16,7 +16,8 @@ Features
|
|
16 |
* Preserve embedded color profile in re-sized image
|
17 |
* Automatically recognize custom image sizes
|
18 |
* Allow regeneration of existing images (optionally for selected image sizes only)
|
19 |
-
* Configure image quality or use dynamically computed default value
|
|
|
20 |
|
21 |
Translations: French, German, Swedish
|
22 |
|
@@ -74,6 +75,16 @@ You'll probably have problems with various other plugins too unless you fix this
|
|
74 |
|
75 |
== Changelog ==
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
= 1.4.0 =
|
78 |
* Tested with WP 3.3.1
|
79 |
* Resize / Force resize button in media library
|
2 |
Contributors: orangelab
|
3 |
Tags: image, images, picture, imagemagick, gd
|
4 |
Requires at least: 2.9
|
5 |
+
Tested up to: 3.5-beta2
|
6 |
+
Stable tag: 1.5.0
|
7 |
|
8 |
Improve the quality of re-sized images by replacing standard GD library with ImageMagick.
|
9 |
|
16 |
* Preserve embedded color profile in re-sized image
|
17 |
* Automatically recognize custom image sizes
|
18 |
* Allow regeneration of existing images (optionally for selected image sizes only)
|
19 |
+
* Configure image quality or use dynamically computed default value
|
20 |
+
* Optimize different image sizes for either quality or size
|
21 |
|
22 |
Translations: French, German, Swedish
|
23 |
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 1.5.0 =
|
79 |
+
* Tested with WP 3.5-beta2
|
80 |
+
* Allow choosing between optimize for quality & size for each image size
|
81 |
+
* Fix resize UI bug in media pop-up and new attachment editor (post.php)
|
82 |
+
* Add "ime_after_resize" action after resize
|
83 |
+
* Catch Imagick exceptions
|
84 |
+
* Modified code now uses more of WP standard coding style
|
85 |
+
* Updated French translation, thanks to Damien Fabreguettes
|
86 |
+
* Updated Swedish translation for new strings
|
87 |
+
|
88 |
= 1.4.0 =
|
89 |
* Tested with WP 3.3.1
|
90 |
* Resize / Force resize button in media library
|