AWS Cloud9 is no longer available to new customers. Existing customers of
AWS Cloud9 can continue to use the service as normal.
Learn more
Working with Images Files in the AWS Cloud9 IDE
You can use the AWS Cloud9 Integrated Development Environment (IDE) to view and edit image files.
View or Edit an Image
In the AWS Cloud9 IDE, open the file for the image you want to view or edit. Supported image file types include the following:
-
.bmp
-
.gif
(view only) -
.ico
(view only) -
.jpeg
-
.jpg
-
.png
-
.tiff
Resize an Image
-
Open the image file in the IDE.
-
On the image editing bar, choose Resize.
-
To change the image width, type a new Width in pixels. Or choose "-" or "+" next to Width to change the current width one pixel at a time.
-
To change the image height, type a new Height in pixels. Or choose "-" or "+" next to Height to change the current height one pixel at a time.
-
To maintain the image ratio of width to height, leave Maintain Aspect Ratio checked.
-
To confirm the image's new size, on the image editing bar, see the width (W) and height (H) measurements in pixels.
-
Choose Resize.
-
To discard the resizing, on the menu bar, choose Edit, Undo. To keep the new size, choose File, Save.
Crop an Image
-
Open the image file in the IDE.
-
Drag the pointer over the portion of the image that you want to keep.
-
To confirm the selection's dimensions, on the image editing bar, see the Selection dimensions, as follows:
-
The distance in pixels from the original image's left edge to the left edge of the selection (L)
-
The distance in pixels from the original image's top edge to the top edge of the selection (T)
-
The selection's width in pixels (W)
-
The selection's height in pixels (H)
-
-
On the image editing bar, choose Crop.
-
To discard the crop, on the menu bar, choose Edit, Undo. To keep the new cropped image, choose File, Save.
Rotate an Image
-
Open the image file in the IDE.
-
To rotate the image counterclockwise, on the image editing bar, choose Rotate 90 Degrees Left.
-
To rotate the image clockwise, on the image editing bar, choose Rotate 90 Degrees Right.
-
To discard the rotation, on the menu bar, choose Edit, Undo. To keep the new rotated image, choose File, Save.
Flip an Image
-
Open the image file in the IDE.
-
To flip the image horizontally, on the image editing bar, choose FlipH.
-
To flip the image vertically, on the image editing bar, choose FlipV.
-
To discard the flip, on the menu bar, choose Edit, Undo. To keep the new flipped image, choose File, Save.
Zoom an Image
-
Open the image file in the IDE.
-
On the image editing bar, choose one of the available zoom factors (for example, 75%, 100%, or 200%).
Smooth an Image
-
Open the image file in the IDE.
-
On the image editing bar, select Smooth to reduce the amount of pixelation in the image. To discard the smoothing, deselect Smooth.
-
On the menu bar, choose File, Save.