You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to convert a DICOM image to bitmap using the fo-dicom library, I encounter an error stating "Decoding dataset with transfer syntax: JPEG Baseline (Process 1): Default Transfer Syntax for Lossy JPEG 8 Bit Image Compression is not supported." This issue does not appear when using the externally provided dicom.Core.dll for .NET Framework 4.81.
Additional context
The functionality works as expected when using dicom.Core.dll for .NET Framework 4.81, suggesting there might be a compatibility or implementation issue with the fo-dicom library in .NET 7.0.
Environment
Fellow Oak DICOM version: 5.1.1
OS: Windows 11
Platform: .NET 7.0
I hope this expanded description helps. If there's anything else you'd like to add or if you have further questions, please let me know!
The text was updated successfully, but these errors were encountered:
Certainly! Here's a more detailed bug report:
Describe the bug
When trying to convert a DICOM image to bitmap using the fo-dicom library, I encounter an error stating "Decoding dataset with transfer syntax: JPEG Baseline (Process 1): Default Transfer Syntax for Lossy JPEG 8 Bit Image Compression is not supported." This issue does not appear when using the externally provided dicom.Core.dll for .NET Framework 4.81.
To Reproduce
DicomTestViewer
project.Class1.cs
when calling theimage.AsSharpImage();
method.Expected behavior
The DICOM image should be successfully converted to a bitmap without any codec errors.
Screenshots or test DICOM files
![image](https://private-user-images.githubusercontent.com/52397976/276554066-79d58a96-c0b6-430e-9588-6f3b11ec06a3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAyNDI5MjUsIm5iZiI6MTcyMDI0MjYyNSwicGF0aCI6Ii81MjM5Nzk3Ni8yNzY1NTQwNjYtNzlkNThhOTYtYzBiNi00MzBlLTk1ODgtNmYzYjExZWMwNmEzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA2VDA1MTAyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBjMjAzMjNkODk1MWU3Zjk5MDI5NzNhOWExMjVkN2UxNWNkZThiNWRkMTg5OThhOTVjODI2NDAxMjdkZjIzODkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.4gf9ssyK-bvVc8ORlqLQN55pWbbQPohzf0RxOhx8kyU)
The error screenshot can be viewed here:
Code for reference:
https://github.com/jamesnet214/issue/blob/main/dotnet/dicom/DicomTestViewer/JamesCoreViewer/Class1.cs
Test DICOM file:
https://github.com/jamesnet214/issue/blob/main/dotnet/dicom/DicomTestViewer/JamesCoreViewer/Data/studylist/A2C/1.dcm
Additional context
The functionality works as expected when using
dicom.Core.dll
for .NET Framework 4.81, suggesting there might be a compatibility or implementation issue with thefo-dicom
library in .NET 7.0.Environment
I hope this expanded description helps. If there's anything else you'd like to add or if you have further questions, please let me know!
The text was updated successfully, but these errors were encountered: