All functions Mac OS X Windows Crossplatform Components New in version: 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 2.0
Component: GraphicsMagick
Mac OS X: Works
Windows: Works
MBS( "GMImage.GetOrientation"; ImageRef )
Parameter | Description | Example value |
---|---|---|
ImageRef | The image reference (a number returned from the GMImage.New functions) | 1 |
Returns a number.
Queries the image orientation.
UndefinedOrientation = 0, TopLeftOrientation = 1, (Line direction: Left to right, Frame Direction: Top to bottom) TopRightOrientation = 2, (Line direction: Right to left, Frame Direction: Top to bottom) BottomRightOrientation = 3, (Line direction: Right to left, Frame Direction: Bottom to top) BottomLeftOrientation = 4, (Line direction: Left to right, Frame Direction: Bottom to top) LeftTopOrientation = 5, (Line direction: Top to bottom, Frame Direction: Left to right) RightTopOrientation = 6, (Line direction: Top to bottom, Frame Direction: Right to left) RightBottomOrientation = 7, (Line direction: Bottom to top, Frame Direction: Right to left) LeftBottomOrientation = 8 (Line direction: Bottom to top, Frame Direction: Left to right)
Feedback: Report problem or ask question.