Free Support Forum -

Ability to convert PDF or JPEG to DICOM format

I’m new to the imaging product. Does it have the ability to covert a PDF or a JPEG to the DICOM format?


Aspose.Imaging supports working with Image files and their export to PDF. However, vice versa is not supported in API. You may please check Aspose.PDF for concerned support if available in API.

So Aspose.Imaging can convert a JPEG or a TIFF file to DICOM?


You can use following sample code to serve the purpose.

using (var image = Image.Load("sample.jpg"))
    image.Save("sample.dcm", new DicomOptions());