Rotating JPG 90deg CCW in C

Hi, I'm pretty new in C and would like some little tricks! :)

I'm programming in that old dos C node.

I would like to take an jpg image and rotate it 90degree CCW and save the
file to a distinct path.
Is there any dos program that would permit me to do that?

I'm looking for something I can execute from the dos shell that looks like
this:
"rotateprog [C:\myimagefile] [C:\newimagefile] [rotation degrees]"

If you have any other suggestion, just tell me about it!!! ;)

Any help would be very appreciated! :)

Thanks to all!

Ryan Belanger

--

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*  Share what you know, learn what you don't  *-*
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*