ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Flipped width/height in camera raw
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

quantuz

Sweden
55 Posts

Posted - Oct 08 2014 :  13:33:33  Show Profile  Reply
Hi,
When I try to load a .cr2 image wich is in portrait mode the ParamsFromFileFormat gives the with height flipped i.e. width=height, in the load dialog the preview thumb in the file window is correct portrait but the preview to the right is in landscape. Any clues whats the problem? running IE 5.1.1

IEIO->ParamsFromFileFormat(fileName, ioRawDLLPlugIn);

Regards,
//Christer

xequte

39142 Posts

Posted - Oct 08 2014 :  15:47:03  Show Profile  Reply
Hi Christer

It sounds like the camera treats the photo as already rotated. You might want to automatically rotate it based on the orientation data. See:

http://www.imageen.com/help/TIOParamsVals.EXIF_Orientation.html




Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: