cornerstonejs / cornerstoneWADOImageLoader

[Deprecated] Use Cornerstone3D Instead https://cornerstonejs.org/
MIT License
285 stars 264 forks source link

The dcm diagram is displayed in black on the iOS side #521

Open shuishuidewo opened 1 year ago

shuishuidewo commented 1 year ago

Do you know this problem? cornerstoneWADOImageLoader version 4.10.2 dcm file size 33MB

20230330

duan-jy commented 2 months ago

if (image.rows > 4096 && isIOS()) { image.rows = 4096 } Canvas on iOS has a maximum length of 4096

aodong8808 commented 2 months ago

@duan-jy I set it up like this and nothing happened

shuishuidewo commented 2 months ago

@aodong8808 hope you can understand 1

aodong8808 commented 2 months ago

@shuishuidewo Thanks for your reply, I'll try it

aodong8808 commented 2 months ago

@shuishuidewo I wrote your code like this and it didn't work

aodong8808 commented 2 months ago

@shuishuidewo image

shuishuidewo commented 2 months ago

@aodong8808 Add me on WeChat: wubuffer

aodong8808 commented 2 months ago

@shuishuidewo image

神奇的很,使用你的代码,除了xs不能渲染,其他ios都可以正常渲染,我直接在源码里面加了一段逻辑,改了rows,xs就神奇的可以渲染了