[VB.NET] Can we draw an image in PictureBox without rotation?

  • Thread starter Thread starter Ashidacchi
  • Start date Start date
A

Ashidacchi

Guest
Hi all,
A PictureBox in Windows Form slways shows an image from a file as a landscape image, even if it is portrait originally.

Me.PictureBox.Image = Image.FromFile(...file name with full path...)
Actual screenshot of the program.
OK: landscape image
1539623.png
NG: portrait originally

1539624.png

P.S.
I don't use EXIF meta data if files have it.
When a file has EXIF data, a portrait image seems to be rotated as landscape (rotated with 90 degrees).

Regards,
Ashidacchi -- ソフト開発の北窓舎(ほくそうしゃ)トップページ

Continue reading...
 
Back
Top