Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter slashCreations

    (@slashcreations)

    I changed this line in post-htumblai-editor/php/functions.php

    // all other formats are converted to jpg
    		if ( !imagejpeg( $image, $destfilename, 90) ){

    to

    // all other formats are converted to jpg
    		if ( !imagejpeg( $image, $destfilename, 100) ){

    I also changed the quality compression from 90 to 100 in these files :
    wp-admin/includes/image.php and image-edit.php, and in wp-includes/media.php

    The image that i linked to, above, are resized with theses parameters.

    Thanks if someone has a tip for me

    Plugin Author sewpafly

    (@sewpafly)

    Thanks, I’ll make this value configurable in the future. You can track the status here: https://github.com/sewpafly/post-thumbnail-editor/issues/36

    Thread Starter slashCreations

    (@slashcreations)

    Ok, thanks for the good news ??

    But, do you have a tip to help me set the quality before your update. I’d like to have it working now ^^

    Thanks for all the stuff you do there!

    Plugin Author sewpafly

    (@sewpafly)

    Oh, I thought that you had already fixed it. It sounds like you were in the right place in your examples above. (Well that one does jpg, as there is no equivalent setting for png/gif).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Post Thumbnail Editor] How to get the quality compression percentage to 100 ?’ is closed to new replies.