Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » How to rotate PNG? Collapse All
Subject Author Date
Vladimir Klestinec Aug 7, 2008 - 9:37 AM

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

Technical Support Aug 7, 2008 - 1:23 PM

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:

You can use one of image manipulation libraries for rotating image surfaces:

You can more efficiently rotate images using one of the following GDI/GDI+ replacement libraries:

But 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.