WordPress.org

Ready to get started?Download WordPress

Forums

Marekkis Watermark-Plugin
[resolved] File size (3 posts)

  1. fungoody.com
    Member
    Posted 1 year ago #

    File size of watermarked images are more than double the size of originals. Most of my 720x480px pics went from 100K to 250K or more. Any thoughts?

    http://wordpress.org/extend/plugins/marekkis-watermark/

  2. marekki
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    the quality of the output file is set to 100%. This is the reason, why the file size is so big. I have this in focus for the next update. At moment you can change this only in code. So find in the file: <strong >marekkis-watermark/wm_functions.php the following lines

    switch(exif_imagetype($file)) {
            case 2: ImageJPEG($photoImage,$file,100);break;

    and remove “,100“. so you need only:

    switch(exif_imagetype($file)) {
            case 2: ImageJPEG($photoImage,$file);break;

    After this the quality of the watermarked images will by stay at default and the size of your pictures change minimally.

    See: here
    Best Wishes,
    Marekki.

  3. marekki
    Member
    Plugin Author

    Posted 1 year ago #

    Hi fungoody.com,

    I'll close this topic because you can follow my instructions to change the size. If you still have problems with this topic, please open a new one.

    Best wishes,
    Marekki.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.