ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

C# Image Orientation Gotcha

(1/1)

Renegade:
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.

kyrathaba:
Dang!  They need to fix this.  I can think of a couple scenarios where this will be darned inconvenient!

Navigation

[0] Message Index

Go to full version