Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shuishuidewo opened this issue Mar 30, 2023 · 8 comments
Open

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

shuishuidewo opened this issue Mar 30, 2023 · 8 comments

Comments

@shuishuidewo
Copy link

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

20230330

@duan-jy
Copy link

duan-jy commented Sep 18, 2024

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

@aodong8808
Copy link

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

@shuishuidewo
Copy link
Author

@aodong8808
hope you can understand
1

@aodong8808
Copy link

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

@aodong8808
Copy link

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

@aodong8808
Copy link

@shuishuidewo
image

@shuishuidewo
Copy link
Author

@aodong8808
Add me on WeChat: wubuffer

@aodong8808
Copy link

@shuishuidewo
image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants