Support » Plugin: Post Thumbnail Editor » Not working with "ImageMagick Engine" plugin

  • Hi sewpafly,

    I love your plugin! Congrats!

    Unfortunately, I just realize that is not working with ImageMagick Engine.

    I’m using your plugin last version 1.0.7, on wp 3.3.1 with ImageMagick Engine 1.5.0.

    I know that for a lot of user is not a problem, but for those who have to crop big thumbnails and do care about qualaty, it will be limititative.

    You can see the diferencs, with and without Imagemacick: here and here.

    Do you think will be possible to fix it? (would be awesome!) or there is any similar alternative to re-crop the thumbnails you would recommend?

    Thank you!

    http://wordpress.org/extend/plugins/post-thumbnail-editor/

Viewing 15 replies - 1 through 15 (of 22 total)
  • Thread Starter lc

    (@lortnoc)

    Correction: my WordPress version is 3.5.1.

    Plugin Author sewpafly

    (@sewpafly)

    Try this latest version and let me know if it works out for you…

    Thread Starter lc

    (@lortnoc)

    thank you!

    unfortunately, we still have the same problem. as you can see here, the one on the top croped with wordpress and ImageMagick, and on the botton the one made with this plugin and the “WordPress GD Image Editor”. as you can see the details are poor and the color profil is diferente.

    do you think is possible to fixe the plugin?

    Plugin Author sewpafly

    (@sewpafly)

    The latest code that I pointed to uses the same functionality that wordpress does, specifically I call wp_get_image_editor() and I’m dependent upon whichever editor wordpress wants to give me. I haven’t looked into how the imagemagick plugin creates the editor.

    Thread Starter lc

    (@lortnoc)

    can this help you? (sorry I’m a bit out of all this stuff).

    Plugin Author sewpafly

    (@sewpafly)

    I dove into the wordpress code (3.5+), and it appears that wordpress should be passing the imagemagick editor to PTE if it’s installed. To double check, you can add this to post-thumbnail-editor/php/functions.php (line 423 after the $editor = wp_get_image_editor() call:

    if ( is_a( $editor, "WP_Image_Editor_Imagick" ) ) $logger->debug( "EDITOR: ImageMagick" );
    if ( is_a( $editor, "WP_Image_Editor_GD" ) ) $logger->debug( "EDITOR: GD" );

    I updated the file here, if you just want to overwrite your current one with this. (Also enable debugging for PTE @ Settings → Post Thumbnail Editor).

    Thread Starter lc

    (@lortnoc)

    I did all that steps (i overwrote the funcions.php from your github), but still not working.

    I know that for most part of the people this is not a big issue. It’s not about the poor detail of the re-cropped jpeg.. But it can be frustrating If you spend hours correcting color, and then you got a big thumbnail with a different color profile.

    Maybe I have something wrong on my side.

    Plugin Author sewpafly

    (@sewpafly)

    Can you copy the debug output somewhere I can see it?

    Thread Starter lc

    (@lortnoc)

    sorry, i forgot it. here it is:

    20130221 18:58:13 - [string] ===== STARTUP PHP MESSAGES =====
    20130221 18:58:13 - [string] ===== SERVER LOG =====
    20130221 18:58:13 - [string] [DEBUG] - PARAMETERS: Array
    (
        [action] => pte_ajax
        [pte-action] => launch
        [id] => 7791
    )
    
    20130221 18:58:13 - [string] [DEBUG] - PTE-VERSION: 2.0.0-alpha
    20130221 18:58:13 - [string] [DEBUG] - USER-AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17
    20130221 18:58:13 - [string] [DEBUG] - WORDPRESS: 3.5.1
    20130221 18:58:13 - [string] [DEBUG] - SIZER: 0.33333333
    20130221 18:58:13 - [string] [DEBUG] - SIZES: Array
    (
        [thumbnail] => Array
            (
                [width] => 350
                [height] => 900
                [crop] =>
                [current] => Array
                    (
                        [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-350x232.jpg
                        [width] => 350
                        [height] => 232
                        [path] => 2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-350x232.jpg
                        [url] => http://cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-350x232.jpg
                    )
    
            )
    
        [medium] => Array
            (
                [width] => 342
                [height] => 700
                [crop] =>
                [current] => Array
                    (
                        [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-342x227.jpg
                        [width] => 342
                        [height] => 227
                        [path] => 2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-342x227.jpg
                        [url] => http://cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-342x227.jpg
                    )
    
            )
    
        [large] => Array
            (
                [width] => 1050
                [height] => 1600
                [crop] =>
                [current] => Array
                    (
                        [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x698.jpg
                        [width] => 1050
                        [height] => 698
                        [path] => 2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x698.jpg
                        [url] => http://cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x698.jpg
                    )
    
            )
    
        [150x100crop] => Array
            (
                [width] => 175
                [height] => 117
                [crop] => 1
                [current] => Array
                    (
                        [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-175x117.jpg
                        [width] => 175
                        [height] => 117
                        [path] => 2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-175x117.jpg
                        [url] => http://cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-175x117.jpg
                    )
    
            )
    
        [700xfree] => Array
            (
                [width] => 700
                [height] => 1400
                [crop] => 0
                [current] => Array
                    (
                        [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-700x465.jpg
                        [width] => 700
                        [height] => 465
                        [path] => 2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-700x465.jpg
                        [url] => http://cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-700x465.jpg
                    )
    
            )
    
        [1050x436slider] => Array
            (
                [width] => 1050
                [height] => 436
                [crop] => 1
                [current] => Array
                    (
                        [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
                        [width] => 1050
                        [height] => 436
                        [path] => 2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
                        [url] => http://cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
                    )
    
            )
    
    )
    
    20130221 18:58:16 - [string] ===== REFLOW =====
    20130221 18:58:16 - [string] ===== FIXING THICKBOX =====
    20130221 18:58:16 - [string] WINDOW WIDTH: 779
    20130221 18:58:22 - [string] ===== SETTING ASPECTRATIO: 525:218 =====
    20130221 18:58:22 - [string] ENABLING SUBMIT
    20130221 18:58:24 - [string] DISABLING SUBMIT
    20130221 18:58:26 - [string] DISABLING SUBMIT
    20130221 18:58:27 - [string] DISABLING SUBMIT
    20130221 18:58:30 - [string] DISABLING SUBMIT
    20130221 18:58:41 - [string] ===== RESIZE-IMAGES =====
    20130221 18:58:41 - [object] {"id":"7791","action":"pte_ajax","pte-action":"resize-images","pte-sizes[]":["1050x436slider"],"x":0,"y":147,"w":1200,"h":498}
    20130221 18:58:43 - [string] ===== RESIZE-IMAGES SUCCESS =====
    20130221 18:58:43 - [object] {"thumbnails":{"1050x436slider":{"url":"http://cityburns.com/wp-content/uploads/ptetmp/7791/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg","file":"urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg"}},"pte-nonce":"a0b80aa401","pte-delete-nonce":"aae15ada4b","error":[],"log":["[DEBUG] - PARAMETERS: Array\n(\n    [id] => 7791\n    [action] => pte_ajax\n    [pte-action] => resize-images\n    [pte-sizes] => Array\n        (\n            [0] => 1050x436slider\n        )\n\n    [x] => 0\n    [y] => 147\n    [w] => 1200\n    [h] => 498\n)\n","[DEBUG] - BASE FILE DIMENSIONS/INFO: Array\n(\n    [0] => 1200\n    [1] => 798\n    [2] => 2\n    [3] => width=\"1200\" height=\"798\"\n    [bits] => 8\n    [channels] => 3\n    [mime] => image/jpeg\n)\n","[DEBUG] - GETwidthheightCROPPED","[DEBUG] - WIDTHxHEIGHT: 1050 x 436","[DEBUG] - EDITOR: GD","[DEBUG] - COMPRESSION: 100"]}
    20130221 18:58:43 - [string] ===== SERVER LOG =====
    20130221 18:58:43 - [string] [DEBUG] - PARAMETERS: Array
    (
        [id] => 7791
        [action] => pte_ajax
        [pte-action] => resize-images
        [pte-sizes] => Array
            (
                [0] => 1050x436slider
            )
    
        [x] => 0
        [y] => 147
        [w] => 1200
        [h] => 498
    )
    
    20130221 18:58:43 - [string] [DEBUG] - BASE FILE DIMENSIONS/INFO: Array
    (
        [0] => 1200
        [1] => 798
        [2] => 2
        [3] => width="1200" height="798"
        [bits] => 8
        [channels] => 3
        [mime] => image/jpeg
    )
    
    20130221 18:58:43 - [string] [DEBUG] - GETwidthheightCROPPED
    20130221 18:58:43 - [string] [DEBUG] - WIDTHxHEIGHT: 1050 x 436
    20130221 18:58:43 - [string] [DEBUG] - EDITOR: GD
    20130221 18:58:43 - [string] [DEBUG] - COMPRESSION: 100
    20130221 18:58:43 - [array] [-1,-779,true]
    20130221 18:58:44 - [array] [-1,0,false]
    20130221 18:58:44 - [string] running callback with no arguments
    20130221 18:58:44 - [string] finished running callback
    20130221 18:58:44 - [string] ===== CHECK SUBMIT BUTTON =====
    20130221 18:58:44 - [string] ENABLE
    20130221 18:58:48 - [string] ===== CONFIRM-IMAGES =====
    20130221 18:58:48 - [object] {"id":"7791","action":"pte_ajax","pte-action":"confirm-images","pte-nonce":"a0b80aa401","pte-confirm":{"1050x436slider":"urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg"}}
    20130221 18:58:50 - [string] ===== CONFIRM-IMAGES SUCCESS =====
    20130221 18:58:50 - [object] {"success":"Yay!","error":[],"log":["[DEBUG] - PARAMETERS: Array\n(\n    [id] => 7791\n    [action] => pte_ajax\n    [pte-action] => confirm-images\n    [pte-nonce] => a0b80aa401\n    [pte-confirm] => Array\n        (\n            [1050x436slider] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg\n        )\n\n)\n","[DEBUG] - pte_get_all_alternate_size_information returned: Array\n(\n    [1050x436slider] => Array\n        (\n            [width] => 1050\n            [height] => 436\n            [crop] => 1\n            [current] => Array\n                (\n                    [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg\n                    [width] => 1050\n                    [height] => 436\n                    [path] => 2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg\n                    [url] => http://cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg\n                )\n\n        )\n\n)\n","[DEBUG] - Deleting old thumbnail: /home/tiagogon/public_html/cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg","[DEBUG] - Moving '/home/tiagogon/public_html/cityburns.com/wp-content/uploads/ptetmp/7791/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg' to '/home/tiagogon/public_html/cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg'","[DEBUG] - Updating '1050x436slider' metadata: Array\n(\n    [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg\n    [width] => 1050\n    [height] => 436\n)\n"]}
    20130221 18:58:50 - [string] ===== SERVER LOG =====
    20130221 18:58:50 - [string] [DEBUG] - PARAMETERS: Array
    (
        [id] => 7791
        [action] => pte_ajax
        [pte-action] => confirm-images
        [pte-nonce] => a0b80aa401
        [pte-confirm] => Array
            (
                [1050x436slider] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
            )
    
    )
    
    20130221 18:58:50 - [string] [DEBUG] - pte_get_all_alternate_size_information returned: Array
    (
        [1050x436slider] => Array
            (
                [width] => 1050
                [height] => 436
                [crop] => 1
                [current] => Array
                    (
                        [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
                        [width] => 1050
                        [height] => 436
                        [path] => 2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
                        [url] => http://cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
                    )
    
            )
    
    )
    
    20130221 18:58:50 - [string] [DEBUG] - Deleting old thumbnail: /home/tiagogon/public_html/cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
    20130221 18:58:50 - [string] [DEBUG] - Moving '/home/tiagogon/public_html/cityburns.com/wp-content/uploads/ptetmp/7791/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg' to '/home/tiagogon/public_html/cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg'
    20130221 18:58:50 - [string] [DEBUG] - Updating '1050x436slider' metadata: Array
    (
        [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
        [width] => 1050
        [height] => 436
    )
    
    20130221 18:58:50 - [array] [-1,-779,true]
    20130221 18:58:51 - [array] [-1,0,false]

    EDITOR: GD at 18:58:43.

    Thread Starter lc

    (@lortnoc)

    any news about this sewpafly?

    Plugin Author sewpafly

    (@sewpafly)

    The debug log shows it is using GD which makes me wonder if imagemagick might not be correctly installed.

    if you create a php file that looks like this:

    <?php
    phpinfo();
    ?>

    Load that file in your web-browser. Is there an imagemagick section?

    Thread Starter lc

    (@lortnoc)

    No magick section. You can have look yourself here.

    The imagemagick works fine on other thumbnails with this configuration on the plugin settings.

    Do you think I should I call the server assistance, or is there something I can do through WordPress or cpanel?

    Thread Starter lc

    (@lortnoc)

    I contacted the server suport regarding the missing imagemagick section. When I get an answer, I will let you know.

    Thanks a lot for your time.

    Thread Starter lc

    (@lortnoc)

    They just corrected “ImageMagic” extension server configuration.

    and it works. the debug:

    20130225 11:19:13 - [string] ===== STARTUP PHP MESSAGES =====
    20130225 11:19:13 - [string] ===== SERVER LOG =====
    20130225 11:19:13 - [string] [DEBUG] - PARAMETERS: Array
    (
        [action] => pte_ajax
        [pte-action] => launch
        [id] => 7791
    )
    
    20130225 11:19:13 - [string] [DEBUG] - PTE-VERSION: 2.0.0-alpha
    20130225 11:19:13 - [string] [DEBUG] - USER-AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.99 Safari/537.22
    20130225 11:19:13 - [string] [DEBUG] - WORDPRESS: 3.5.1
    20130225 11:19:13 - [string] [DEBUG] - SIZER: 0.33333333
    20130225 11:19:13 - [string] [DEBUG] - SIZES: Array
    (
        [thumbnail] => Array
            (
                [width] => 350
                [height] => 900
                [crop] =>
                [current] => Array
                    (
                        [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-350x232.jpg
                        [width] => 350
                        [height] => 232
                        [path] => 2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-350x232.jpg
                        [url] => http://cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-350x232.jpg
                    )
    
            )
    
        [medium] => Array
            (
                [width] => 342
                [height] => 700
                [crop] =>
                [current] => Array
                    (
                        [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-342x227.jpg
                        [width] => 342
                        [height] => 227
                        [path] => 2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-342x227.jpg
                        [url] => http://cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-342x227.jpg
                    )
    
            )
    
        [large] => Array
            (
                [width] => 1050
                [height] => 1600
                [crop] =>
                [current] => Array
                    (
                        [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x698.jpg
                        [width] => 1050
                        [height] => 698
                        [path] => 2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x698.jpg
                        [url] => http://cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x698.jpg
                    )
    
            )
    
        [150x100crop] => Array
            (
                [width] => 175
                [height] => 117
                [crop] => 1
                [current] => Array
                    (
                        [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-175x117.jpg
                        [width] => 175
                        [height] => 117
                        [path] => 2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-175x117.jpg
                        [url] => http://cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-175x117.jpg
                    )
    
            )
    
        [700xfree] => Array
            (
                [width] => 700
                [height] => 1400
                [crop] => 0
                [current] => Array
                    (
                        [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-700x465.jpg
                        [width] => 700
                        [height] => 465
                        [path] => 2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-700x465.jpg
                        [url] => http://cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-700x465.jpg
                    )
    
            )
    
        [1050x436slider] => Array
            (
                [width] => 1050
                [height] => 436
                [crop] => 1
                [current] => Array
                    (
                        [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
                        [width] => 1050
                        [height] => 436
                        [path] => 2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
                        [url] => http://cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
                    )
    
            )
    
    )
    
    20130225 11:19:16 - [string] ===== REFLOW =====
    20130225 11:19:16 - [string] ===== FIXING THICKBOX =====
    20130225 11:19:16 - [string] WINDOW WIDTH: 779
    20130225 11:19:29 - [string] ENABLING SUBMIT
    20130225 11:19:32 - [string] ENABLING SUBMIT
    20130225 11:19:34 - [string] ===== SETTING ASPECTRATIO: 525:218 =====
    20130225 11:19:34 - [string] DISABLING SUBMIT
    20130225 11:19:39 - [string] DISABLING SUBMIT
    20130225 11:19:42 - [string] ===== SETTING ASPECTRATIO: null =====
    20130225 11:19:42 - [string] ENABLING SUBMIT
    20130225 11:19:43 - [string] ===== SETTING ASPECTRATIO: null =====
    20130225 11:19:43 - [string] DISABLING SUBMIT
    20130225 11:19:44 - [string] DISABLING SUBMIT
    20130225 11:19:47 - [string] DISABLING SUBMIT
    20130225 11:19:48 - [string] ===== SETTING ASPECTRATIO: null =====
    20130225 11:19:48 - [string] ENABLING SUBMIT
    20130225 11:19:51 - [string] ENABLING SUBMIT
    20130225 11:19:54 - [string] ENABLING SUBMIT
    20130225 11:19:54 - [string] ENABLING SUBMIT
    20130225 11:19:56 - [string] ===== SETTING ASPECTRATIO: 525:218 =====
    20130225 11:19:56 - [string] ENABLING SUBMIT
    20130225 11:19:59 - [string] DISABLING SUBMIT
    20130225 11:20:02 - [string] DISABLING SUBMIT
    20130225 11:20:03 - [string] DISABLING SUBMIT
    20130225 11:20:05 - [string] DISABLING SUBMIT
    20130225 11:20:06 - [string] ===== RESIZE-IMAGES =====
    20130225 11:20:06 - [object] {"id":"7791","action":"pte_ajax","pte-action":"resize-images","pte-sizes[]":["1050x436slider"],"x":0,"y":150,"w":1200,"h":498}
    20130225 11:20:08 - [string] ===== RESIZE-IMAGES SUCCESS =====
    20130225 11:20:08 - [object] {"thumbnails":{"1050x436slider":{"url":"http://cityburns.com/wp-content/uploads/ptetmp/7791/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg","file":"urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg"}},"pte-nonce":"b40d5cbe72","pte-delete-nonce":"983878cdbb","error":[],"log":["[DEBUG] - PARAMETERS: Array\n(\n    [id] => 7791\n    [action] => pte_ajax\n    [pte-action] => resize-images\n    [pte-sizes] => Array\n        (\n            [0] => 1050x436slider\n        )\n\n    [x] => 0\n    [y] => 150\n    [w] => 1200\n    [h] => 498\n)\n","[DEBUG] - BASE FILE DIMENSIONS/INFO: Array\n(\n    [0] => 1200\n    [1] => 798\n    [2] => 2\n    [3] => width=\"1200\" height=\"798\"\n    [bits] => 8\n    [channels] => 3\n    [mime] => image/jpeg\n)\n","[DEBUG] - GETwidthheightCROPPED","[DEBUG] - WIDTHxHEIGHT: 1050 x 436","[DEBUG] - COMPRESSION: 96","[DEBUG] - EDITOR: ImageMagick"]}
    20130225 11:20:08 - [string] ===== SERVER LOG =====
    20130225 11:20:08 - [string] [DEBUG] - PARAMETERS: Array
    (
        [id] => 7791
        [action] => pte_ajax
        [pte-action] => resize-images
        [pte-sizes] => Array
            (
                [0] => 1050x436slider
            )
    
        [x] => 0
        [y] => 150
        [w] => 1200
        [h] => 498
    )
    
    20130225 11:20:08 - [string] [DEBUG] - BASE FILE DIMENSIONS/INFO: Array
    (
        [0] => 1200
        [1] => 798
        [2] => 2
        [3] => width="1200" height="798"
        [bits] => 8
        [channels] => 3
        [mime] => image/jpeg
    )
    
    20130225 11:20:08 - [string] [DEBUG] - GETwidthheightCROPPED
    20130225 11:20:08 - [string] [DEBUG] - WIDTHxHEIGHT: 1050 x 436
    20130225 11:20:08 - [string] [DEBUG] - COMPRESSION: 96
    20130225 11:20:08 - [string] [DEBUG] - EDITOR: ImageMagick
    20130225 11:20:08 - [array] [-1,-779,true]
    20130225 11:20:09 - [array] [-1,0,false]
    20130225 11:20:09 - [string] running callback with no arguments
    20130225 11:20:09 - [string] finished running callback
    20130225 11:20:09 - [string] ===== CHECK SUBMIT BUTTON =====
    20130225 11:20:09 - [string] ENABLE
    20130225 11:20:14 - [string] ===== CONFIRM-IMAGES =====
    20130225 11:20:14 - [object] {"id":"7791","action":"pte_ajax","pte-action":"confirm-images","pte-nonce":"b40d5cbe72","pte-confirm":{"1050x436slider":"urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg"}}
    20130225 11:20:15 - [string] ===== CONFIRM-IMAGES SUCCESS =====
    20130225 11:20:15 - [object] {"success":"Yay!","error":[],"log":["[DEBUG] - PARAMETERS: Array\n(\n    [id] => 7791\n    [action] => pte_ajax\n    [pte-action] => confirm-images\n    [pte-nonce] => b40d5cbe72\n    [pte-confirm] => Array\n        (\n            [1050x436slider] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg\n        )\n\n)\n","[DEBUG] - pte_get_all_alternate_size_information returned: Array\n(\n    [1050x436slider] => Array\n        (\n            [width] => 1050\n            [height] => 436\n            [crop] => 1\n            [current] => Array\n                (\n                    [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg\n                    [width] => 1050\n                    [height] => 436\n                    [path] => 2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg\n                    [url] => http://cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg\n                )\n\n        )\n\n)\n","[DEBUG] - Deleting old thumbnail: /home/tiagogon/public_html/cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg","[DEBUG] - Moving '/home/tiagogon/public_html/cityburns.com/wp-content/uploads/ptetmp/7791/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg' to '/home/tiagogon/public_html/cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg'","[DEBUG] - Updating '1050x436slider' metadata: Array\n(\n    [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg\n    [width] => 1050\n    [height] => 436\n)\n"]}
    20130225 11:20:15 - [string] ===== SERVER LOG =====
    20130225 11:20:15 - [string] [DEBUG] - PARAMETERS: Array
    (
        [id] => 7791
        [action] => pte_ajax
        [pte-action] => confirm-images
        [pte-nonce] => b40d5cbe72
        [pte-confirm] => Array
            (
                [1050x436slider] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
            )
    
    )
    
    20130225 11:20:15 - [string] [DEBUG] - pte_get_all_alternate_size_information returned: Array
    (
        [1050x436slider] => Array
            (
                [width] => 1050
                [height] => 436
                [crop] => 1
                [current] => Array
                    (
                        [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
                        [width] => 1050
                        [height] => 436
                        [path] => 2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
                        [url] => http://cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
                    )
    
            )
    
    )
    
    20130225 11:20:15 - [string] [DEBUG] - Deleting old thumbnail: /home/tiagogon/public_html/cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
    20130225 11:20:15 - [string] [DEBUG] - Moving '/home/tiagogon/public_html/cityburns.com/wp-content/uploads/ptetmp/7791/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg' to '/home/tiagogon/public_html/cityburns.com/wp-content/uploads/2013/02/urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg'
    20130225 11:20:15 - [string] [DEBUG] - Updating '1050x436slider' metadata: Array
    (
        [file] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
        [width] => 1050
        [height] => 436
    )
    
    20130225 11:20:15 - [array] [-1,-779,true]
    20130225 11:20:16 - [array] [-1,0,false]

    as you can see, now the color space is respected! 😉 but when it comes to the details definition, even if I used “COMPRESSION: 96″, the very same value I use on ImageMagick Engine” plugin, the image quality is poor. see the details here on eyes and hair.

    if I try with the compression 100 on your plugin, the size increases a lot, but the qualety, still poor. view here.

    i also tried this last 2 test with “ImageMagick Engine” plugin disable, and the quality results where the same.

    Do you know why this is happening?

    Thread Starter lc

    (@lortnoc)

    this may help you… no?

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Not working with "ImageMagick Engine" plugin’ is closed to new replies.