-
Notifications
You must be signed in to change notification settings - Fork 126
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
apng format support #280
Comments
We have apng plugin support in Qt. Here is the source code of the plugin:- https://github.com/Skycoder42/QtApng/tree/master/src/plugins/imageformats/apng |
Yes that is the plan. |
Hi @jurplel I am able to load apng file successfully. I can see the png file getting animated. For that we need to compile the plugin and put that in plugins/imageformats folder in Qt SDK directory. The problem is that I thought of removing the QImageReader::supportsAnimation() with QMovie::isValid(). However, it returns true even for normal image file which doesn't have animations. So I replaced it with |
Here is the PR:- #325 |
Only took a quick look at this but I have no idea how
Are you using it with a |
Hi @jurplel Yes, youre right. If you see the code changes I am explicitly setting the fomat to apng. This would not work with png files because Qt already has plugin available to support png files. The only way I would see to fix is either use our own image reader which would based on the frames count use png or apng. I will explore more on this. |
I have opened an issue for some of the weirdness: Skycoder42/QtApng#11 |
Line 113 in 8ba016b
By looking at the current implementation of qView, I guess the The |
Oh, cool! |
No description provided.
The text was updated successfully, but these errors were encountered: