Writer:图片的剪裁、缩放、旋转和其它设置

出自OOo 中文指南手册翻译

跳转到: 导航, 搜索


目录

[编辑] 裁剪图片

如果您只需要图片的一部分时,您可以对图片进行裁剪,步骤如下:在图片上右击鼠标,选择快捷菜单的图片,然后在弹出的图片对话框中选择裁剪选项卡。 When you are only interested in a section of the image for the purpose of your document, you may wish to crop (cut off) parts of it. To start cropping the image, right-click on it and select Picture from the pop-up menu. In the Picture dialog box, select the Crop page.

裁剪图片时的设置项。

裁剪选项卡中可以设置以下参数: In the Crop dialog box, you can control the following parameters:

  • 保持显示比例 / 保持画面大小 :默认选择保持显示比例,裁剪后图片的比例不会改变。选择保持画面大小时,裁剪的图片会放大(正数值)或缩小(负数值)到图片的原始大小。 when Keep scale is selected (default), cropping the image does not change the scale of the picture. When Keep image size is selected, cropping produces enlargement (for positive cropping values), shrinking (for negative cropping values), or distortion of the image so that the image size remains constant.
  • :输入的数字的作用取决于上面的选择。当在中输入3厘米时,图片左边的3厘米将被裁剪掉。 the function of these boxes changes according to the choice made between Keep scale and Keep image size. In both cases, when a value is entered in one of these boxes, the image is cropped by that amount. For example, a value of 3cm in the Left box will cut 3 cm from the left side of the picture.

当选择保持显示比例时,图片的大小将发生变化,图片的宽度将减少3厘米;如果选择保持画面大小时,裁剪后的图片将被放大(正数值)或缩小(负数值)而保持图片的大小不变。 When Keep scale is selected, the size of the image also changes, so in this example the width will be reduced by 3 cm. If Keep image size is selected instead, the remaining part of the image is enlarged (positive values for cropping) or shrunk (negative values for cropping) so that the width and height of the image remains unchanged.

请注意,宽度高度的数值将发生变化。请通过右侧的预览图来查看图片是否裁剪够。 Note that the Width and Height fields change as you enter the values when in this mode. Use the thumbnail next to these fields to determine the correct amount by which to crop.

[编辑] 缩放图片

当插入的图片太大或者太小时,您可以对图片进行缩放: It is possible, and quite likely, that the inserted image will not fit perfectly into the document because it is too big or too small. In these cases you will need to resize the image.

  1. 点击图片后,图片的四周出现绿色的缩放手柄。 Click the picture, if necessary, to show the green resizing handles.
  2. 把鼠标指针放到其中的一个手柄上,指针改变形状,显示出图片缩放的方向。 Position the pointer over one of the green resizing handles. The pointer changes shape giving a graphical representation of the direction of the resizing.
  3. 按下并拖拉鼠标来缩放图片。 Click and drag to resize the picture.
  4. 当图片大小符合要求时松开鼠标。 Release the mouse button when satisfied with the new size.

图片四角的手柄同时改变图片的宽度和高度,其它的四个手柄只改变对应方向的大小。 The corner handles resize both the width and the height of the graphic object simultaneously, while the other four handles only resize one dimension at a time.

Image:Tip.png 按下Shift键再拖拉鼠标缩放图片时,图片的长宽比保持不变。记住放开鼠标左键后才放开Shift 键。
 To retain the original proportions of the graphic, Shift+click one of the corner handles, then drag. Be sure to release the mouse button before releasing the Shift key.


请注意,缩放位图(光栅)图片时将会更改图片的分辨率,有可能导致图片模糊。在插入图片前您应尽可能先在图像处理软件中调整好大小。 Be aware that re-sizing a bit-mapped (raster) image will adversely affect the resolution, causing some degree of blurring. It is better to externally size your picture correctly before insertion into your presentation, if possible.

下图显示了三种在文档中缩放图片的方式: The figure below shows three examples of an image inserted into a document and resized.

Figure 8. Three examples of resized images, plus the original image

如果想精确缩放图片,请使用图片对话框中的裁剪选项卡或类型选项卡。您可以通过下面的设置,或者结合裁剪图片的内容来调整图片大小: For more accurate resizing, use either the Crop page of the Picture dialog box or, for images, the Type page of the Picture dialog box. On the Crop page you can either adjust the following settings or use the settings in the Crop section as described here.

  • 显示比例中的宽度高度:按百分比大小准确调整图片尺寸。如果按原始尺寸比例调整,请保持两个比例相同。 Scale Width and Height: specify in percentages the scaling of the picture. The size of the image changes accordingly. For a scaled resizing, both values should be identical.
  • 图像大小:以设定的尺寸单位来调整图片大小,图像相应放大或者缩小。 specify the size of the image in your preferred unit of measurement. The image enlarges or shrinks accordingly.
  • 原件大小按钮:点击后,图片恢复为原始大小。 when clicked, restores the image to its original size.

