WordPress.org

Ready to get started?Download WordPress

Forums

Post Thumbnail Editor
Not working with "ImageMagick Engine" plugin (23 posts)

  1. lc
    Member
    Posted 1 year ago #

    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/

  2. lc
    Member
    Posted 1 year ago #

    Correction: my WordPress version is 3.5.1.

  3. sewpafly
    Member
    Plugin Author

    Posted 1 year ago #

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

  4. lc
    Member
    Posted 1 year ago #

    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?

  5. sewpafly
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  6. lc
    Member
    Posted 1 year ago #

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

  7. sewpafly
    Member
    Plugin Author

    Posted 1 year ago #

    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).

  8. lc
    Member
    Posted 1 year ago #

    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.

  9. sewpafly
    Member
    Plugin Author

    Posted 1 year ago #

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

  10. lc
    Member
    Posted 1 year ago #

    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.

  11. lc
    Member
    Posted 1 year ago #

    any news about this sewpafly?

  12. sewpafly
    Member
    Plugin Author

    Posted 1 year ago #

    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?

  13. lc
    Member
    Posted 1 year ago #

    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?

  14. lc
    Member
    Posted 1 year ago #

    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.

  15. lc
    Member
    Posted 1 year ago #

    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?

  16. lc
    Member
    Posted 1 year ago #

    this may help you… no?

  17. sewpafly
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry, that doesn't really help. I'm not sure what the problem actually is (all the imagemagick code is written by wordpress). Unfortunately I don't have imagemagick on my test systems, so I can't test this myself, but adding this line to 'php/functions.php' (line 403) might help:

    add_filter('jpeg_quality', 'pte_get_jpeg_quality');
    // this is the new line
    add_filter('wp_editor_set_quality', 'pte_get_jpeg_quality');

    I'll see if I can get imagemagick installed. Does wordpress seem to crop your other pictures correctly? How were you generating the "correct" imagemagick picture above?

  18. lc
    Member
    Posted 1 year ago #

    the correct imagemagick picture above is a custom thumbnail (using this) automatic generated every-time i upload a image on my media library, or (when I'm testing like now) through the regenerate thumbnails plugin.

    I will test your function lines and I will get back to you.

  19. lc
    Member
    Posted 1 year ago #

    i removed:
    add_filter('jpeg_quality', 'pte_get_jpeg_quality');
    I had:
    add_filter('wp_editor_set_quality', 'pte_get_jpeg_quality');
    I croped the image with your plugin:

    20130225 16:31:40 - [string] ===== STARTUP PHP MESSAGES =====
    20130225 16:31:40 - [string] ===== SERVER LOG =====
    20130225 16:31:40 - [string] [DEBUG] - PARAMETERS: Array
    (
        [action] => pte_ajax
        [pte-action] => launch
        [id] => 7791
    )
    
    20130225 16:31:40 - [string] [DEBUG] - PTE-VERSION: 2.0.0-alpha
    20130225 16:31:40 - [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 16:31:40 - [string] [DEBUG] - WORDPRESS: 3.5.1
    20130225 16:31:40 - [string] [DEBUG] - SIZER: 0.33333333
    20130225 16:31:40 - [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 16:31:43 - [string] ===== REFLOW =====
    20130225 16:31:43 - [string] ===== FIXING THICKBOX =====
    20130225 16:31:43 - [string] WINDOW WIDTH: 779
    20130225 16:31:48 - [string] ENABLING SUBMIT
    20130225 16:31:51 - [string] ===== SETTING ASPECTRATIO: 525:218 =====
    20130225 16:31:51 - [string] DISABLING SUBMIT
    20130225 16:31:54 - [string] DISABLING SUBMIT
    20130225 16:32:00 - [string] DISABLING SUBMIT
    20130225 16:32:02 - [string] DISABLING SUBMIT
    20130225 16:32:06 - [string] DISABLING SUBMIT
    20130225 16:32:09 - [string] DISABLING SUBMIT
    20130225 16:32:45 - [string] DISABLING SUBMIT
    20130225 16:32:47 - [string] ===== RESIZE-IMAGES =====
    20130225 16:32:47 - [object] {"id":"7791","action":"pte_ajax","pte-action":"resize-images","pte-sizes[]":["1050x436slider"],"x":0,"y":177,"w":1200,"h":498}
    20130225 16:32:53 - [string] ===== RESIZE-IMAGES SUCCESS =====
    20130225 16:32:53 - [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":"b6ca21a349","pte-delete-nonce":"4e1f559840","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] => 177\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 16:32:53 - [string] ===== SERVER LOG =====
    20130225 16:32:53 - [string] [DEBUG] - PARAMETERS: Array
    (
        [id] => 7791
        [action] => pte_ajax
        [pte-action] => resize-images
        [pte-sizes] => Array
            (
                [0] => 1050x436slider
            )
    
        [x] => 0
        [y] => 177
        [w] => 1200
        [h] => 498
    )
    
    20130225 16:32:53 - [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 16:32:53 - [string] [DEBUG] - GETwidthheightCROPPED
    20130225 16:32:53 - [string] [DEBUG] - WIDTHxHEIGHT: 1050 x 436
    20130225 16:32:53 - [string] [DEBUG] - COMPRESSION: 96
    20130225 16:32:53 - [string] [DEBUG] - EDITOR: ImageMagick
    20130225 16:32:53 - [array] [-1,-779,true]
    20130225 16:32:54 - [array] [-1,0,false]
    20130225 16:32:54 - [string] running callback with no arguments
    20130225 16:32:54 - [string] finished running callback
    20130225 16:32:55 - [string] ===== CHECK SUBMIT BUTTON =====
    20130225 16:32:55 - [string] ENABLE
    20130225 16:32:56 - [string] ===== CONFIRM-IMAGES =====
    20130225 16:32:56 - [object] {"id":"7791","action":"pte_ajax","pte-action":"confirm-images","pte-nonce":"b6ca21a349","pte-confirm":{"1050x436slider":"urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg"}}
    20130225 16:32:58 - [string] ===== CONFIRM-IMAGES SUCCESS =====
    20130225 16:32:58 - [object] {"success":"Yay!","error":[],"log":["[DEBUG] - PARAMETERS: Array\n(\n    [id] => 7791\n    [action] => pte_ajax\n    [pte-action] => confirm-images\n    [pte-nonce] => b6ca21a349\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 16:32:58 - [string] ===== SERVER LOG =====
    20130225 16:32:58 - [string] [DEBUG] - PARAMETERS: Array
    (
        [id] => 7791
        [action] => pte_ajax
        [pte-action] => confirm-images
        [pte-nonce] => b6ca21a349
        [pte-confirm] => Array
            (
                [1050x436slider] => urbanoid_dot_cityburns-dot-com_CC-BY-NC-ND_by-lortnoc_Aug2012_kg_016744-1050x436.jpg
            )
    
    )
    
    20130225 16:32:58 - [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 16:32:58 - [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 16:32:58 - [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 16:32:58 - [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 16:32:58 - [array] [-1,-779,true]
    20130225 16:32:58 - [array] [-1,0,false]

    it still lose considerable quality for a big image, comparative to the one by imagemagick engine plugin... :/

    would great if you could test with imagemagick engine yourself. anything i can help or test, please let me know. i would love to be able to custom crop with the same setting of IM engine ("96" on quality value).

  20. sewpafly
    Member
    Plugin Author

    Posted 1 year ago #

    Why don't you try the latest version now? I've been testing it using the imagemagick engine and I haven't been able to duplicate your problems. Let me know how it goes.

    (WordPress did not send me these latest posts by you, or I would have responded sooner, sorry)

  21. lc
    Member
    Posted 1 year ago #

    sorry, I still get on the output the same file quality then before. :/ this time there is a new edition painel and no debug button available.

  22. sewpafly
    Member
    Plugin Author

    Posted 1 year ago #

    Yeah all that debug code was getting in the way. The new interface really just uses the same backend, so I guess it isn't surprising that its still not working for you. :(

    Let me see if I can recap your current situation.

    It appears that imagemagick plugin IS working for you as the color profiles are being preserved. However the image quality isn't being affected when you change the quality value. Is this correct?

  23. lc
    Member
    Posted 1 year ago #

    correct: imagemagick engine plugin is working fine to me, when it automatically resizes the images right after upload on my library library. this is a good exemple how aswome it works. i could not be more satisfied: it preservs the color porfile and keeep the original quality, just like it the original. (in my case using 96 value on the jpeg compression of Imagemagick engine settings)

    the problem is when i tried your plugin for reposition the crop area, it stil loses significant quality even if is respecting the color profile, as i showed you here before.

    would be great if you could fixe it. I thank you a lot for your time!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic