• Resolved alexcuervo

    (@alexcuervo)


    When pressing the “Png to Jpg” for a particular photo under media, the photo is optimized, but it is NOT converted to JPG.

    This is with the “enable PNG to JPG ” checked under conversion settings.

    For photo MP50.png:

    Reduced by 11.9% (62.8 kB)
    Image Size: 466.09 kB
    Re-optimize | PNG to JPG

    Array
    (
        [width] => 480
        [height] => 640
        [file] => 2015/10/MP50.png
        [sizes] => Array
            (
                [thumbnail] => Array
                    (
                        [file] => MP50-150x150.png
                        [width] => 150
                        [height] => 150
                        [mime-type] => image/png
                        [ewww_image_optimizer] => Reduced by 13.0% (6.1 kB)
                    )
                [medium] => Array
                    (
                        [file] => MP50-225x300.png
                        [width] => 225
                        [height] => 300
                        [mime-type] => image/png
                        [ewww_image_optimizer] => Reduced by 12.4% (15.8 kB)
                    )
                [large] => Array
                    (
                        [file] => MP50-768x1024.png
                        [width] => 768
                        [height] => 1024
                        [mime-type] => image/png
                        [ewww_image_optimizer] => Reduced by 12.6% (169.3 kB)
                    )
                [post-thumbnail] => Array
                    (
                        [file] => MP50-940x198.png
                        [width] => 940
                        [height] => 198
                        [mime-type] => image/png
                        [ewww_image_optimizer] => Reduced by 12.3% (45.5 kB)
                    )
            )
        [image_meta] => Array
            (
                [aperture] => 0
                [credit] =>
                [camera] =>
                [caption] =>
                [created_timestamp] => 0
                [copyright] =>
                [focal_length] => 0
                [iso] => 0
                [shutter_speed] => 0
                [title] =>
                [orientation] => 0
            )
        [ewww_image_optimizer] => Reduced by 11.9% (62.8 kB)
    )

    cost6475
    EWWW IO version: 252.0
    WP version: 4.3.1
    PHP version: 50217
    ewww_image_optimizer_preinit()
    ewww_image_optimizer_gallery_support()
    ewww_image_optimizer_admin_init()
    ewww_image_optimizer_init()
    ewww_image_optimizer_cloud_init()
    ewww_image_optimizer_disable_tools()
    ewww_image_optimizer_cron_setup()
    ewww_image_optimizer_cron_setup()
    ewww_image_optimizer_settings_script()
    ewww_image_optimizer_bulk_script()
    ewww_image_optimizer_aux_images_script()
    ewww_image_optimizer_webp_script()
    ewww_image_optimizer_options()
    ABSPATH: /home/content/46/7541746/html/hiddenURL/
    home url: https://HiddenURL.com
    site url: https://HiddenURL.com
    ewww_image_optimizer_savings()
    querying savings for single site
    query to be performed: SELECT SUM(orig_size-image_size) FROM wp_ewwwio_images
    savings found: 10356620
    ewww_image_optimizer_cloud_verify()
    verification success via: https://104.236.158.232
    verification body contents: great
    ewww_image_optimizer_cloud_quota()
    quota data retrieved: 0 -4945 0
    cloud JPG: on
    cloud PNG: on
    PNG extra compress: off
    cloud GIF: on
    cloud fast lossy: off
    remove metadata: off
    lossy JPG: on
    lossy PNG: off
    bulk delay: 0
    scheduled optimization: off
    deferred optimization: off
    disable auto-optimization: off
    include media library: off
    ewww_image_optimizer_get_image_sizes()
    Array ( [thumbnail] => Array ( [width] => 150 [height] => 150 ) [medium] => Array ( [width] => 300 [height] => 300 ) [large] => Array ( [width] => 1024 [height] => 1024 ) [post-thumbnail] => Array ( [width] => 940 [height] => 198 ) )
    disabled resizes:
    thumbnail: optimization=enabled creation=enabled
    medium: optimization=enabled creation=enabled
    large: optimization=enabled creation=enabled
    post-thumbnail: optimization=enabled creation=enabled
    skip images smaller than: 0 bytes
    skip PNG images larger than: 0 bytes
    exclude originals from lossy: off
    exclude originals from metadata removal: off
    use system binaries: no
    jpegtran disabled: no
    optipng disabled: no
    pngout disabled: yes
    gifsicle disabled: no
    webp conversion: off
    alt webp rewriting: off
    jpg2png: off
    ewww_image_optimizer_jpg_background()
    ewww_image_optimizer_jpg_background()
    ewww_image_optimizer_jpg_quality()
    quality: 88
    png2jpg: on
    gif2png: off
    max_execution_time: 30

    https://www.ads-software.com/plugins/ewww-image-optimizer-cloud/

Viewing 1 replies (of 1 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    Without seeing the image, my best guess is that the PNG images have some sort of transparency in them. Often times there can be a hidden alpha layer, that isn’t really doing anything, but the plugin does not know if the alpha layer is visible or not, just that it exists. In this case, you can only force the PNG to JPG conversion by setting a background color (like white: #ffffff). See if that helps any.

Viewing 1 replies (of 1 total)
  • The topic ‘PNG to JPG not working (ewww cloud)’ is closed to new replies.