mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-25 23:11:02 +08:00
translated
This commit is contained in:
parent
93a672dd5b
commit
1c257f5bc2
@ -1,125 +0,0 @@
|
||||
[#]: subject: "Crop and resize photos on Linux with Gwenview"
|
||||
[#]: via: "https://opensource.com/article/22/2/crop-resize-photos-gwenview-kde"
|
||||
[#]: author: "Seth Kenlon https://opensource.com/users/seth"
|
||||
[#]: collector: "lujun9972"
|
||||
[#]: translator: "geekpi"
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
||||
Crop and resize photos on Linux with Gwenview
|
||||
======
|
||||
Gwenview is an excellent photo editor for casual photographers to use on
|
||||
the Linux KDE desktop.
|
||||
![Polaroids and palm trees][1]
|
||||
|
||||
A good photo can be a powerful thing. It expresses what you saw in a very literal sense, but it also speaks to what you experienced. Little things say a lot: the angle you choose when taking the photo, how large something looms in the frame, and by contrast the absence of those conscious choices.
|
||||
|
||||
Photos are often not meant as documentation of what really happened, and instead they become insights into how you, the photographer, perceived what happened.
|
||||
|
||||
This is one of the reasons photo editing is so commonplace. When you're posting pictures to your online image gallery or social network, you shouldn't have to post a photo that doesn't accurately represent the feelings the photo encapsulates. But by the same token, you also shouldn't have to become a professional photo compositer just to crop out the random photo bomber who poked their head into your family snapshot at the last moment. If you're using KDE, you have a casual photo editor available in the form of Gwenview.
|
||||
|
||||
### Install Gwenview on Linux
|
||||
|
||||
If you're running the KDE Plasma Desktop, you probably already have Gwenview installed. If you don't have it installed, or you're using a different desktop and you want to try Gwenview, then you can install it with your package manager.
|
||||
|
||||
I recommend installing both Gwenview and the Kipi plugin set, which connects Gwenview with several online photo services so you can easily upload photos. On Fedora, Mageia, and similar distributions:
|
||||
|
||||
|
||||
```
|
||||
`$ sudo dnf install gwenview kipi-plugins`
|
||||
```
|
||||
|
||||
On Debian, Elementary, and similar:
|
||||
|
||||
|
||||
```
|
||||
`$ sudo apt install gwenview kipi-plugins`
|
||||
```
|
||||
|
||||
### Using Gwenview
|
||||
|
||||
Gwenview is commonly launched in one of two ways. You can click on an image file in Dolphin and choose to open it in Gwenview, or you can launch Gwenview and hunt for a photo in your folders with Gwenview acting more or less as your file manager. The first method is a direct method, great for previewing an image file quickly and conveniently. The second method you're likely to use when you're browsing through lots of photos, unsure of which version of a photo is the "right" one.
|
||||
|
||||
Regardless of how you launch Gwenview, the interface and functionality is the same: there's a workspace on the right, and a panel on the left.
|
||||
|
||||
![Gwenview][2]
|
||||
|
||||
(Seth Kenlon [CC BY-SA 4.0][3], Photo courtesy [Andrea De Santis][4])
|
||||
|
||||
Below the panel on the left, there are three tabs.
|
||||
|
||||
* Folders: Displays a tree view of the folders on your computer so you can browse your files for more photos.
|
||||
* Information: Provides metadata about the photo you're currently viewing.
|
||||
* Operations: Allows you to make small modifications to the current photo, such as rotating between landscape and portrait, resizing, and cropping.
|
||||
|
||||
|
||||
|
||||
Gwenview is always aware of the file system, so you can press the **Right** or **Left** **Arrow** on your keyboard to see the previous or next photo in a folder.
|
||||
|
||||
To leave the single-photo view and see all of the images in a folder, click the **Browse** button in the top toolbar.
|
||||
|
||||
![Browsing photos in a folder][5]
|
||||
|
||||
(Seth Kenlon, [CC BY-SA 4.0][3])
|
||||
|
||||
You can also have both views at the same time. Click the **Thumbnail Bar** button at the bottom of Gwenview to see the other images in your current folder as a filmstrip, with the currently selected photo in the main panel.
|
||||
|
||||
![Thumbnail view][6]
|
||||
|
||||
(Seth Kenlon, [CC BY-SA 4.0][3])
|
||||
|
||||
### Editing photos with Gwenview
|
||||
|
||||
Digital photos are pretty common, and so it's equally as common to need to make minor adjustments to a photo before posting it online or sharing it with friends. There are very good applications that can edit photos, and in fact one of the best of them is another KDE application called Krita (you can read about how I use it for photographs in my [Krita for photographers][7] article), but small adjustments shouldn't require an art degree. That's exactly what Gwenview ensures: easy and quick photo adjustments with a casual but powerful application that's integrated into the rest of your Plasma Desktop.
|
||||
|
||||
The most common adjustments most of us make to photos are:
|
||||
|
||||
* **Rotation**: When your camera doesn't provide the correct metadata for your computer to know whether a photo is meant to be viewed in landscape or portrait orientation, you can fix it manually.
|
||||
* **Mirror**: Many laptop or face cameras mimic a mirror, which is useful because that's how we're used to seeing ourselves. However, it renders writing backward. The **Mirror** function flips (or flops?) an image from right to left.
|
||||
* **Flip**: Less common with digital cameras and laptops, the phenomenon of taking a photo with an upside-down device is not uncommon with a mobile phone with a screen that flips no matter how you're holding your phone. The **Flip** function rotates an image 180 degrees.
|
||||
* **Resize**: Digital images are often in super HD sizes now, and sometimes that's a lot more than you need. If you're sending a photo by email or posting it on a web page you want to optimize for loading time, you can shrink the dimensions (and file size accordingly) to something smaller.
|
||||
* **Crop**: You have a great picture of yourself, and accidentally a random person you thought was just out of frame. Cut out everything you don't want in frame with the **Crop** tool.
|
||||
* **Red** **Eye**: When your retinas reflect the flash of your camera back into the camera, you get a red eye effect. Gwenview can reduce this by desaturating and darkening the red channel in an adjustable area.
|
||||
|
||||
|
||||
|
||||
All of these tools are available in the **Operations** side panel or in the **Edit** menu. The operations are destructive, so after you make a change, click **Save As** to save a _copy_ of the image.
|
||||
|
||||
![Cropping a photo in Gwenview][8]
|
||||
|
||||
(Seth Kenlon, [CC BY-SA 4.0][3], Photo courtesy [Elise Wilcox][9])
|
||||
|
||||
### Sharing photos
|
||||
|
||||
When you're ready to share a photo, click the **Share** button in the top toolbar, or go to the **Plugins** menu and select **Export**. Gwenview, along with the Kipi plug-in set, can share photos with [Nextcloud][10], [Piwigo][11], plain old email, and services like Google Drive, Flickr, Dropbox, and more.
|
||||
|
||||
### Photo editing essentials on Linux
|
||||
|
||||
Gwenview has all the essentials for a desktop photo manager. If you need more than the basics, you can open a photo in Krita or [Digikam][12] and make major modifications as needed. For everything else, from browsing, ranking, tagging, and small adjustments, you have Gwenview close at hand.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://opensource.com/article/22/2/crop-resize-photos-gwenview-kde
|
||||
|
||||
作者:[Seth Kenlon][a]
|
||||
选题:[lujun9972][b]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://opensource.com/users/seth
|
||||
[b]: https://github.com/lujun9972
|
||||
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/design_photo_art_polaroids.png?itok=SqPLgWxJ (Polaroids and palm trees)
|
||||
[2]: https://opensource.com/sites/default/files/kde-gwenview-ui.jpg (Gwenview)
|
||||
[3]: https://creativecommons.org/licenses/by-sa/4.0/
|
||||
[4]: http://unsplash.com/@santesson89
|
||||
[5]: https://opensource.com/sites/default/files/kde-gwenview-browse.jpg (Browsing photos in a folder)
|
||||
[6]: https://opensource.com/sites/default/files/kde-gwenview-thumbnail.jpg (Thumbnail view)
|
||||
[7]: https://opensource.com/article/21/12/open-source-photo-editing-krita
|
||||
[8]: https://opensource.com/sites/default/files/kde-gwenview-crop.jpg (Cropping a photo in Gwenview)
|
||||
[9]: http://unsplash.com/@elise_outside
|
||||
[10]: https://opensource.com/article/20/7/nextcloud
|
||||
[11]: https://opensource.com/alternatives/google-photos
|
||||
[12]: https://opensource.com/life/16/5/how-use-digikam-photo-management
|
@ -0,0 +1,122 @@
|
||||
[#]: subject: "Crop and resize photos on Linux with Gwenview"
|
||||
[#]: via: "https://opensource.com/article/22/2/crop-resize-photos-gwenview-kde"
|
||||
[#]: author: "Seth Kenlon https://opensource.com/users/seth"
|
||||
[#]: collector: "lujun9972"
|
||||
[#]: translator: "geekpi"
|
||||
[#]: reviewer: " "
|
||||
[#]: publisher: " "
|
||||
[#]: url: " "
|
||||
|
||||
用 Gwenview 在 Linux 上裁剪和调整照片大小
|
||||
======
|
||||
Gwenview 是一个优秀的照片编辑器,适合业余摄影师在 Linux KDE 桌面上使用。
|
||||
![Polaroids and palm trees][1]
|
||||
|
||||
一张好的照片可以是一个强大的东西。它从字面意义上表达了你所看到的,但它也讲述了你所经历的。小事也能说明很多问题:你在拍照时选择的角度,某样东西在画面中显得多么大,以及相比之下,那些有意识的选择的缺失。
|
||||
|
||||
照片通常并不意味着记录真实发生的事情,相反,它们会成为你(摄影师)如何看待发生的事情的洞察力。
|
||||
|
||||
这就是照片编辑如此普遍的原因之一。当你把照片发布到你的在线图片库或社交网络时,你不应该发布一张不能准确表达照片所囊括的感受的照片。但同样的道理,你也不应该为了剪掉在最后时刻将头伸进你的家庭快照的随机人物而成为一个专业的照片合成师。如果你使用的是 KDE,你可以使用 Gwenview 这个休闲照片编辑器。
|
||||
|
||||
### 在 Linux 上安装 Gwenview
|
||||
|
||||
如果你正在运行 KDE Plasma 桌面,你可能已经安装了 Gwenview。如果你没有安装,或者你正在使用一个不同的桌面而你想尝试 Gwenview,那么你可以用你的软件包管理器安装它。
|
||||
|
||||
我建议同时安装 Gwenview 和 Kipi 插件集,它可以将 Gwenview 与几个在线照片服务连接起来,这样你就可以轻松上传照片。在 Fedora、Mageia 和类似发行版上:
|
||||
|
||||
|
||||
```
|
||||
`$ sudo dnf install gwenview kipi-plugins`
|
||||
```
|
||||
|
||||
在 Debian、Elementary 和类似版本上:
|
||||
|
||||
|
||||
```
|
||||
`$ sudo apt install gwenview kipi-plugins`
|
||||
```
|
||||
|
||||
### 使用 Gwenview
|
||||
|
||||
Gwenview 通常以两种方式之一启动。你可以在 Dolphin 中点击图片文件,并选择在 Gwenview 中打开它,或者你可以启动 Gwenview,在文件夹中寻找照片,Gwenview 或多或少地充当你的文件管理器。第一种方法是直接的方法,很适合快速方便地预览图片文件。第二种方法是当你浏览大量照片,不确定哪一个版本的照片是“正确的”时,你可能会使用。
|
||||
|
||||
无论你如何启动 Gwenview,界面和功能都是一样的:右边有一个工作区,左边有一个面板。
|
||||
|
||||
![Gwenview][2]
|
||||
|
||||
(Seth Kenlon [CC BY-SA 4.0][3], Photo courtesy [Andrea De Santis][4])
|
||||
|
||||
在左边的面板下面,有三个标签。
|
||||
|
||||
* 文件夹:显示你电脑上的文件夹的树状视图,以便你可以浏览你的文件,寻找更多的照片。
|
||||
* 信息:提供关于你目前正在查看的照片的元数据。
|
||||
* 操作:允许你对当前的照片进行小的修改,如在横向和纵向之间旋转,调整大小,和裁剪。
|
||||
|
||||
|
||||
|
||||
Gwenview 能察觉文件系统,所以你可以按键盘上的**右**或**左***箭头,查看文件夹中的上一张或下一张照片。
|
||||
|
||||
要离开单张照片视图并查看一个文件夹中的所有图片,请点击顶部工具栏中的**浏览**按钮。
|
||||
|
||||
![Browsing photos in a folder][5]
|
||||
|
||||
(Seth Kenlon,[CC BY-SA 4.0][3])
|
||||
|
||||
你也可以同时拥有两种视图。点击 Gwenview 底部的**缩略图栏**按钮,可以将当前文件夹中的其他图片以电影胶片的形式看到,而当前选择的照片则在主面板中。
|
||||
|
||||
![Thumbnail view][6]
|
||||
|
||||
(Seth Kenlon,[CC BY-SA 4.0][3])
|
||||
|
||||
### 用 Gwenview 编辑照片
|
||||
|
||||
数码照片是很常见的,因此在网上发布或与朋友分享之前,需要对照片进行细微的调整也是同样常见。有非常好的应用可以编辑照片,事实上,其中最好的一个是另一个 KDE 应用,叫做 Krita(你可以在我的[给摄影者的 Krita][7] 文章中阅读我如何使用它来处理照片),但是小的调整不应该需要艺术学位。这正是 Gwenview 所确保的:用一个随意但功能强大的应用进行简单而快速的照片调整,并与你的 Plasma 桌面的其他部分整合。
|
||||
|
||||
我们大多数人对照片进行的最常见的调整是:
|
||||
|
||||
**旋转**:当你的相机没有提供正确的元数据让你的电脑知道一张照片是要以横向还是纵向观看时,你可以手动修复它。
|
||||
**镜像**:许多笔记本电脑或面部摄像头模仿镜子,这很有用,因为这是我们习惯于看到自己的方式。但是,它会使写入倒退。**镜像**功能从右到左翻转图像。
|
||||
**翻转**:在数码相机和笔记本电脑上不太常见,但在手机上,无论你怎么拿手机,屏幕都会翻转,这种用颠倒的设备拍照的现象并不少见。**翻转**功能可将图像旋转 180 度。
|
||||
**调整大小**:数字图像现在通常具有超高清尺寸,有时这比你需要的要多得多。如果你通过电子邮件发送照片或将其发布在你想要优化加载时间的网页上,你可以将尺寸(和相应的文件大小)缩小到更小的尺寸。
|
||||
|
||||
|
||||
|
||||
所有这些工具都在**操作**侧面板或**编辑**菜单中可用。 这些操作具有破坏性,因此在你进行更改后,单击**另存为**以保存图像的_副本_。
|
||||
|
||||
![Cropping a photo in Gwenview][8]
|
||||
|
||||
(Seth Kenlon,[CC BY-SA 4.0][3],照片由 [Elise Wilcox][9] 提供)
|
||||
|
||||
### 分享照片
|
||||
|
||||
当你准备好分享照片时,单击顶部工具栏中的**分享**按钮,或转到**插件**菜单并选择**导出**。Gwenview 与 Kipi 插件集成在一起,可以在 [Nextcloud][10]、[Piwigo][11]、普通旧电子邮件以及 Google Drive、Flickr、Dropbox 等服务共享照片。
|
||||
|
||||
### Linux 上的照片编辑要点
|
||||
|
||||
Gwenview 拥有桌面照片管理器的所有必需品。如果你需要的不仅仅是基本功能,你可以在 Krita 或 [Digikam][12] 中打开一张照片,并根据需要进行重大修改。对于其他一切,从浏览、排名、标记和小调整,Gwenview 都很方便。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://opensource.com/article/22/2/crop-resize-photos-gwenview-kde
|
||||
|
||||
作者:[Seth Kenlon][a]
|
||||
选题:[lujun9972][b]
|
||||
译者:[geekpi](https://github.com/geekpi)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://opensource.com/users/seth
|
||||
[b]: https://github.com/lujun9972
|
||||
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/design_photo_art_polaroids.png?itok=SqPLgWxJ (Polaroids and palm trees)
|
||||
[2]: https://opensource.com/sites/default/files/kde-gwenview-ui.jpg (Gwenview)
|
||||
[3]: https://creativecommons.org/licenses/by-sa/4.0/
|
||||
[4]: http://unsplash.com/@santesson89
|
||||
[5]: https://opensource.com/sites/default/files/kde-gwenview-browse.jpg (Browsing photos in a folder)
|
||||
[6]: https://opensource.com/sites/default/files/kde-gwenview-thumbnail.jpg (Thumbnail view)
|
||||
[7]: https://opensource.com/article/21/12/open-source-photo-editing-krita
|
||||
[8]: https://opensource.com/sites/default/files/kde-gwenview-crop.jpg (Cropping a photo in Gwenview)
|
||||
[9]: http://unsplash.com/@elise_outside
|
||||
[10]: https://opensource.com/article/20/7/nextcloud
|
||||
[11]: https://opensource.com/alternatives/google-photos
|
||||
[12]: https://opensource.com/life/16/5/how-use-digikam-photo-management
|
Loading…
Reference in New Issue
Block a user