How to create a distressing mask to make more interesting fill effects: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
m (Converted to use new TOC+Key combination.)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{HOWTO Index}} [[Category:EN]]
{{HOWTO Index}} [[Category:EN]]
[[File:distress_mask_result.png]]
[[File:distress_mask_result.png|centre]]
 
<div style="float: left;">__TOC__</div>{{TutorialKey}}{{clear}}
== Introduction ==
The different fills available in Scribus are great but sometimes you want something a little bit different.
The different fills available in Scribus are great but sometimes you want something a little bit different.


Well, by spending a little bit of time in GIMP you can create all kinds of effects that you can use in Scribus to make your fills a bit special.
By spending a little bit of time in GIMP you can create all kinds of effects that you can use in Scribus to make your fills a bit special. (See [[#More examples|here]] for more examples.)


In this tutorial you'll learn how to create a "distressing mask" that you can use in all kinds of projects, and not just for text as we'll be looking at here.
In this tutorial you'll learn how to create a "distressing mask" that you can use in all kinds of projects, and not just for text as we'll be looking at here.


If you're going to be following this tutorial by the letter you'll need to have the font "Crash Scene" installed on your machine. You can download it for free from dafont.com here: http://www.dafont.com/crash-scene.font
If you're going to be following this tutorial by the letter you'll need to have the font "Crash Scene" installed on your machine. You can download it for free from dafont.com [http://www.dafont.com/crash-scene.font here].
 
=== Specific techniques used in this tutorial ===
 
==== GIMP ====
 
* Creating a pattern
* Applying the Cartoon filter
* Adding a layer mask


<u>'''IMPORTANT'''</u>: You don't need to be an expert with GIMP or Scribus to follow this tutorial but you'll find it much easier if you already have a working knowledge of the basics of both applications.
==== Scribus ====
 
* Converting text to polygons
* Converting polygons to an image frame
 
{{Annotation|info|You don't need to be an expert with GIMP or Scribus to follow this tutorial but you'll find it much easier if you already have a working knowledge of the basics of both applications.}}


== Creating the "Distressing Mask" ==
== Creating the "Distressing Mask" ==


First we'll create a base image.
First you need to create a base image.


* Go to GIMP.
* Go to GIMP.
* Choose menu "File -> New…".
* Choose menu {{Menuitem|File}} &rarr; {{Menuitem|New&hellip;}}
* Set the width of the new image to 800px and the height to 200px.
* Set the width of the new image to 800px and the height to 200px.
* Open the Advanced Options drop-down and set "Fill With" to White.
* Open the Advanced Options drop-down and set "Fill With" to White.
* OK the dialog.
* {{Button|OK}} the dialog.


'''NOTE''':We've set the image to be a long shallow rectangle because we're using it with text, you can choose another size that's appropriate for your requirements.
{{Annotation|note|You've set the image to be a long shallow rectangle because we're using it with text, you can choose another size that's appropriate for your requirements.}}


Next we'll create a pattern.
[[File:distress_mask_solid_noise_dialog.png|frame|Figure 1]]
Next you'll create a pattern.


* Choose "Filters -> Render -> Clouds -> Solid Noise…".
* Choose {{Menuitem|Filters}} &rarr; {{Menuitem|Render}} &rarr; {{Menuitem|Clouds}} &rarr; {{Menuitem|Solid Noise&hellip;}}
* Set "Detail" to be 3 - this gives the pattern a bit of graininess.
* Set "Detail" to be 3 - this gives the pattern a bit of graininess.
* Set X size and Y size to 4 - this gives a pleasing effect for our purposes but feel free to experiment.
* Set X size and Y size to 4 - this gives a pleasing effect for current purposes but feel free to experiment.
* Keep pressing the "New Seed" button until you get a pattern you're happy with - Figure 1.
* Keep pressing the "New Seed" button until you get a pattern you're happy with - Figure 1.
* OK the dialog.
* {{Button|OK}} the dialog.
[[File:distress_mask_solid_noise_dialog.png|frame|Figure 1]]


Now we've got a cloudy pattern but we can alter it slightly to get a better effect.
Now you've got a cloudy pattern but you can alter it slightly to get a better effect.


* Choose menu 'Filters -> Artistic -> Cartoon…".
* Choose menu {{Menuitem|Filters}} &rarr; {{Menuitem|Artistic}} &rarr; {{Menuitem|Cartoon&hellip;}}
* Set "Mask radius" to 8 and "Percent black" to 0.2 - again this is right for what we want here but you should experiment later.
* Set "Mask radius" to 8 and "Percent black" to 0.2 - again this is right for what we want here but you should experiment later.
* OK the dialog.
* {{Button|OK}} the dialog.


We've now made the pattern a bit more "grungy", which is what we want, so now we'll need to make it into a layer mask.
You've now made the pattern a bit more "grungy", which is what you want, so now you'll need to make it into a layer mask.


A layer mask, essentially, says which pixels are transparent and to what extent. You don't really need to know this but it's worth looking for more info elsewhere later because it's a very useful thing.
{{Annotation|note|A layer mask, essentially, says which pixels are transparent and to what extent. You don't really need to know this but it's worth looking for more info elsewhere later because it's a very useful thing.}}


* Choose menu "Layer -> Mask -> Add Layer Mask…".
* Choose menu {{Menuitem|Layer}} &rarr; {{Menuitem|Mask}} &rarr; {{Menuitem|Add Layer Mask&hellip;}}
* Select "Grayscale copy of layer".
* Select "Grayscale copy of layer".
* Press the "Add" button.
* Press the {{Button|Add}} button.


This has now copied the pattern to a layer mask.
This has now copied the pattern to a layer mask.
Line 55: Line 69:
* In the toolbox dialog double-click the foreground colour swatch (it's on the left), see Figure 3.
* In the toolbox dialog double-click the foreground colour swatch (it's on the left), see Figure 3.
* Select Black through whatever method you like and OK the dialog.
* Select Black through whatever method you like and OK the dialog.
* Choose menu "Edit -> Fill with FG Color".
* Choose menu {{Menuitem|Edit}} &rarr; {{Menuitem|Fill with FG Color}}
[[File:distress_mask_gimp_colour_swatches.png|frame|Figure 3]]
[[File:distress_mask_gimp_colour_swatches.png|frame|Figure 3]]


NOTE: Alternatively you can fill using another colour and you will get a different type of effect. Once you've been through the tutorial come back and try filling with white, or whatever colour you want, and seeing what difference it makes.
{{Annotation|note|Alternatively you can fill using another colour and you will get a different type of effect. Once you've been through the tutorial come back and try filling with white, or whatever colour you want, and seeing what difference it makes.}}


Your pattern should have got darker. Has it? Good. Now we'll save the image and get to the Scribus stuff.
Your pattern should have got darker. Has it? Good. Now you'll save the image and get to the Scribus stuff.


* Choose "File -> Save", give the file a name, and press 'Save".
* Choose {{Menuitem|File}} &rarr; {{Menuitem|Save}}, give the file a name, and press {{Button|Save}}
* Choose "File -> Export As…", give the file a name, choose "PNG" as the file type (you need PNG for the transparency), and press "Export".
* Choose {{Menuitem|File}} &rarr; {{Menuitem|Export As&hellip;}}, give the file a name, choose "PNG" as the file type (you need PNG for the transparency), and press {{Button|Export}}
* Accept all of the defaults and press "Export" again.
* Accept all of the defaults and press {{Button|Export}} again.


That's all of the GIMP work done now so it's off to Scribus.
That's all of the GIMP work done now so it's off to Scribus.
Line 71: Line 85:


* Go to Scribus.
* Go to Scribus.
* Choose menu "File -> New…".
* Choose menu {{Menuitem|File}} &rarr; {{Menuitem|New&hellip;}}
* Accept the defaults and OK the dialog.
* Accept the defaults and {{Button|OK}} the dialog.
* Create a large text frame, around the width of a landscape A4 page.
* Create a large text frame, around the width of a landscape A4 page.
* Double-click the frame and type your text - if you're following along use "CRASH" as the text.
* Double-click the frame and type your text - if you're following along use "CRASH" as the text.
* Go to the "Text" tab of the "Properties Palette" and select the font you want to use. If you're following along you'll need to select "Crash Scene".
* Go to {{Window|Properties|icons}} &rang;&rang; {{Window|Text}} and select the font you want to use. If you're following along you'll need to select "Crash Scene".
* Set the font size to be 120pt (or whatever size you want, but big is better).
* Set the font size to be 120pt (or whatever size you want, but big is better).
* Open the "Color & Effects" drop-down in the "Text" tab and select the colour you want to use. If you're following along choose the standard "Red" but you can experiment as much as you like.
* Open the "Color & Effects" drop-down in {{Window|Text}} and select the colour you want to use. If you're following along choose the standard "Red" but you can experiment as much as you like.


== Masking the Text ==
== Masking the Text ==


* With the text frame selected choose menu "Item -> Convert To -> Outlines".
* With the text frame selected choose menu {{Menuitem|Item}} &rarr; {{Menuitem|Convert To}} &rarr; {{Menuitem|Outlines}}
* Re-select the text and right-click choosing "Ungroup" from the menu.
* Re-select the text and right-click choosing {{Menuitem|Ungroup}} from the menu.
* Choose menu "Item -> Combine Polygons".
* Choose menu {{Menuitem|Item}} &rarr; {{Menuitem|Combine Polygons}}
* Re-select the converted text and right-click choosing "Convert to -> Image Frame" from the menu.
* Re-select the converted text and right-click choosing {{Menuitem|Convert to}} &rarr; {{Menuitem|Image Frame}} from the menu.
* Right-click the new image frame and choose "Get Image…" from the menu.
* Right-click the new image frame and choose {{Menuitem|Get Image&hellip;}} from the menu.
* Select the PNG file you exported from GIMP and OK the dialog.
* Select the PNG file you exported from GIMP and {{Button|OK}} the dialog.
* Right-click the text and choose "Resize Image to Frame" from the menu. (You may need to change the scaling manually - "Properties / Image / Free Scaling" - to get things looking just right depending on your image and text sizes.)
* Right-click the text and choose {{Menuitem|Resize Image to Frame}} from the menu.


And that's it, we're done.
{{Annotation|note|You may need to change the scaling manually - {{Window|Properties|icons}} &rang;&rang; {{Window|Image}} &rang;&rang; {{Window|Free Scaling}} - to get things looking just right depending on your image and text sizes.}}
 
== Conclusion ==
 
And that's it, you're done.


Try experimenting with different colours, patterns, etc. And, since the text is now a shape, you can also try setting the fill to be a gradient and see what happens.
Try experimenting with different colours, patterns, etc. And, since the text is now a shape, you can also try setting the fill to be a gradient and see what happens.
Line 95: Line 113:
Using different fonts with different fills can give you all kinds of unusual, and perhaps even useful, effects. And you can use a similar technique on many other types of object in Scribus.
Using different fonts with different fills can give you all kinds of unusual, and perhaps even useful, effects. And you can use a similar technique on many other types of object in Scribus.


Here's an example where the font is different and the fill colour is Green, but the mask is the same one.
<gallery>
[[File:distess_mask_slime.png]]
File:distess_mask_slime.png|Figure 4
File:distress_msk_smiley.png|Figure 5
File:distress_mask_groovy.png|Figure 6
</gallery>
 
Figure 4 is an example where the font is different and the fill colour is Green, but the mask is the same one.


And here's an example where a smiley has been filled with a Cyan to White radial gradient, and the fill colour in GIMP was changed to White instead of Black.
And figure 5 is an example where a smiley has been filled with a Cyan to White radial gradient, and the fill colour in GIMP was changed to White instead of Black.
[[File:distress_msk_smiley.png]]


Or how about using a different filter - Qbist in this case - to create the layer mask and using a Free Linear Gradient with many colour stops?
Or how about using a different filter - Qbist in this case - to create the layer mask and using a Free Linear Gradient with many colour stops, as in figure 6?
[[File:distress_mask_groovy.png]]


The possibilities are almost endless. Have fun experimenting.
The possibilities are almost endless. Have fun experimenting.

Latest revision as of 09:42, 24 March 2015

This article is part of the HOWTOs series.
Installation Usage PDF issues Imposition Other
Distress mask result.png
Key
This article uses these graphical conventions
Tutorial template icon window.pngWindow ⟩⟩ Tab/Panel in Window
ButtonMenuChoiceKeyboard

Introduction

The different fills available in Scribus are great but sometimes you want something a little bit different.

By spending a little bit of time in GIMP you can create all kinds of effects that you can use in Scribus to make your fills a bit special. (See here for more examples.)

In this tutorial you'll learn how to create a "distressing mask" that you can use in all kinds of projects, and not just for text as we'll be looking at here.

If you're going to be following this tutorial by the letter you'll need to have the font "Crash Scene" installed on your machine. You can download it for free from dafont.com here.

Specific techniques used in this tutorial

GIMP

  • Creating a pattern
  • Applying the Cartoon filter
  • Adding a layer mask

Scribus

  • Converting text to polygons
  • Converting polygons to an image frame
Warning
You don't need to be an expert with GIMP or Scribus to follow this tutorial but you'll find it much easier if you already have a working knowledge of the basics of both applications.

Creating the "Distressing Mask"

First you need to create a base image.

  • Go to GIMP.
  • Choose menu FileNew…
  • Set the width of the new image to 800px and the height to 200px.
  • Open the Advanced Options drop-down and set "Fill With" to White.
  • OK the dialog.
Warning
You've set the image to be a long shallow rectangle because we're using it with text, you can choose another size that's appropriate for your requirements.
Figure 1

Next you'll create a pattern.

  • Choose FiltersRenderCloudsSolid Noise…
  • Set "Detail" to be 3 - this gives the pattern a bit of graininess.
  • Set X size and Y size to 4 - this gives a pleasing effect for current purposes but feel free to experiment.
  • Keep pressing the "New Seed" button until you get a pattern you're happy with - Figure 1.
  • OK the dialog.

Now you've got a cloudy pattern but you can alter it slightly to get a better effect.

  • Choose menu FiltersArtisticCartoon…
  • Set "Mask radius" to 8 and "Percent black" to 0.2 - again this is right for what we want here but you should experiment later.
  • OK the dialog.

You've now made the pattern a bit more "grungy", which is what you want, so now you'll need to make it into a layer mask.

Warning
A layer mask, essentially, says which pixels are transparent and to what extent. You don't really need to know this but it's worth looking for more info elsewhere later because it's a very useful thing.
  • Choose menu LayerMaskAdd Layer Mask…
  • Select "Grayscale copy of layer".
  • Press the Add button.

This has now copied the pattern to a layer mask.

Only a few more things to do with the mask now.

Figure 2
  • In the "Layers" dialog - Figure 2 - you'll see two copies of the image, click on the left—hand one to select it (the one on the right is the layer mask itself).
  • In the toolbox dialog double-click the foreground colour swatch (it's on the left), see Figure 3.
  • Select Black through whatever method you like and OK the dialog.
  • Choose menu EditFill with FG Color
Figure 3
Warning
Alternatively you can fill using another colour and you will get a different type of effect. Once you've been through the tutorial come back and try filling with white, or whatever colour you want, and seeing what difference it makes.

Your pattern should have got darker. Has it? Good. Now you'll save the image and get to the Scribus stuff.

  • Choose FileSave, give the file a name, and press Save
  • Choose FileExport As…, give the file a name, choose "PNG" as the file type (you need PNG for the transparency), and press Export
  • Accept all of the defaults and press Export again.

That's all of the GIMP work done now so it's off to Scribus.

Creating the Text

  • Go to Scribus.
  • Choose menu FileNew…
  • Accept the defaults and OK the dialog.
  • Create a large text frame, around the width of a landscape A4 page.
  • Double-click the frame and type your text - if you're following along use "CRASH" as the text.
  • Go to Tutorial template icon window.pngProperties ⟩⟩ Text and select the font you want to use. If you're following along you'll need to select "Crash Scene".
  • Set the font size to be 120pt (or whatever size you want, but big is better).
  • Open the "Color & Effects" drop-down in Text and select the colour you want to use. If you're following along choose the standard "Red" but you can experiment as much as you like.

Masking the Text

  • With the text frame selected choose menu ItemConvert ToOutlines
  • Re-select the text and right-click choosing Ungroup from the menu.
  • Choose menu ItemCombine Polygons
  • Re-select the converted text and right-click choosing Convert toImage Frame from the menu.
  • Right-click the new image frame and choose Get Image… from the menu.
  • Select the PNG file you exported from GIMP and OK the dialog.
  • Right-click the text and choose Resize Image to Frame from the menu.
Warning
You may need to change the scaling manually - Tutorial template icon window.pngProperties ⟩⟩ Image ⟩⟩ Free Scaling - to get things looking just right depending on your image and text sizes.

Conclusion

And that's it, you're done.

Try experimenting with different colours, patterns, etc. And, since the text is now a shape, you can also try setting the fill to be a gradient and see what happens.

Using different fonts with different fills can give you all kinds of unusual, and perhaps even useful, effects. And you can use a similar technique on many other types of object in Scribus.

Figure 4 is an example where the font is different and the fill colour is Green, but the mask is the same one.

And figure 5 is an example where a smiley has been filled with a Cyan to White radial gradient, and the fill colour in GIMP was changed to White instead of Black.

Or how about using a different filter - Qbist in this case - to create the layer mask and using a Free Linear Gradient with many colour stops, as in figure 6?

The possibilities are almost endless. Have fun experimenting.