图片对话框的类型选项卡中,勾选相对的I将在百分比和绝对长度单位间转换。勾选保持比例来保持图片的大小比例。点击原件大小按钮把图片恢复到原始大小。 In the Type page of the Picture dialog box, select the Relative option to toggle between percentage and actual dimension. For a scaled resizing, select the Keep ratio option. As for the Crop page, clicking on the Original Size button restores the original image size.

[编辑] 旋转图片

Writer没有专门的工具来旋转图片,但是您很容易做到: Writer does not provide a tool for rotating a picture; however, there is a very simple workaround:

  1. 新建一个绘图或者演示文稿文档。 Open a new Draw or Impress document.
  2. 插入您需要旋转的图片,插入的方法跟在向文档中添加图片中介绍的类似。 Insert the image you want to rotate. You can use any of the mechanisms described in Adding images to a document, although there are some slight variations in the position of the menu entries and icons.
  3. 选择图片,点击窗口底部的绘图工具栏的旋转图标Image:RotateIcon.png Select the image, then in the drawing toolbar (shown by default at the bottom of the window in Impress and Draw), select the Rotate icon Image:RotateIcon.png.
  4. 使用图片四角的红色手柄来旋转图片到所需位置。图片默认围绕中心点(十字准星标示)旋转。您可以把十字准星移动到任意位置来调整旋转的中心。 Rotate the image as desired. Use the red handles at the corners of the picture and move the mouse in the direction you wish to rotate. By default the picture rotates around its center (indicated by a black crosshair), but you can change the pivot point by moving the black crosshair to the desired rotation center.
  5. Image:Tip.png 按住Shift键后,图片将以15度的角度进度旋转。
     To restrict the rotation angle to multiples of 15 degrees keep the Shift key pressed while rotating the image.


  6. 按功能键 Ctrl+A 选择图片,再按功能键 Ctrl+C 复制图片。 Select the rotated picture by pressing Ctrl+A, then copy the image to the clipboard with Ctrl+C.
  7. 切换到Writer文档中,按功能键 Ctrl+C 插入旋转的图片。 Finish by going back to the location of the Writer document where the image is to be inserted and pressing Ctrl+V.

[编辑] 其它设置

图片对话框有8个选项卡。裁剪选项卡在本节的裁剪图片中介绍了,类型环绕选项卡将在图形在文本中的定位中介绍。其它的选项卡的作用是: The Picture dialog box consists of eight pages. The Crop page was described here, while the use of the Type and the Wrap pages is explained in Positioning graphics within the text. The other pages serve the following purposes:

  • 选项:为图片设置说明性名称(显示在导航窗口中)、鼠标指针停留在图片上时显示的文字说明,以及设置保护的内容。您可以取消勾选打印来禁止图片打印出来。 use this page to give the picture a descriptive name (as you want it to appear in the Navigator), display alternative text when the mouse hovers over the picture, and protect some of the picture settings from accidental changes. You can also prevent the picture from being printed by deselecting the corresponding option.
  • 边框:设置图片四周的边框,其中的设置跟表格和段落边框设置相同。您还可以为图片设置阴影。 use this page to create borders around the picture. The Borders dialog box is the same as the one used for defining table or paragraph borders. You can also add a shadow to the image if so desired.
  • 背景:用于更改图片背景颜色。只有当图片设置了透明色时才有效果。 use this page to change the background color of the picture. This setting produces the desired results only for images with a transparent color.
  • 超链接:用于设定图片的超链接,还可以设置映射,那么在浏览器中显示时,图片上的局部位置才能响应鼠标点击打开链接(统一资源标识符)。在Impress指南中有更多相关介绍。 use this page to associate a hyperlink to the picture. you can also create an image map so that only certain areas of the picture respond to a mouse click by opening the associated URI (Uniform Resource Identifier) in the default browser. More information on image maps can be found in the Impress Guide.
  • 图片:设置图片的翻转,和设置链接到文件,而不是嵌入到文档中。 use this page to flip the picture as well as to display the original location of the file in case the image is linked rather than embedded.
  • :为图片连接宏。您可以选择预定义的宏,或者自己编写。 allows you to associate a macro to the picture. You can choose among the predefined macros or write your own.

[编辑] 删除图片

删除图片的操作是:

  1. 点击选定图片。 Click on the picture, if necessary, to show the green resizing handles.
  2. 按删除键。 Press Delete.

[编辑] 相关链接

本文原文

个人工具