HTML5, CSS3, and JavaScript Fourth Edition

(Ben Green) #1

CHAPTER 5. IMAGE CROP AND RESIZE 55


Using Gimp’s rectangle select tool,
I have drawn a line around the
part to be kept. The rest will be
cropped away.


From the menu, I selectGimp Menu:
Image / Crop to Selection.


5.3 Scaling Combines Pixels


As you can see in the red circle
at the top, the resulting image is
now 3264 (the full original width)
x 1018 (the new height) pixels.


Our next task is to Scale the Image. From the menu, I selectGimp Menu:
Image / Scale Image.


In the circle toward the middle, I change the width to 1000 and it shows me

Free download pdf