Answers.Body: <p>You're probably using <a href="https://secure.php.net/manual/en/book.image.php" rel="nofollow">GD</a>, which doesn't support BMP files. </p>
  
  <p>If you install  <a href="https://secure.php.net/manual/en/book.imagick.php" rel="nofollow">Imagick</a> on your server, Craft will use it automatically and it supports a much wider range of file types, including BMP files.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-22T13:36:31.000Z
Answers.Text: We noticed that with Imagick enabled users can no longer download PDFs orders from the website. Have you come across this issue?
Answers.UserDisplayName: Dan Lee
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-07-07T15:51:54.767Z
Answers.LastActivityDate: 2016-07-07T15:51:54.767Z
Answers.UserDisplayName: Brad Bell
Body: <p>I'm doing some testing on file uploads and discovered that the .bmp file format gets rejected even though defined in my config file as an allowed file extension.</p>
  
  <p><strong>I have added the following to my config file:</strong></p>
  
  <pre><code> 'extraAllowedFileExtensions' =&gt; 'bmp, jpeg, tiff, pdf, cdr, gbr, gtl, dxf, dwg',
   'allowedFileExtensions' =&gt; 'bmp, jpeg, tiff, pdf, cdr, gbr, gtl, dxf, dwg',
  </code></pre>
  
  <p><strong>This is the error I receive:</strong></p>
  
  <p>The file “/private/var/tmp/php7Md2bj” does not appear to be an image.</p>
  
  <p>/shop/craft/app/etc/image/Image.php(138)</p>
  
  <pre><code>138    throw new Exception(Craft::t('The file “{path}” does not appear to be an image.', array('path' =&gt; $path)));
  </code></pre>
  
  <p>How do I fix this?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-07-07T09:48:45.080Z
Comments.Text: Have you tried 'turning it off and on again' - i.e. open the file in photoshop or similar and save-as ? (Just thinking out aloud)
Comments.UserDisplayName: Matt P
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-07-07T10:55:16.267Z
Comments.Text: Tried that - it does this to all .bmp files
Comments.UserDisplayName: Dan Lee
Tags: <upload>
Title: Error uploading .bmp file format - gets rejected
ThreadText: # Error uploading .bmp file format - gets rejected
  
  (Asked by: username_0 on 2016-07-07)
  
  I'm doing some testing on file uploads and discovered that the .bmp file format gets rejected even though defined in my config file as an allowed file extension.
  
  **I have added the following to my config file:**
  
  ```
   'extraAllowedFileExtensions' => 'bmp, jpeg, tiff, pdf, cdr, gbr, gtl, dxf, dwg',
   'allowedFileExtensions' => 'bmp, jpeg, tiff, pdf, cdr, gbr, gtl, dxf, dwg',
  
  ```
  
  **This is the error I receive:**
  
  The file “/private/var/tmp/php7Md2bj” does not appear to be an image.
  
  /shop/craft/app/etc/image/Image.php(138)
  
  ```
  138    throw new Exception(Craft::t('The file “{path}” does not appear to be an image.', array('path' => $path)));
  
  ```
  
  How do I fix this?
  
  **Tags:** upload
  
  > **Comments:**
  > **username_1**: Have you tried 'turning it off and on again' - i.e. open the file in photoshop or similar and save-as ? (Just thinking out aloud)  
  > **username_0**: Tried that - it does this to all .bmp files  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2016-07-07. Score: 5 | Accepted answer
  
  You're probably using [GD](https://secure.php.net/manual/en/book.image.php), which doesn't support BMP files.
  
  If you install [Imagick](https://secure.php.net/manual/en/book.imagick.php) on your server, Craft will use it automatically and it supports a much wider range of file types, including BMP files.
  
  > **Comments:**
  > **username_0**: We noticed that with Imagick enabled users can no longer download PDFs orders from the website. Have you come across this issue?  
  
  ---
  
  