Search found 2 matches
- Thu, 2023-03-16, 01:03
- Forum: DCMTK - General
- Topic: img2dcm says F: Error converting file: Not a JPEG file
- Replies: 4
- Views: 381
Re: img2dcm says F: Error converting file: Not a JPEG file
--write-jpeg option seems to do the trick. However, this converts the image into 8 bits and the pixel depth is lost. I can add the +on2 option and get a 16 bit jpeg image, however, I can find no way to convert the jpeg back to dicom. It always says F: Error converting file: Not a JPEG file. Does any...
- Thu, 2023-03-16, 00:45
- Forum: DCMTK - General
- Topic: img2dcm says F: Error converting file: Not a JPEG file
- Replies: 4
- Views: 381
img2dcm says F: Error converting file: Not a JPEG file
I installed dcmtk just fine. I am able to use img2dcm on any random jpg image and convert to a dcm file. But when I use dcmj2pnm to convert a dcm image into jpeg, then try to convert that image back to jpeg, I get this error message - F: Error converting file: Not a JPEG file The jpeg image I conver...