Posts

Showing posts from March, 2021

Opening landscape image in c#

Bitmap   source  = ( Bitmap ) Image . FromFile (path);                                                           if  ( Array . IndexOf ( source .PropertyIdList, 274) > -1)                     {                          var   orientation  = ( int ) source . GetPropertyItem (274).Value[0];                          switch  ( orie...