Cannon,

I tried your code on the supplied image and had to swap the values for 6 & 8 
as, after rotation, the image was upside down.

So
     : ($lOrientation=8)  //Left 90˚, so need to rotate right 90˚
          $gPicture:=Photo_Rotate ($gPicture;90)
                                                                                
       : ($lOrientation=6)  //Right 90˚, so need to rotate 270˚
          $gPicture:=Photo_Rotate ($gPicture;270)

Became
     : ($lOrientation=6)  //Left 90˚, so need to rotate right 90˚
          $gPicture:=Photo_Rotate ($gPicture;90)
                                                                                
       : ($lOrientation=8)  //Right 90˚, so need to rotate 270˚
          $gPicture:=Photo_Rotate ($gPicture;270)

I expect your code is right so does that mean the camera was inverted 
originally to create my odd results?

Regards,  Dougie
________________________________________________________

telekinetix Limited- J. Douglas Cryer
Phone : 01234 761759  Mobile : 07973 675 218
2nd Floor Broadway House, 4-6 The Broadway, Bedford MK40 2TE
Email : [email protected]  Web : http://www.telekinetix.com 
<http://www.telekinetix.com/>
________________________________________________________
     



**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to