avatar image

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

Login with username, password and session length
  • November 18, 2018, 02:31 AM
  • Proudly celebrating 13 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 4070 times)


  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,260
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • 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.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker


  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,176
    • 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!