Answers.Body: <p>If other image formats are working fine, then maybe check that you have Imagick installed and enabled on the server.</p>
  
  <p>Eg.</p>
  
  <pre><code>sudo apt-get install imagemagick php5-imagick
  sudo service apache2 reload
  </code></pre>
  
  <p>If you're on a shared host then either consult their knowledge base or contact support to check for Imagick availability.</p>
  
  <p>Some servers/hosts only have the GD library installed by default, which isn't so good with PNG files.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-07T09:54:48.990Z
Answers.Text: ImageMagick is installed and running, listed within Craft utils and phpinfo, and works fine within other CMS/Frameworks.
  Just rebooted server too without any change...
Answers.UserDisplayName: Tom Carwardine
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-07T09:56:51.540Z
Answers.Text: Plus PNGs were being uploaded fine a couple of months ago, the only thing that's changed is the updates to Craft.
Answers.UserDisplayName: Tom Carwardine
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-07T10:05:58.127Z
Answers.Text: Just tried commenting out the line as suggested here and it works http://craftcms.stackexchange.com/questions/6862/png-upload-problem-core-hack-issue-in-imagick
Answers.UserDisplayName: Tom Carwardine
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-07T10:07:29.807Z
Answers.Text: I'm glad you got it sorted.
Answers.UserDisplayName: Rick
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-07T10:08:16.100Z
Answers.Text: Hacking the vendor lib seems a bit extreme… I guess I'll ping support@ and see what they say. Thanks for your comments :)
Answers.UserDisplayName: Tom Carwardine
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-07T17:13:22.143Z
Answers.Text: @TomCarwardine Thanks for the update. This definitely sounds like a bug, hopefully P&T can help you sort it out (and fix it for a future release).
Answers.UserDisplayName: Lindsey D
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-07T09:44:55.503Z
Answers.LastActivityDate: 2015-08-07T09:44:55.503Z
Answers.UserDisplayName: Rick
Body: <p>I have just discovered that all Craft sites on our server no longer let users upload PNG files and I'm struggling to find the issue / fix.</p>
  
  <p>The craft.log simply says 'Save operation failed' and the JS console mentions 500 internal server error.</p>
  
  <p>I've tried various PNG formats, and weirdly other systems on our server using Imagemagick are running fine.</p>
  
  <p>Anyone had a similar issue / suggestions for debugging?</p>
  
Tags: <assets>
Title: PNG 500 error - Save operation failed
ThreadText: # PNG 500 error - Save operation failed
  
  (Asked by: username_0 on 2015-08-07)
  
  I have just discovered that all Craft sites on our server no longer let users upload PNG files and I'm struggling to find the issue / fix.
  
  The craft.log simply says 'Save operation failed' and the JS console mentions 500 internal server error.
  
  I've tried various PNG formats, and weirdly other systems on our server using Imagemagick are running fine.
  
  Anyone had a similar issue / suggestions for debugging?
  
  **Tags:** assets
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-08-07. Score: 2
  
  If other image formats are working fine, then maybe check that you have Imagick installed and enabled on the server.
  
  Eg.
  
  ```
  sudo apt-get install imagemagick php5-imagick
  sudo service apache2 reload
  
  ```
  
  If you're on a shared host then either consult their knowledge base or contact support to check for Imagick availability.
  
  Some servers/hosts only have the GD library installed by default, which isn't so good with PNG files.
  
  > **Comments:**
  > **username_0**: ImageMagick is installed and running, listed within Craft utils and phpinfo, and works fine within other CMS/Frameworks. Just rebooted server too without any change...  
  > **username_0**: Plus PNGs were being uploaded fine a couple of months ago, the only thing that's changed is the updates to Craft.  
  > **username_0**: Just tried commenting out the line as suggested here and it works http://craftcms.stackexchange.com/questions/6862/png-upload-problem-core-hack-issue-in-imagick  
  > **username_1**: I'm glad you got it sorted.  
  > **username_0**: Hacking the vendor lib seems a bit extreme… I guess I'll ping support@ and see what they say. Thanks for your comments :)  
  > **username_2**: @username_0 Thanks for the update. This definitely sounds like a bug, hopefully P&T can help you sort it out (and fix it for a future release).  
  
  ---
  
  