blah blah blah is here! blah blah » Close

up0down
link

Hello,

is it possible to rotate an image in a console application?
So basicly write some sort of tool where I can write the directory (ie: C:\my_pictures) and then the tool loops trough all .jpg files in the directory and rotates them 90°.

string[] imgs = Directory.GetFiles(@"C:\my_pictures", "*.jpg");
foreach (string img in imgs)
{
// this is pseudo-code
Rotate(img, 90)
}


Thanks in advance!
Gr,
Sam

last answered 2 years ago

1 answers

up1down
link

http://www.switchonthecode.com/tutorials/csharp-tutorial-image-editing-rotate

sanjib
226

MadHatter, Many thanks for sharing a very helpful link. The tutorials are great indeed.

SAS_Sam
30

Thank you very much!

Feedback