Answers.Body: <p>This turned out to be <a href="https://github.com/craftcms/cms/commit/8634b21f56d00a77c1e9db41816976bf95f1ed86" rel="nofollow noreferrer">a bug</a> and the fix will be in the next release (current version is <code>3.5.15.1</code>).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-11-10T12:06:25.647Z
Answers.LastActivityDate: 2020-11-10T12:06:25.647Z
Answers.UserDisplayName: Oli
Body: <p>First time we see this: client tried to upload a specific PNG file (that a first sight looks ok) and Craft CMS returned the error 'png_compression_level should be an integer from 0 to 9'</p>
  <p><a href="https://i.sstatic.net/J9E2x.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/J9E2x.png" alt="Error message" /></a></p>
  
Tags: <image>
Title: 'png_compression_level should be an integer from 0 to 9' upon uploading image
ThreadText: # 'png_compression_level should be an integer from 0 to 9' upon uploading image
  
  (Asked by: username_0 on 2020-11-07)
  
  First time we see this: client tried to upload a specific PNG file (that a first sight looks ok) and Craft CMS returned the error 'png\_compression\_level should be an integer from 0 to 9'
  
  [![Error message](https://i.sstatic.net/J9E2x.png)](https://i.sstatic.net/J9E2x.png)
  
  **Tags:** image
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-11-10. Score: 3 | Accepted answer
  
  This turned out to be [a bug](https://github.com/craftcms/cms/commit/8634b21f56d00a77c1e9db41816976bf95f1ed86) and the fix will be in the next release (current version is `3.5.15.1`).
  
  
  ---
  
  