Convert PDF to DICOM

2,940 views
Skip to first unread message

Rafael de Faria Scheidt

unread,
Apr 13, 2014, 5:38:18 PM4/13/14
to dcm...@googlegroups.com
Hello,

I'm trying convert PDF to DICOM using (jpg2dcm - Convert a JPEG image to DICOM);
But, when I opened in the Weasis the file converted, it not understand the type. The Weasis opened a thumb, but how a PDF file.
How can I convert a PDF to DICOM file? Is it the best way?

Thanks,

--
-----------------------------------------------
 Rafael de Faria Scheidt, MSc, CSM
-----------------------------------------------

alle alle

unread,
Apr 15, 2014, 6:42:25 AM4/15/14
to dcm...@googlegroups.com
 You can use pdf2dcm tool in the same way you use jpg2dcm!!

Rafael de Faria Scheidt

unread,
Apr 15, 2014, 7:21:43 AM4/15/14
to dcm...@googlegroups.com
Hey alle,

Yes, I did it (pdf2dcm). But the result is a PDF type file with metadata dicom and Weasis dosen't understand it.




--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at http://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

alle alle

unread,
Apr 15, 2014, 7:35:59 AM4/15/14
to dcm...@googlegroups.com
00100010:CACCIARI^CLAUDIO^^^
00100020:802302
00100030:19810826
00100040:M
00420010:Referto Radiologico
00080090:Medico Refertatore
00080060:DOC
0020000D:1.2.40.0.13.1.1.1.127.0.1.1.20120523204359762.32772
00420012:application/pdf
00080016:1.2.840.10008.5.1.4.1.1.104.1
00280301:YES
00080064:SD
00200011:10000
0008103E:Referto Radiologico
00180015:Completato in Archivio del 26/02/2014 15:31:30

This is an example of config you have to pass to pdf2dcm: in the tag 00420012 you have to set application/pdf (or also application/octet-stream works...).

Rafael de Faria Scheidt

unread,
Apr 15, 2014, 7:47:26 AM4/15/14
to dcm...@googlegroups.com
Hey alle,

I did it with your parameters and when I opened the Weasis. The converted dicom file is not imagem, is a PDF file. I'd like to see the file like a dicom with image.
I'm wrong?


Suresh Viswanathan

unread,
Apr 15, 2014, 9:21:28 AM4/15/14
to dcm...@googlegroups.com
What you’re asking isn’t possible without some extra work. PDF is a valid DICOM file format and pdf2dcm will just encapsulate it with the DICOM header. There are utilities that let’s you “print” to  jpeg file. Use that and convert each page to jpeg before using jpg2dcm to achieve what you’re asking for.

Suresh.

shonu shoni

unread,
Feb 2, 2017, 8:44:18 AM2/2/17
to dcm4che
Dear i am also using pdf2dcm. file is converting to dicom file but not opening in any dicom viewer please give me any suggestion.
screen shot is attached in attachment.

 
2-2-2017 6-45-25 PM.png
Reply all
Reply to author
Forward
0 new messages