create account

GIMP教程之"选择工具"(1)| GIMP tutorial -- Selection Tools (1) by alanzheng

View this thread on: hive.blogpeakd.comecency.com
· @alanzheng · (edited)
$23.43
GIMP教程之"选择工具"(1)| GIMP tutorial -- Selection Tools (1)
![Tutorial.GIMP.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511486986/feaponrcwwtwu0vmiizt.png)

Summary:

In the tutorial, I will introduce the basic selection tools in [GIMP](https://www.gimp.org), they are **Rectangle Select Tool**, **Ellipse Select Tool** and **Free Select Tool**.

前段时间在做视频处理,需要在视频中加入图片,要求每张图片大小一致。本来打算用程序自动处理,打开每张图片大致浏览了一下,放弃。因为每张图片中所需要的部位不一样。瞬间感觉在电脑上工作其实根本就是一个体力活。但是本着偷懒的原则,还是尽量少费点体力。

隆重推荐[GIMP](https://www.gimp.org)--开源界的PhotoShop:

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511494245/gvrsurkb1g8vj9usedkh.png)

好的PS图片是从好的“选择”开始的,GIMP里面的选择工具很丰富,基于这次的任务需要先介绍固定大小选择。

启动GIMP后会看到工具栏上的这7个图标,分别是:

(1)![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611095/yhtgks6ibt5sikcbji4f.png)

(2)![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611168/yigpxspfrxfcqgb6vcxg.png)

(3)![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611221/gtg9ujgmsdtw2nrn3qff.png)

(4)![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611282/xwu76odhxpvjsxrj45oc.png)

(5)![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611442/abko0tgtuyfbseblhwiv.png)

(6)![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611489/vkauoqtr5krm1pjrmtit.png)

(7)![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611539/albyhplfavlil4dqqlaj.png)

把所有的图片全部作为图层打开

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511583815/uxsb1mtrnpfdu4gbcnrt.png)

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511584090/ix5pf7gywdjga8riyzk8.png)

然后在“矩形选择工具”选项中使用“固定大小选择”。工具及设置选择如下:

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511512197/znieeqazfnbfvtr9ndkp.png)

把选择好的图片粘贴为新图片,然后保存即可。

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511584538/egwnfypvhjyvglf5vacr.png)

到这里本文开始部分的任务完成了。

***


接下来介绍前3个基本“选择工具”,分别是矩形,椭圆,和自由选择工具,这3个选择工具有类似的操作,都是通过拖动鼠标来形成一个封闭的区域形成选区。

(1)![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511492365/xdo4myzu94rh86vxkvgm.png)

(2)![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511492395/b1dcfj11s1gn0ygdngpj.png)

(3)![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511492426/mefasqmnofkggryo6eqd.png)

默认设置选择如下图所示:

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511585306/kvzipeysctpwppz0gw15.png)

下面左边黑色选区是**没有设定**“边缘平滑”,有边选区是**设定了**“边缘平滑”的对比,可以看到左边选区比右边选区边缘部分锯齿现象明显。

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511662584/gcvbdxoaj0qs5ygv3uw3.png)

需要注意的是”边缘羽化“,默认GIMP“选择工具”选项中不设定“边缘羽化”,效果如下:

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511585671/f1iuuvnjtdswzvff5bra.png)

设定“边缘羽化”为20,效果如下。对比可以看到,设定“边缘羽化”后在选区的边缘处会有一个明显的颜色过渡。看起来更柔和一些。

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511587545/b92tjreiszrpghns1rqn.png)

设定固定宽高比时可以做正方形和圆形选择,如下:

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612158/gwg1o3biubbiacoxxujb.png)

需要对选区做准确定位的时候可以设置显示中心线,如下:

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612399/gh6y6zqiqvepujk4zmrt.png)

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612454/fjuxafc2pzyetffzfsma.png)

对2个或者多个选区做合并,如下:

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612606/gtslh3nl9emttzgze5hc.png)

用前一个选区减去后面其他的选区,如下:

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612735/usone1kzdi7zwy3jicfg.png)

对多个选区求交,如下:

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612824/avdvzcyunupsmu4f0sfy.png)

