WordPress.org

Ready to get started?Download WordPress

Forums

EWWW Image Optimizer
[resolved] Compressing the original "full" sized JPEG image (4 posts)

  1. berweb
    Member
    Posted 1 year ago #

    First of all great plugin i'm going to adopt.

    I installed and everything seems to work fine.

    My only problem is i usually use the original 'full' sized file uploaded by my users, EWWW cleans it's meta data but doesn't force the JPEG compression level (which my users many times upload at 100%), so the sized versions are both meta free and compress reasonably, but not the original file.

    I'd be hapy to know whether the plugin has this functionality or if i can get a clue of where can i hook up and do this re JPEG compression, i don't need or want to save the original file.

    Thank you very much, Tom

    debuginfo:
    ---------
    jpegtran: OK version: Independent JPEG Group's JPEGTRAN, version 9 13-Jan-2013
    optipng: OK version: OptiPNG version 0.7.4
    gifsicle: OK version: LCDF Gifsicle 1.68
    Graphics libraries (only used for conversion, not optimization): GD: OK   Imagemagick 'convert': MISSING
    safe mode: Off  exec(): OK  shell_exec(): OK  
    Only need one of these: finfo: OK  getimagesize(): OK  mime_content_type(): OK
    Debug Info

    jpegtran path: /var/www/html/wp-content/ewww/jpegtran
    optipng path: /var/www/html/wp-content/ewww/optipng
    gifsicle path: /var/www/html/wp-content/ewww/gifsicle
    pngout path:
    disabled functions:
    gifsicle permissions: 0755
    optipng permissions: 0755
    wp-content/ewww permissions: 0777
    user: apache
    Operating environment: Linux 3.2.39-6.88.amzn1.x86_64 #1 SMP Sat Mar 2 05:13:37 UTC 2013 x86_64

    http://wordpress.org/extend/plugins/ewww-image-optimizer/

  2. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    Had a hard time following that, but I'll try to answer as best as I can. This plugin does not do any re-compression which is lossy, it only does lossless optimizations which generally includes using newer encoding techniques (JPGs), and searching for better compression algorithms (PNGs).

    There is a plugin called Enable Media Replace that you could use to allow you to download the full-size, re-compress it (with photoshop or the GIMP), and then re-upload it in place of the original image. I'm not aware of any plugins that will re-compress your images to a lower quality setting, which would be really difficult, since it is generally near impossible to determine the original quality/compression setting.

  3. berweb
    Member
    Posted 1 year ago #

    Thank you,

    Didn't know it wasn't possible but now that you say it makes sense (dumb me)

  4. nosilver4u
    Member
    Plugin Author

    Posted 1 year ago #

    Don't beat yourself up too much, I had always assumed the quality setting was somehow stored in the jpeg until I started developing this plugin. Unfortunately, the nature of the jpg compression means that even repeatedly saving the same jpg at quality 90 will generally result in pixel loss every time it is re-saved (probably not really noticeable, unless you've edited and saved something 100+ times)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.