From Fedora Project Wiki
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{needs love}}
{{needs love}}
 
Short tutorial on creating floating hacker heads to display on blog aggregators like http://planet.fedoraproject.org
Short tutorial on creating floating hacker heads to display on blog aggregators like http://planet.fedoraproject.org
 
== Basics ==
== Basics ==
 
Usually a high quality image is not needed, it will be resized to a small size and a drop shadow will be added, so small defects will not be noticed;
Usually a high quality image is not needed, it will be resized to a small size and a drop shadow will be added, so small defects will not be noticed;
A high resolution image is prefered, the processing will be simpler and you will not need a very skilled hand.
A high resolution image is preferred, the processing will be simpler and you will not need a very skilled hand.
Select the source image based primarly on how it reflect your personality or attitude, not necessarily on quality.
Select the source image based primarily on how it reflect your personality or attitude, not necessarily on quality.
 
In this tutorial I will use a poor image made with the crappy camera on my phone, as the focus is on the tools and methods.
In this tutorial I will use a poor image made with the crappy camera on my phone, as the focus is on the tools and methods.
 
== Cutting ==
== Cutting ==
 
In the first step, we need to cut the head on contour. Different methods are available:
In the first step, we need to cut the head on contour. Different methods are available:
(do not forget to add an alpha channel to the layer, we want deleted regions to become transparent)
(do not forget to add an alpha channel to the layer, we want deleted regions to become transparent)
 
=== 1. The Magic Wand ===
=== 1. The Magic Wand ===
 
This is most usefull when the background contain large area with uniform colors, highly contrasting with the subject (not the case with the image used in this case). Use "Select contiguous regions" and ajust the treshold as needed.
This is most useful when the background contain large area with uniform colors, highly contrasting with the subject (not the case with the image used in this case). Use "Select contiguous regions" and adjust the threshold as needed.
 