<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@alanzheng/gimp-1">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authoralanzheng
permlinkgimp-1
categoryutopian-io
json_metadata"{"community":"utopian","app":"utopian/1.0.0","format":"markdown","repository":{"id":4537508,"name":"gimp","full_name":"GNOME/gimp","owner":{"login":"GNOME","id":1801039,"avatar_url":"https://avatars2.githubusercontent.com/u/1801039?v=4","gravatar_id":"","url":"https://api.github.com/users/GNOME","html_url":"https://github.com/GNOME","followers_url":"https://api.github.com/users/GNOME/followers","following_url":"https://api.github.com/users/GNOME/following{/other_user}","gists_url":"https://api.github.com/users/GNOME/gists{/gist_id}","starred_url":"https://api.github.com/users/GNOME/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GNOME/subscriptions","organizations_url":"https://api.github.com/users/GNOME/orgs","repos_url":"https://api.github.com/users/GNOME/repos","events_url":"https://api.github.com/users/GNOME/events{/privacy}","received_events_url":"https://api.github.com/users/GNOME/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GNOME/gimp","description":"GIMP (this is a mirror! Reports and patches: https://bugzilla.gnome.org/enter_bug.cgi?product=GIMP)","fork":false,"url":"https://api.github.com/repos/GNOME/gimp","forks_url":"https://api.github.com/repos/GNOME/gimp/forks","keys_url":"https://api.github.com/repos/GNOME/gimp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GNOME/gimp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GNOME/gimp/teams","hooks_url":"https://api.github.com/repos/GNOME/gimp/hooks","issue_events_url":"https://api.github.com/repos/GNOME/gimp/issues/events{/number}","events_url":"https://api.github.com/repos/GNOME/gimp/events","assignees_url":"https://api.github.com/repos/GNOME/gimp/assignees{/user}","branches_url":"https://api.github.com/repos/GNOME/gimp/branches{/branch}","tags_url":"https://api.github.com/repos/GNOME/gimp/tags","blobs_url":"https://api.github.com/repos/GNOME/gimp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GNOME/gimp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GNOME/gimp/git/refs{/sha}","trees_url":"https://api.github.com/repos/GNOME/gimp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GNOME/gimp/statuses/{sha}","languages_url":"https://api.github.com/repos/GNOME/gimp/languages","stargazers_url":"https://api.github.com/repos/GNOME/gimp/stargazers","contributors_url":"https://api.github.com/repos/GNOME/gimp/contributors","subscribers_url":"https://api.github.com/repos/GNOME/gimp/subscribers","subscription_url":"https://api.github.com/repos/GNOME/gimp/subscription","commits_url":"https://api.github.com/repos/GNOME/gimp/commits{/sha}","git_commits_url":"https://api.github.com/repos/GNOME/gimp/git/commits{/sha}","comments_url":"https://api.github.com/repos/GNOME/gimp/comments{/number}","issue_comment_url":"https://api.github.com/repos/GNOME/gimp/issues/comments{/number}","contents_url":"https://api.github.com/repos/GNOME/gimp/contents/{+path}","compare_url":"https://api.github.com/repos/GNOME/gimp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GNOME/gimp/merges","archive_url":"https://api.github.com/repos/GNOME/gimp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GNOME/gimp/downloads","issues_url":"https://api.github.com/repos/GNOME/gimp/issues{/number}","pulls_url":"https://api.github.com/repos/GNOME/gimp/pulls{/number}","milestones_url":"https://api.github.com/repos/GNOME/gimp/milestones{/number}","notifications_url":"https://api.github.com/repos/GNOME/gimp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GNOME/gimp/labels{/name}","releases_url":"https://api.github.com/repos/GNOME/gimp/releases{/id}","deployments_url":"https://api.github.com/repos/GNOME/gimp/deployments","created_at":"2012-06-03T13:37:45Z","updated_at":"2017-11-25T23:27:03Z","pushed_at":"2017-11-25T21:05:49Z","git_url":"git://github.com/GNOME/gimp.git","ssh_url":"git@github.com:GNOME/gimp.git","clone_url":"https://github.com/GNOME/gimp.git","svn_url":"https://github.com/GNOME/gimp","homepage":"http://www.gimp.org","size":308588,"stargazers_count":870,"watchers_count":870,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":226,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":226,"open_issues":0,"watchers":870,"default_branch":"master","score":125.037674},"pullRequests":[],"platform":"github","type":"tutorials","tags":["utopian-io","cn","art","photo","tutorial"],"users":["alanzheng"],"links":["https://res.cloudinary.com/hpiynhbhq/image/upload/v1511486986/feaponrcwwtwu0vmiizt.png","https://www.gimp.org","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511494245/gvrsurkb1g8vj9usedkh.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611095/yhtgks6ibt5sikcbji4f.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611168/yigpxspfrxfcqgb6vcxg.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611221/gtg9ujgmsdtw2nrn3qff.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611282/xwu76odhxpvjsxrj45oc.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611442/abko0tgtuyfbseblhwiv.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611489/vkauoqtr5krm1pjrmtit.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611539/albyhplfavlil4dqqlaj.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511583815/uxsb1mtrnpfdu4gbcnrt.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511584090/ix5pf7gywdjga8riyzk8.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511512197/znieeqazfnbfvtr9ndkp.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511584538/egwnfypvhjyvglf5vacr.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511492365/xdo4myzu94rh86vxkvgm.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511492395/b1dcfj11s1gn0ygdngpj.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511492426/mefasqmnofkggryo6eqd.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511585306/kvzipeysctpwppz0gw15.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511662584/gcvbdxoaj0qs5ygv3uw3.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511585671/f1iuuvnjtdswzvff5bra.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511587545/b92tjreiszrpghns1rqn.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612158/gwg1o3biubbiacoxxujb.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612399/gh6y6zqiqvepujk4zmrt.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612454/fjuxafc2pzyetffzfsma.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612606/gtslh3nl9emttzgze5hc.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612735/usone1kzdi7zwy3jicfg.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612824/avdvzcyunupsmu4f0sfy.png"],"image":["https://res.cloudinary.com/hpiynhbhq/image/upload/v1511486986/feaponrcwwtwu0vmiizt.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511494245/gvrsurkb1g8vj9usedkh.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611095/yhtgks6ibt5sikcbji4f.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611168/yigpxspfrxfcqgb6vcxg.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611221/gtg9ujgmsdtw2nrn3qff.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611282/xwu76odhxpvjsxrj45oc.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611442/abko0tgtuyfbseblhwiv.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611489/vkauoqtr5krm1pjrmtit.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511611539/albyhplfavlil4dqqlaj.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511583815/uxsb1mtrnpfdu4gbcnrt.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511584090/ix5pf7gywdjga8riyzk8.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511512197/znieeqazfnbfvtr9ndkp.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511584538/egwnfypvhjyvglf5vacr.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511492365/xdo4myzu94rh86vxkvgm.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511492395/b1dcfj11s1gn0ygdngpj.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511492426/mefasqmnofkggryo6eqd.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511585306/kvzipeysctpwppz0gw15.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511662584/gcvbdxoaj0qs5ygv3uw3.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511585671/f1iuuvnjtdswzvff5bra.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511587545/b92tjreiszrpghns1rqn.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612158/gwg1o3biubbiacoxxujb.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612399/gh6y6zqiqvepujk4zmrt.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612454/fjuxafc2pzyetffzfsma.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612606/gtslh3nl9emttzgze5hc.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612735/usone1kzdi7zwy3jicfg.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1511612824/avdvzcyunupsmu4f0sfy.png"]}"
created2017-11-24 03:38:12
last_update2017-11-28 13:52:30
depth0
children4
last_payout2017-12-01 03:38:12
cashout_time1969-12-31 23:59:59
total_payout_value16.805 HBD
curator_payout_value6.628 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,751
author_reputation2,727,533,211,976
root_title"GIMP教程之"选择工具"(1)| GIMP tutorial -- Selection Tools (1)"
beneficiaries
0.
accountespoem
weight102
1.
accountfreedom
weight659
2.
accountmisterdelegation
weight549
3.
accountned
weight544
4.
accountruah
weight61
5.
accounttransisto
weight71
6.
accountwackou
weight53
7.
accountxeldal
weight27
max_accepted_payout1,000,000.000 HBD
percent_hbd5,000
post_id21,355,423
net_rshares11,130,130,464,568
author_curate_reward""
vote details (43)
@knowledges · (edited)
Your contribution cannot be approved yet. Can you please add more information to this? I believe it's not detailed enough. Also, you need to change your repository to "GNOME/gimp"
You can contact us on [Discord](https://discord.gg/UCvqCsx).
**[[utopian-moderator]](https://utopian.io/moderators)**
properties (22)
authorknowledges
permlinkre-alanzheng-gimp-1-20171124t095739432z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2017-11-24 10:05:42
last_update2017-11-25 11:38:54
depth1
children2
last_payout2017-12-01 10:05:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length297
author_reputation98,021,227,622,369
root_title"GIMP教程之"选择工具"(1)| GIMP tutorial -- Selection Tools (1)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id21,378,049
net_rshares0
@alanzheng ·
@knowledges, I updated as your suggestion :-)
Thanks again for review!
properties (22)
authoralanzheng
permlinkre-knowledges-re-alanzheng-gimp-1-20171126t115747865z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2017-11-26 11:57:48
last_update2017-11-26 11:57:48
depth2
children1
last_payout2017-12-03 11:57:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length70
author_reputation2,727,533,211,976
root_title"GIMP教程之"选择工具"(1)| GIMP tutorial -- Selection Tools (1)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id21,567,910
net_rshares0
@knowledges ·
Thanks for your contribution. It has been approved
<a href="https://utopian.io/moderators" rel="noopener">[utopian-moderator]</a>
👍  
properties (23)
authorknowledges
permlinkre-alanzheng-re-knowledges-re-alanzheng-gimp-1-20171126t120324693z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2017-11-26 12:03:57
last_update2017-11-26 12:03:57
depth3
children0
last_payout2017-12-03 12:03:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length129
author_reputation98,021,227,622,369
root_title"GIMP教程之"选择工具"(1)| GIMP tutorial -- Selection Tools (1)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id21,568,385
net_rshares2,001,428,369
author_curate_reward""
vote details (1)
@utopian-io ·
### Hey @alanzheng I am @utopian-io. I have just upvoted you at 7% Power!
#### Achievements
- You have less than 500 followers. Just gave you a gift to help you succeed!
- Seems like you contribute quite often. AMAZING!
#### Suggestions
- Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!
- Contribute more often to get higher and higher rewards. I wish to see you often!
- I introduced a competition factor. My vote is based also on how competitive the category used is.
#### Human Curation
- Do you believe you deserved more? Let a human curator know. <a href="https://discord.gg/PrzCKpq">Get in touch on Discord</a>
#### Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. <a href="https://discord.gg/zTrEMqB">Participate on Discord</a>. Lets GROW TOGETHER!
- <a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1">Vote for my Witness With SteemConnect</a>
- <a href="https://v2.steemconnect.com/sign/account-witness-proxy?proxy=utopian-io&approve=1">Proxy vote to Utopian Witness with SteemConnect</a>
- Or vote/proxy on <a href="https://steemit.com/~witnesses">Steemit Witnesses</a>

[![mooncryption-utopian-witness-gif](https://steemitimages.com/DQmYPUuQRptAqNBCQRwQjKWAqWU3zJkL3RXVUtEKVury8up/mooncryption-s-utopian-io-witness-gif.gif)](https://steemit.com/~witnesses)

**Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x**
👍  
properties (23)
authorutopian-io
permlinkre-alanzheng-gimp-1-20171126t172836515z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2017-11-26 17:28:36
last_update2017-11-26 17:28:36
depth1
children0
last_payout2017-12-03 17:28:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,572
author_reputation152,955,367,999,756
root_title"GIMP教程之"选择工具"(1)| GIMP tutorial -- Selection Tools (1)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id21,594,743
net_rshares1,960,161,805
author_curate_reward""
vote details (1)