MHA to PDF Converter
Choose a slice from a MetaImage (.mha) volume and get a one-page A4 PDF with that slice centered, in the contrast you set. Each export holds a single slice, and no header values are printed or embedded.
Drop your file here
DICOM (.dcm, single files or a whole series), NIfTI (.nii, .nii.gz), NRRD (.nrrd), MHA (.mha), MHD (.mhd + .raw)
Up to 1 GB per file • Processed locally
Why put an MHA slice in a PDF
A .mha file is a MetaImage volume packed into one file: an ASCII header with keys such as NDims, DimSize and ElementType, then the raw voxel values. It is the everyday exchange format for ITK-based segmentation and registration work. Yet a supervisor, reviewer or clinician who receives one will see an unknown file unless a research viewer is installed. A PDF, by contrast, opens in any browser and prints the same way everywhere.
The volume is read inside your browser by a built-in MetaImage parser, and its contents are not uploaded to our servers. You choose a slice with the slider, which starts halfway through the stack, and tune window and level. The jsPDF library then places that rendered slice on a single A4 page, centered with a 10 mm margin. Wide slices get a landscape page and tall ones a portrait page. The image inside the PDF is stored as PNG, not recompressed as JPEG.
The PDF holds the slice as you saw it, in 8-bit grayscale at its native pixel resolution, with no added compression artifacts. It holds no volume, no other slices, no scale bar, no patient or acquisition details and no header fields. The original 16-bit or float intensities are reduced to the gray levels of your window. To build a document with several views, export each slice separately and combine the files in a PDF merge tool.
This helps when an image has to go into a document workflow: a thesis appendix, a grant or ethics submission, an electronic lab notebook, or an email to someone with only a PDF reader. If you plan to edit the image or place it into your own layout, export a PNG instead. Neither output is meant for diagnosis.
How to make a PDF from an MHA file
- Check the header of your .mha in a text editor. ElementDataFile must be LOCAL, and CompressedData should be False or absent.
- Load the file into the converter. It must be a single file no larger than 200 MB, so convert any .mhd and .raw pair to one .mha or .nrrd beforehand.
- Scroll to the slice you need, then set window and level so the region of interest is easy to read. The PDF reproduces this contrast.
- Select PDF and convert. Page orientation is chosen automatically from the slice's width and height.
- Save the PDF, and repeat for any other slice that needs its own page.
What you get in the MHA to PDF export
- One A4 page per export, portrait or landscape to match the slice's proportions
- Slice centered inside a 10 mm margin
- Image embedded in the PDF as PNG, so no JPEG artifacts are introduced
- Slice slider and window/level controls to decide exactly what lands on the page
- Browser-side reading of single-file MetaImage with local voxel data
- PNG or JPG output from the same tool when you need an image file rather than a document
Video Tutorial
Changing a MHA file to PDF has never been easier! Watch this detailed guide on how to do it completely free right in your web browser. 🔗 Visit MiConvert: https://miconvert.com/en/mha-to-pdf?utm_sour
MHA to PDF FAQ
Can I download My Hero Academia (MHA) PDFs here?
No. This page is about MetaImage medical and scientific volumes, which happen to share the abbreviation MHA with the manga. MiConvert does not host or convert manga chapters.
Can I get all the slices in one multi-page PDF?
Not from this converter. Each conversion produces one page with one slice. You can export the few slices you need one at a time and merge the PDFs afterwards. For a complete stack, render the slices with 3D Slicer or a short ITK or SimpleITK script and assemble the document from those images.
Will the PDF include patient details, spacing or a report?
No. The page carries only the picture: no header fields, no voxel spacing, no measurements and no text. It is not a radiology report or a DICOM document. The image is an 8-bit windowed copy, so it should not be used for diagnosis.
Can I convert an .mhd file to PDF?
Only if its header says ElementDataFile = LOCAL, which is unusual. A normal .mhd points to a separate .raw or .zraw file. Because the tool accepts a single upload, you will see 'Invalid MHA file: could not find data section'. Save the volume as one .mha or as .nrrd in 3D Slicer or with ITK, then convert that.
Why does the slice in my PDF look garbled or striped?
The parser does not decompress MHA files written with CompressedData = True. It also ignores ElementByteOrderMSB, so big-endian data is read in the wrong byte order. Re-save the volume without compression and in little-endian byte order, then convert it again. If you see 'MHA file has invalid dimensions' instead, check the NDims and DimSize lines of the header.
The page says the converter engine is not loaded. What should I do?
The libraries that read the file and build the PDF are downloaded from cdn.jsdelivr.net on every visit. If a browser extension, a company proxy or a dropped connection blocks that domain, you see 'Medical converter engine not loaded. Please refresh the page.' Allow the domain and reload. The converter does not work offline.
Is my MHA volume sent to your servers, and how long is it kept?
The voxel data never reaches MiConvert. Parsing, rendering and PDF creation all happen in your browser, and the download is made on your device, so there is no stored copy to expire. A few details do travel. jsDelivr sees your IP address when serving the libraries, and Google Analytics, when loaded, records the file name, size and format. A file over 200 MB is rejected, and the same details are reported to our server. Rename files that contain identifying information before you select them.