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

avatar image

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

Login with username, password and session length
  • December 08, 2016, 02:14:35 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 3702 times)

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,220
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
C# Image Orientation Gotcha
« on: December 24, 2010, 08:48:34 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

kyrathaba

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