Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ROTATION OF JPEG IMAGE TO A DESIRED ANGLE

Status
Not open for further replies.

peeli

Programmer
Jun 9, 2002
15
0
0
IN
How is it possible to rotate a jpg image to a desired angle without losing the quality.
 
Hi,

Consider the PlgBlt API function, I have used it to rotate images but it is only implemented on some versions of windows (viz., those derived from NT).

Cheers.

"Life is full of learning, and then there is wisdom"
 
PlGBlit is a little limiting, frankly. You might want to investigate the idea of SetWorldTransform.

However, the goal that the actual quality won't be impacted is, I'm afraid, more-or-less unachievable. But, since you are dealing with jpegs (and therefore - probably - photos) this shouldn't be too much of a problem, as the apparant quality should hardly be impacted by SetWorldTransform
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top