[[Image:NicuBuculei_Hackerogotchi_001.jpg]   
[[Image:NicuBuculei_Hackerogotchi_001.jpg]]
 
   
=== 2. Cut on path ===
=== 2. Cut on path ===
 
Use "Select shapes from image". Eventually work at a high zoom and add short segments. The results are good when the contrast between background anf figure is high.
Use "Select shapes from image". Eventually work at a high zoom and add short segments. The results are good when the contrast between background and figure is high.
 
[[Image:NicuBuculei_Hackerogotchi_002.jpg]]
[[Image:NicuBuculei_Hackerogotchi_002.jpg]]
 
=== 3. Quick Mask ===
=== 3. Quick Mask ===
 
This is a very powerfull tool, it may be overhelming for a simple hackerogotchi. Toggle Quick Mask, erase the face, toggle Quick Mask off, invert selection and remove it.
This is a very powerful tool, it may be overwhelming for a simple hackergotchi. Toggle Quick Mask, erase the face, toggle Quick Mask off, invert selection and remove it.
 
[[Image:NicuBuculei_Hackerogotchi_003.jpg]]   
[[Image:NicuBuculei_Hackerogotchi_003.jpg]]   
[[Image:NicuBuculei_Hackerogotchi_004.jpg]]  
[[Image:NicuBuculei_Hackerogotchi_004.jpg]]
[[Image:NicuBuculei_Hackerogotchi_005.jpg]]  
[[Image:NicuBuculei_Hackerogotchi_005.jpg]]
 
note: i left the selection unifinished on purpose, the scope of this tutorial is to be quick.
note: i left the selection unfinished on purpose, the scope of this tutorial is to be quick.
 
=== 4. Erase ===
=== 4. Erase ===
 
This is the tool i use mostly. Select rectangular regions of the background and delete them. Then zoom in and use the eraser on the contour.
This is the tool i use mostly. Select rectangular regions of the background and delete them. Then zoom in and use the eraser on the contour.
 
[[Image:NicuBuculei_Hackerogotchi_006.jpg]]
[[Image:NicuBuculei_Hackerogotchi_006.jpg]]
[[Image:NicuBuculei_Hackerogotchi_007.jpg]]  
[[Image:NicuBuculei_Hackerogotchi_007.jpg]]
 
Of course, you can use a combination of the tools described above.
Of course, you can use a combination of the tools described above.
 
The result should be something like:
The result should be something like:
 
[[Image:NicuBuculei_Hackerogotchi_008.jpg]]
[[Image:NicuBuculei_Hackerogotchi_008.jpg]]
 
== Finishing ==
== Finishing ==
 
Scale the image down, for Planet Fedora it should be something around 80x80 px. After scaling, the images become blurry, so sharpen it.
Scale the image down, for Planet Fedora it should be something around 80x80 px. After scaling, the images become blurry, so sharpen it.
 
[[Image:NicuBuculei_Hackerogotchi_009.png]]   
[[Image:NicuBuculei_Hackerogotchi_009.png]]   
 
Add a small drop shadow.
Add a small drop shadow.
 
note: most beginers are tempted to use the default value proposed by GIMP, do NOT do this, is too large for a hackerogotchi, use smaller values. In this case I used X and Y offset of 1 px and a blur radius of 4 px.
note: most beginners are tempted to use the default value proposed by GIMP, do NOT do this, is too large for a hackergotchi, use smaller values. In this case I used X and Y offset of 1 px and a blur radius of 4 px.
 
[[Image:NicuBuculei_Hackerogotchi_010.png]]  
[[Image:NicuBuculei_Hackerogotchi_010.png]]
 
An alternative is to use a perspective shadow (but for consistency with other people on Planet Fedora, a drow shadow is prefered)
An alternative is to use a perspective shadow (but for consistency with other people on Planet Fedora, a drop shadow is preferred)
 
[[Image:NicuBuculei_Hackerogotchi_011.png]]
[[Image:NicuBuculei_Hackerogotchi_011.png]]
 
== End result ==
== End result ==
 
In the end, you should have something like this:
In the end, you should have something like this:
 
[[Image:NicuBuculei_Hackerogotchi_012.png]]
[[Image:NicuBuculei_Hackerogotchi_012.png]]
[[Image:NicuBuculei_Hackerogotchi_nicu.png]]
[[Image:NicuBuculei_Hackerogotchi_nicu.png]]
 
== Future ==
== Future ==
 
Expect the task to become simple in the future, as the upcoming GIMP 2.4 will include SIOX a foreground extractor tool ([http://software.newsforge.com/article.pl?sid=05/09/28/1345228 article] )
Expect the task to become simple in the future, as the upcoming GIMP 2.4 will include SIOX a foreground extractor tool ([http://software.newsforge.com/article.pl?sid=05/09/28/1345228 article] )
 
== Still too scary? ==
== Still too scary? ==
 
If the process look scary, just post a raw picture (or a link to it) on your blog and ask readers for help. Or just ask [[NicuBuculei|  me]]  to do it for you.
If the process look scary, just post a raw picture (or a link to it) on your blog and ask readers for help. Or just ask [[NicuBuculei|  me]]  to do it for you.
 
== Screencast ==
== Screencast ==
 
A screencast featuring my own style of work:
A screencast featuring my own style of work:
 
[[Image:NicuBuculei_Hackerogotchi_screencast.png]]  [[Image:NicuBuculei_Hackerogotchi_headchop.ogg]] Download video, OGG Theora, 13 MB]
[[Image:NicuBuculei_Hackerogotchi_screencast.png]]  [[Image:NicuBuculei_Hackerogotchi_headchop.ogg]] Download video, OGG Theora, 13 MB]
 
== Closing ==
== Closing ==
 
If you want something special, do NOT folow my tutorial and allow your imagination to go wild:
If you want something special, do NOT follow my tutorial and allow your imagination to go wild:
 
[[Image:NicuBuculei_Hackerogotchi_me.png]]   
[[Image:NicuBuculei_Hackerogotchi_me.png]]   
 
[[NicuBuculei|  Nicu Buculei]]  2006
[[NicuBuculei|  Nicu Buculei]]  2006

Latest revision as of 04:40, 12 July 2021

This page needs some love
This page should be revised or reconstructed to be more helpful. Problems may include being out of step with current team or project status or process.

Short tutorial on creating floating hacker heads to display on blog aggregators like http://planet.fedoraproject.org

Basics

Usually a high quality image is not needed, it will be resized to a small size and a drop shadow will be added, so small defects will not be noticed; A high resolution image is preferred, the processing will be simpler and you will not need a very skilled hand. Select the source image based primarily on how it reflect your personality or attitude, not necessarily on quality.

In this tutorial I will use a poor image made with the crappy camera on my phone, as the focus is on the tools and methods.

Cutting

In the first step, we need to cut the head on contour. Different methods are available: (do not forget to add an alpha channel to the layer, we want deleted regions to become transparent)

1. The Magic Wand

This is most useful when the background contain large area with uniform colors, highly contrasting with the subject (not the case with the image used in this case). Use "Select contiguous regions" and adjust the threshold as needed.

File:NicuBuculei Hackerogotchi 001.jpg

2. Cut on path

Use "Select shapes from image". Eventually work at a high zoom and add short segments. The results are good when the contrast between background and figure is high.

File:NicuBuculei Hackerogotchi 002.jpg

3. Quick Mask

This is a very powerful tool, it may be overwhelming for a simple hackergotchi. Toggle Quick Mask, erase the face, toggle Quick Mask off, invert selection and remove it.

File:NicuBuculei Hackerogotchi 003.jpg File:NicuBuculei Hackerogotchi 004.jpg File:NicuBuculei Hackerogotchi 005.jpg

note: i left the selection unfinished on purpose, the scope of this tutorial is to be quick.

4. Erase

This is the tool i use mostly. Select rectangular regions of the background and delete them. Then zoom in and use the eraser on the contour.

File:NicuBuculei Hackerogotchi 006.jpg File:NicuBuculei Hackerogotchi 007.jpg

Of course, you can use a combination of the tools described above.

The result should be something like:

File:NicuBuculei Hackerogotchi 008.jpg

Finishing

Scale the image down, for Planet Fedora it should be something around 80x80 px. After scaling, the images become blurry, so sharpen it.

File:NicuBuculei Hackerogotchi 009.png

Add a small drop shadow.

note: most beginners are tempted to use the default value proposed by GIMP, do NOT do this, is too large for a hackergotchi, use smaller values. In this case I used X and Y offset of 1 px and a blur radius of 4 px.

File:NicuBuculei Hackerogotchi 010.png

An alternative is to use a perspective shadow (but for consistency with other people on Planet Fedora, a drop shadow is preferred)

File:NicuBuculei Hackerogotchi 011.png

End result

In the end, you should have something like this:

File:NicuBuculei Hackerogotchi 012.png File:NicuBuculei Hackerogotchi nicu.png

Future

Expect the task to become simple in the future, as the upcoming GIMP 2.4 will include SIOX a foreground extractor tool (article )

Still too scary?

If the process look scary, just post a raw picture (or a link to it) on your blog and ask readers for help. Or just ask me to do it for you.

Screencast

A screencast featuring my own style of work:

File:NicuBuculei Hackerogotchi screencast.png File:NicuBuculei Hackerogotchi headchop.ogg Download video, OGG Theora, 13 MB]

Closing

If you want something special, do NOT follow my tutorial and allow your imagination to go wild:

File:NicuBuculei Hackerogotchi me.png

Nicu Buculei 2006