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

Can open the large size gif #33

Closed
lindexi opened this issue Sep 13, 2017 · 3 comments
Closed

Can open the large size gif #33

lindexi opened this issue Sep 13, 2017 · 3 comments

Comments

@lindexi
Copy link

lindexi commented Sep 13, 2017

I have a gif that has a 4520 height and 4520 widths and the app can't open it.

I upload the image to http://7xqpl8.com1.z0.glb.clouddn.com/%E4%BC%9A%E7%82%B8gif.GIF.

But when I open Uri that I can show the image but when I open the file that I can't show it.

@thomaslevesque
Copy link
Member

I'm not sure what you're trying to do here... This isn't an animated GIF, you don't need WpfAnimatedGif (or any other library) to display it. WpfAnimatedGif detects that the image has a single frame, and just sets it as the Source of the Image control. It doesn't do anything else.

However the image is very large, so it's possible that most of it is outside the screen (or at least outside the view). Have you tried setting Stretch="Uniform" on the Image control?

@thomaslevesque
Copy link
Member

I'm closing the issue, as it doesn't appear to be an issue with the library itself.

@lindexi
Copy link
Author

lindexi commented Sep 13, 2017

I will try to get the frame in gif and I will detect it only have an image.

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

2 participants