# MRI Images Error: Bad File Format

**URL:** https://discourse.orthanc-server.org/t/mri-images-error-bad-file-format/2206
**Category:** Google Groups archive
**Created:** [November 26, 2020, 5:32am UTC](https://discourse.orthanc-server.org/t/mri-images-error-bad-file-format/2206 "2020-11-26T05:32:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Kavi\_Joshi](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/k/91b2a8/32.png) [@Kavi\_Joshi](https://discourse.orthanc-server.org/u/Kavi_Joshi)
#### Post date: [November 26, 2020, 5:32am UTC](https://discourse.orthanc-server.org/t/mri-images-error-bad-file-format/2206/1 "2020-11-26T05:32:14Z")

</div>

We are receiving MRI images from one location, however, The images are received but not all images are not shown in the Orthanc Web Interface.  
When we use OHIF to see the images, it opens all images but with errors in the devtools and in the Orthanc Server.

we are getting a long list of repeated following error when opening the images:

E1126 10:00:38.365647 PluginsManager.cpp:197] Exception while invoking plugin service 4013: Bad file format  
E1126 10:00:38.366286 PluginsErrorDictionary.cpp:111] Exception inside the plugin engine: Bad file format

Dicom Image Link: [https://we.tl/t-JWr5KAloLz](https://we.tl/t-JWr5KAloLz)

Using Dicom-web version 1.2 on Ubuntu

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [November 26, 2020, 7:56am UTC](https://discourse.orthanc-server.org/t/mri-images-error-bad-file-format/2206/2 "2020-11-26T07:56:42Z")

</div>

I can’t easily reproduce your issue.

Please could you send _one single_ DICOM file (not a full study), together with the command-line tools or with the URL in Orthanc Explorer that lead to this message? We also need the full Orthanc configuration, and full logs in “–verbose” mode:  
[https://book.orthanc-server.com/users/support.html#discussing-a-minimal-working-example](https://book.orthanc-server.com/users/support.html#discussing-a-minimal-working-example)

Regards,  
Sébastien-

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [December 17, 2020, 3:06pm UTC](https://discourse.orthanc-server.org/t/mri-images-error-bad-file-format/2206/3 "2020-12-17T15:06:35Z")

</div>

In the absence of answer from you, I have pursued the investigations.

It appears that all the images for which the “[http://localhost:8042/dicom-web/studies/{...}/series/{...}/instances/{...}/frames/1](http://localhost:8042/dicom-web/studies/%7B...%7D/series/%7B...%7D/instances/%7B...%7D/frames/1)” URI (or, equivalently, the “[http://localhost:8042/instances/{...}/preview](http://localhost:8042/instances/%7B...%7D/preview)” URI) fails are the images where the DICOM tag “Photometric Interpretation” (0028,0004) is absent.

But, “Photometric Interpretation” is a type 1 tag (i.e. mandatory for images).

This means that your DICOM images are invalid, and that the issue does not lie within Orthanc.

You will have to get in touch with the commercial support of the supplier of your “PHILIPS-4A105TT” station:  
[https://book.orthanc-server.com/faq/proprietary.html](https://book.orthanc-server.com/faq/proprietary.html)
