|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
ImageRotate
ImageRotate[image]
rotates image counterclockwise by 90°.
ImageRotate[image, side]
rotates image to make the top of the image be on the specified side.
ImageRotate[image, side1->side2]
rotates image to make
be on
.
ImageRotate[image,
]
rotates image counterclockwise by
radians.
ImageRotate[image, side, size]
gives an image of the specified size.
Details and OptionsDetails and Options
- Possible side specifications are: Top, Bottom, Left, Right.
- ImageRotate[image, ...] rotates image about its center.
- ImageRotate yields an Image object with pixel values corresponding to a rotated image.
- ImageRotate[image, side] is equivalent to ImageRotate[image, Top->side].
- ImageRotate takes a Background option to specify the color assumed for pixels outside the image. With Background->Transparent, ImageRotate pads with fully transparent black pixels.
- By default, ImageRotate automatically chooses the most suitable resampling algorithm. An explicit algorithm can be specified by setting the Resampling option.
- In ImageRotate[image, side, size], possible specifications for size include:
-
w width of the output image {w,h} width and height of the output image Automatic smallest rectangle to enclose all of the rotated image All smallest square to accommodate the rotated image for any rotation angle Full use the dimensions of the input image
ExamplesExamplesopen allclose all
Basic Examples (4)Basic Examples (4)
New in 7 | Last modified in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »









