Resize the headlight on an image of a car.
This “How-To” uses the file bmw.tifas an example. The file is located in the pix sub-directory in the Courseware project.
Open it by choosing File > Import > Canvas Image.
To copy the headlight
First, copy the detail you want to resize; in this case, copy the headlight.
- Zoom and pan your view so you can see the left headlight clearly.
- Choose Paint > Select > Marquee (rectangle).
- Drag a rectangle around the left headlight.
If you make a mistake, drag a new rectangle around the headlight.
The pink color indicates regions of the active layer that are not selected. (Regions that are not selected are also referred
to as masked regions.)
Regions that are not pink are selected regions (or unmasked regions).
Now you can only modify the selected regions (for example, painting, erasing, copying, and so on).
You cannot modify the pink (masked) regions.
- Choose Edit > Copy Image to copy the selected regions to the clipboard.
- Choose Windows > Editors > Canvas Layer Editor to open the .
- Double-click on the layer containing the image, and rename it (if not already the case).
- Choose Edit > Paste Image to paste the contents of the clipboard into a new image layer.
Notice in the window that there is now a new layer named .
- Double-click the layer, type headlight and press (Windows) or (Mac) to rename the layer.
To resize the headlight
Next you’ll resize the headlight.
- Make sure the layer is active. It should be highlighted in purple in the . If it is not, click it.
- Choose in the .
A manipulator appears on the image layer.
- Drag the proportional scale handle to increase the size of the headlight.
Release the proportional scale handle to preview the transformation.
If you do not like the headlight’s new size, drag the proportional scale handle again.
- Click to accept the transformation.
- Choose Pick > Object to clear the selection.
- In the window, click the icon for the layer to hide the image layer so you can see the original image.
- In the window, click the icon for the layer to show it again.
To remove paint around the headlight
Next you’ll remove the parts of the car body that surround the headlight.
- In the window, click the icon for the layer to hide the image layer. Now you can clearly see the contents of the layer.
Make sure the layer is active. It should be highlighted in purple. If it is not, click it.
- Zoom and pan your view so the headlight fills the view.
- In the , click the button.
- Click on the layer again to make it active.
- Link the invisibility mask layer ()to the headlight layer by clicking the icon to the right of the invisibility mask layer name so that it becomes a icon.
- Click on the invisibility mask layer to make it the active layer.
- Choose Paint > Solid Brush.
Adjust the size of the brush to give you control, and paint the car areas. Notice that where you paint, a mustard-yellow color
is laid down. This will hide the parts of the car that you don’t want visible.
- Brush roughly around the headlight to hide most of the car body.
If some of the headlight is covered by the yellow invisibility mask, use the eraser tool to remove the mask in those areas.
- Brush carefully around the headlight to hide any remaining parts of the car body, adjusting the size of the brush and eraser
as needed.
- Click on the layer to see how the Invisibility mask layer hides all areas covered in yellow.
- In the , click the icon for the layer to show it again.
- Zoom and pan your view so you can see the entire car.
- In the , click the icon for the layer to hide the image layer so you can see the original image.
- In the , click the icon for the layer to show it again.
To merge and export the final image
Finally you’ll merge the image layers together and export the final image.
- Choose from the to merge the active image layer () with the image layer below it ().
Notice that there is once again only one image layer named .
- Close the .
- Choose File > Export > Canvas Image/Mask Layer to open the and save the final image.