to post a new message or reply to an existing one. If you are not registered, please
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Hello,I wonder if there is a way to rotate png image by angle? I want to make some kind of nonprogressing bar. My png file is now loaded by using resources and CExtLabel class. Thank you
Prof-UIS does not implement image rotation algorithms. Such algorithms are simply not needed when displaying icons and painting skin parts. Some generic image rotation approaches are described here:http://www.codeguru.com/cpp/g-m/gdi/article.php/c3693/http://www.codeguru.com/vb/gen/vb_graphics/gdi/article.php/c10677/You can use one of image manipulation libraries for rotating image surfaces:http://freeimage.sourceforge.net/download.htmlhttp://www.xdp.it/download.htmYou can more efficiently rotate images using one of the following GDI/GDI+ replacement libraries:http://www.antigrain.comhttp://www.cairographics.orgBut really image output with rotation, scaling and any other kind of transformations/effects would be better and really more efficient if it will be implemented some hardware accelerated APIs such as DirectX or OpenGL.