# converting 3d .zraw image into 2d .png

**URL:** https://discourse.itk.org/t/converting-3d-zraw-image-into-2d-png/3476
**Category:** Uncategorized
**Created:** [September 21, 2020, 3:53pm UTC](https://discourse.itk.org/t/converting-3d-zraw-image-into-2d-png/3476 "2020-09-21T15:53:27Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![lassoan](https://discourse.itk.org/user_avatar/discourse.itk.org/lassoan/32/27_2.png) [@lassoan](https://discourse.itk.org/u/lassoan)
#### Post date: [September 22, 2020, 5:30am UTC](https://discourse.itk.org/t/converting-3d-zraw-image-into-2d-png/3476/3 "2020-09-22T05:30:08Z")

</div>

Note that it is generally a bad idea to convert a medical image volume to a series 2D slices in jpg/png format. See related discussion in this topic:

> [@Conversion of dicom image format to jpeg or png or bmp](https://discourse.itk.org/t/conversion-of-dicom-image-format-to-jpeg-or-png-or-bmp/3473):
>
> Hi, I am try to get convert a dicom image into jpeg, png or bmp. I would like to know if converting the image array from dicom to jpeg or any other format results loss in image data information? Thanks,Jiten

If you work with medical images, I would recommend to use tools, frameworks, and tutorials developed specifically for medical imaging ([monai](https://monai.io/), [torchio](https://github.com/fepegar/torchio), [NVidia Clara](https://developer.nvidia.com/clara), etc).

---

_[View the full topic](https://discourse.itk.org/t/converting-3d-zraw-image-into-2d-png/3476)._
