Hello,
I am writing my own class using ImageLoader. Can somebody, please, help me with these questions:
- How do I know that the image was loaded already? Can I set up callback somehow?
- What should functions sourceURI() and dispatchLoadEvent() do?
- What is pixel format for m_imageLoader.image()->image()->data()->data()? Is this the right way to access loaded image raw pixel data?
- How can I handle animations (e.g. GIF files)? How do I know when the next image in the animation suquence is ready? Another callback?
- Which image formats are supported? Can I add my own, like HDR?
Thank you.