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

Large embedded <image>s are disappears. #100

Closed
linushp opened this issue Jul 31, 2019 · 5 comments
Closed

Large embedded <image>s are disappears. #100

linushp opened this issue Jul 31, 2019 · 5 comments

Comments

@linushp
Copy link

linushp commented Jul 31, 2019

you can see the svg file :
https://wscdn.xiaoma.cn/db/ef/ce/dbefcee9284998c31464e130517f4fe2.svg

I use the "scratch-gui" project and create many costome use the svg file and make them random moving 。。

When I use iphone (ios) safari browser to see the works before .

The image in the svg can not display .

@linushp
Copy link
Author

linushp commented Jul 31, 2019

@towerofnix
Copy link

Potentially related to #58.

@linushp
Copy link
Author

linushp commented Aug 2, 2019

Potentially related to #58.

it is not the #58

my issue is noly in player .

@linushp
Copy link
Author

linushp commented Sep 10, 2019

I have known the reason .

const img = new Image(); img.onload = () => { this._cachedImage = img; this._drawFromImage(scale, onFinish); };

at iOS platform , when 'img.onload' occured , the bitmap in the svg file has not loaded .

so we defer some time .

@linushp linushp closed this as completed Nov 25, 2019
@ZHUMINGZHE123
Copy link

I have known the reason .

const img = new Image(); img.onload = () => { this._cachedImage = img; this._drawFromImage(scale, onFinish); };

at iOS platform , when 'img.onload' occured , the bitmap in the svg file has not loaded .

so we defer some time .

Please tell me how to fix it

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