Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • October 23, 2017, 07:34 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: C# Image Orientation Gotcha  (Read 3877 times)


  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,243
    • View Profile
    • Donate to Member
C# Image Orientation Gotcha
« on: December 24, 2010, 08:48 AM »
I just posted a C# EXIF image orientation gotcha here.

The long & short of it is that you cannot dispose of an image and you must leave the file handle open (locked) in order to get at the metadata, and specifically, the EXIF 274 (0x112) image orientation data. If you clone or copy the image, the image orientation data will not be available.

Hope that helps someone. Took me a while to figure out what was going on.


  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,123
    • View Profile
    • Donate to Member
Re: C# Image Orientation Gotcha
« Reply #1 on: January 07, 2011, 10:26 AM »
Dang!  They need to fix this.  I can think of a couple scenarios where this will be darned inconvenient!