Title: no encode delegate
Last modified: September 30, 2020

---

# no encode delegate

 *  Resolved [palmtek](https://wordpress.org/support/users/palmtek/)
 * (@palmtek)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/no-encode-delegate/)
 * While trying to upload a JPG taken from a note 8 plus.
    “20200928_155043.jpg”
   has failed to upload. Imsanity was unable to resize this image for the following
   reason: no encode delegate for this image format `’ @ error/constitute.c/WriteImage/
   1240. If you continue to see this error message, you may need to install missing
   server components.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [nosilver4u](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/no-encode-delegate/#post-13475690)
 * Honestly, I have no idea what that means, I have never ever seen that error. 
   I would check with your webhost to make sure the GD and/or ImageMagick extensions
   are installed.
 *  Thread Starter [palmtek](https://wordpress.org/support/users/palmtek/)
 * (@palmtek)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/no-encode-delegate/#post-13476939)
 * GD and ImageMagick are for certain enabled. I disabled them in PHP config, saved
   settings, and re-enabled them. No change, still getting this error. The web seems
   to be lacking on any info regarding this problem. Very lacking.
 *  Plugin Author [nosilver4u](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/no-encode-delegate/#post-13480013)
 * See what happens if you just disable ImageMagick, which will force WordPress (
   and thus Imsanity) to use the GD library.
 *  Thread Starter [palmtek](https://wordpress.org/support/users/palmtek/)
 * (@palmtek)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/no-encode-delegate/#post-13480900)
 * I turned off “imagick” and uploaded some images and it works that way. Other 
   plugins are working with ImageMagick enabled though, but I don’t know how to 
   determine if they use ImageMagick or not.
    Does ImageMagick do a better job at
   lossless compression than GD?
 *  Plugin Author [nosilver4u](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/no-encode-delegate/#post-13481042)
 * Most plugins use whatever WP core is using, which goes ImageMagick first (if 
   available), and then GD.
    Neither does lossless compression with JPGs, but ImageMagick
   sometimes yields nicer looking results than GD during resizing/scaling operations.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘no encode delegate’ is closed to new replies.

 * ![](https://ps.w.org/imsanity/assets/icon.svg?rev=2420360)
 * [Imsanity](https://wordpress.org/plugins/imsanity/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/imsanity/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/imsanity/)
 * [Active Topics](https://wordpress.org/support/plugin/imsanity/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/imsanity/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/imsanity/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [nosilver4u](https://wordpress.org/support/users/nosilver4u/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/no-encode-delegate/#post-13481042)
 * Status: resolved