PSP X Tips & Tricks
181 - 200
Previous Page
~
Index
~
Next Page
Note: Be sure you have 'Import vector data' and 'Apply dmoothing' checked in Preferences (File...Preferences...File Format Preferences, on the Metafile/Import tab). If the vector objects edges are still jagged when the shape file is imported, see notes after the next step.
Note: Sometimes not all objects comprising an image are selected using this method. If an object is not completely surrounded by the Pick tool selection rectangle, it will not be included. Any missing objects can be added to the selection by holding down the SHIFT key and clicking on the object name in the Layers palette.If the objects still have jagged edges, once all objects are selected, right-click, choose Properties and check Anti-alias.
Note: It doesn't matter what name you use in the 'Enter file name' in the Export Shape Library dialog. This is just the file name and not the name that will appear in your shapes list (the name you used when you renamed the Group 1 layer is the name of the Preset Shape that will appear in your shapes list). However, it is an excellent practice to make these names match.
To retain the colors from the original image, ensure that 'Retain style' is checked on the Tool Options palette. And that's all there is to it.
Paint Shop Pro brushes come in two kinds: those that work on raster layers and those that work on art media layers. In this article we are concerned only with the raster-layer brushes; specifically with how to set their many options to get the behavior that you want. These brushes are:
Please open a new image of 300 x 300 pixels, white raster background. The discussion to follow will make more sense with this image and two palettes in view. The Tool Options palette lacks room for all the brush options. The less well known Brush Variance palette contains more, some of which may surprise you. To make these palettes visible, press F4 and F11 respectively.
Our purpose is not to describe the individual options--Help does an adequate job of that--but to explain how they are collected into brush presets and brush tips, and how these collections interact.
Like most tools and dialogs in PSP, brushes have presets: named collections of options that you can pick from a list to quickly set many of the options for a brush. PSP comes with several presets and you can make your own.
Presets that come with PSP contain settings for all the options on the Tool Options palette and all the options on the Brush Variance palette. When you create a preset, however, you may choose to omit any of the settings. When you save your preset, click the Options button to see the "Preset includes" pane, where you can click an option's diskette icon, marking it with a red X to omit it. (Note: you get just this one chance to omit an option in this way. You can, however, edit the script that implements it at any time.) What becomes of an omitted option? That story gets its own chapter later.
PSP implements presets as scripts stored in files with the PspScript extension. To see the options in the script, find the presets folder with File > Preferences > File Locations > Presets. Open a script file with Notepad.
A preset applies to just one tool, the one for which it was created.
A brush tip is another named collection of options that you can pick from a list. Brush tips differ from brush presets in several ways.
A brush tip:
A brush tip can set all of the options shown on the Brush Variance palette and the following options from the Tool Options palette: Shape, Size, Hardness, Step, Density, Thickness, and Rotation. Although you cannot choose individual options to include or omit, you can elect to include all the Brush Variance options or none of them.
The shape of a tip may be one of the standard shapes (round or square) or it may be a custom shape. In the latter case, PSP saves that shape as a greyscale image in a file with the PspBrush extension along with the PspScript file that stores the options. Find their folder with File > Preferences > File Locations > Brushes.
PSP provides three ways to create a custom brush tip:
"Export > Custom Brush" is a bad name for method a. It exports nothing. In fact, all three methods write the tip's files in the "Save to" folder specified in File > Preferences > File Locations > Brushes.
To export your brush, you need to send one or two files. Look in the "Save to" folder with Windows Explorer for a file named "BrushTip_xxxxxxx.PspScript" where xxxxxxx is the name of the tip. Look also for the custom brush shape file named something like "xxxxxxx.PspBrush." (This file is absent when a tip uses one of the standard shapes, round or square).
To import a brush tip, copy the PspScript file and the associated PspBrush file, if any, into any convenient folder. File > Import > Custom Brush. Click Open and browse to the folder where you put the new files. You should see the PspBrush file there. Select it and continue the Import Custom Brush dialog, which copies the files into the "Save to" folder specified in File > Preferences > File Locations > Brushes.
Default is not normal.
Huh? That meaningless sentence is intended to draw your attention to the confusing labels and names in the Brush Variance palette. Let's translate them into more useful terms.
"Option" is not a bad label, indicating what PSP option will be varied by your choice of setting. Color blend, Hue, Saturation, and Lightness refer to the Materials palette. The others refer to the Tool Options palette. "Color blend" is a misnomer that should be "Material blend," referring to how the blend of foreground material and background material varies with your choice of setting.
"Setting" is easier to understand as "Is varied by." Read, for example, "Size is varied by pressure." The choices marked with asterisks are hardware tablet controls. Others are little demons inside PSP that make an option fade in, fade out, vary with direction, etc.
"Normal" has nothing to do with what you, I, or the Corel designer consider to be normal. It means "none" or "nothing." Pick this setting to prevent variation of an option by any control. Read, for example, "Hue is varied by nothing." Note, however, that a non-zero Jitter will still make the option vary randomly.
There are three ways to get the PSP default settings. To default just the variance options, select the brush tip named +Default or click the curved arrow on the Brush variance palette. To default all the options on the Tool Options palette as well, click the curved arrow in the Presets drop list.
The default settings are Normal for all but Size, whose default is Pressure. If you used PSP 9, which defaults to Normal for size as well, this may surprise you.
Default is not normal.
Given all the ways to change a brush's options, which ones work when? Does a preset override a brush tip or vice versa? End the confusion by learning how PSP handles each method of change. PSP stores the settings in the Windows registry under a separate key for each raster brush.
In short, the last to save is the winner.
Though msvcrt10.dll is widely available, plugin.dll is the property of Adobe, and is typically installed with Adobe products. These files are installed in different places, depending on you Windows version:
182 Brush Tips, Presets, Options, and Variance
WARNING: PSP sometimes, but not always, generates duplicates of the PspBrush file with similar names, which may not be exactly the same as the name of the companion PspScript file. When there is any doubt, open the PspScript file in Notepad or another text editor and find the name of the correct shape file to export. It appears in a line beginning with 'CustomBrush'.
WARNING: Several brush tips can share a single PspBrush shape file. When you try to import one whose shape file is already present, PSP objects. Likewise, you cannot import a tip that uses the standard round or square shape, as it has no PspBrush file. In these cases, do it "by hand:" Use Windows Explorer to copy the PspScript file and, if present, the PspBrush file into the "Save to" folder specified in File > Preferences > File Locations > Brushes. Exit PSP and restart PSP. The new tips will appear in the drop list.
183 Using Plugins in PSP
The same information seen in the Overview palette is also reflected on the right end of the status bar at the bottom of your screen:
In this case, the first pair of coordinates indicates the upper left corner of the selection and the second pair indicates the coordinates of the lower right corner of the selection. The equal sign is followed by the size of the selection, width x height, followed by the aspect ratio (in square brackets) rounded off to 3 decimal places.
The Overview palette provides similar information when you draw shapes using either the Rectangle, Ellipse, or Symmetric Shape tool. Here's a screen shot or the Overview palette for the Rectangle tool:

Strangely enough, the aspect ratio is not shown in the Overview palette, but it does show (on the right end of the Status bar at the bottom of your screen) when any of these tools is used.
Finally, when the Preset Shape tool is used to draw a shape, the Overview palette looks like this:

You'll notice the format is a little different here, with Start pos and End pos instead of Upper Left and Lower Right, and Width Height rather than Size. It's the same information - just different names used to identify it. Again, the aspect ratio is not provided in the Overview palette. Nor is it shown on the right end of the status bar, which provides color information. Instead, this information is provided on the the LEFT end of the status bar at the bottom of your screen. Here's the left end of the status bar captured at the same time as the above Overview palette:
Here's the process:
This explains why sometimes when you sample from an image, you don't get the color that's under the sampling dropper, which can be very frustrating. Depending on what tool is active, what dialog is being used, and whether or not you are doing CTRL key sampling, you might be getting an average of a group of pixels rather than the single pixel beneath the sampling dropper. If you are using any of the methods listed in #1 above, whether you were aiming for a larger-than-a-single-pixel sample or not, that's what you'll be getting. The "cure" is to set the Dropper tool 'Sample size' to 1 Pixel. Hopefully, in a future release of PSP, this sampling inconsistency will be corrected so that all sampling (other than that done directly with the Dropper tool) will be for the single pixel below the sampling dropper.
You can also move the crop area rectangle in increments using the arrow keys. The process is similar to that for moving selections or vector objects, with this exception - you choose how you want the crop area rectangle to be moved first by clicking one of the crop area rectangle handles first:
Once you've selected a handle to guide your moving, the process is the same as moving selections or vector objects:
One additional caution - if the "Maintain aspect ratio" check box is selected, the moving process for the crop area rectangle is slightly altered. Even though you choose the edge handle on a particular side, when you click and drag that handle (or use the arrow keys to move that side) you will see movement of the crop area rectangle not only along that side, but also along both adjoining sides as well. This is necessary in order to maintain the aspect ratio of the original crop area rectangle. If you want to constrain the movement of the crop area rectangle to only one of the adjoining sides, choose the corner handle adjoining those sides rather than the edge handle on that side before you click and drag (or use the arrow keys to move) that side.
Other keyboard shortcuts include the following:
There is no comparable control in Preferences for toolbars, which dock automatically whenever they are dragged to the edges of the workspace. To prevent this from occurring, hold down the CTRL key while dragging the toolbar.
For a quick way to UNdock (or float) a docked toolbar or palette, double-click on its handle or title bar (you'll get the four-sided mover icon) - it will undock, and return to its last undocked position. To quickly dock an undocked toolbar or dockable palette, double-click on its title bar - it will dock to the top of the workspace, or its last docked position.
A few notes about this code:
Users who have something other than 96 here will need to change the first line in the conversion factor code to reflect this setting. If you as a script writer decide to implement this code, you will want to warn users of this. The alternative to having users manually edit the code to insert their DPI settings is having the script extract the screen resolution setting from the Registry. That alternative would require that scripts implementing this code run from a Trusted folder. In my opinion, that's not a safe alternative, so the associated code is not being provided.
The last step needed to implement this code is to change the PointSize parameter in the TextEx command from whatever it is, for example:
to:
Thanks to the readers of the Corel scripting newsgroup for their contributions to this tip!
When you have finished rotating the selection, choose Selections...Edit Selection again to display the selection marquee.
Brush tool presets are also .PspScript files, but are named differently and live in a different directory. Unlike a brush settings file, a tool preset is tied to a particular tool (airbrush, paintbrush, eraser, etc.). However, since a tool preset is a superset of a brush settings file, they can in some ways take the place of a brush settings file.
The brush dropdown on the tool options palette is populated by reading the brush settings file, so if a brush tip file is not referenced by any brush setting file the tip is essentially orphaned since the user has no way of selecting it (save by possibly a tool preset, which is only good for that tool). Conversely, a brush settings file or tool preset that references a non-existent brush tip file is useless since the brush tip can't be found.
BrushWrangler has the following functions:
At times, orphaned brushes and brush settings and preset files that reference non-existent brush tips can cause your system to bog down, and/or cause long waits when changing to and from brush tools. If you're having these or similar problems, and everything else is in order, it's probably time to call on the BrushWrangler! You can download Joe's excellent utility script HERE - posted with Joe's permission. Note that due to the nature of the facilities this script uses, it must run from a Trusted folder.
When the BrushWrangler has completed its work, reset your cache (choose File...Preferences...Reset Preferences and check 'Delete all cache files'), then stop and restart PSP - things should definitely look better.
For more on brushes, see #088 Using Custom Brushes in PSP X which explains what you see (or don't see) when you have a brush tip and no settings, or settings with no associated brush tip, and #182 Brush Tips, Presets, Options, and Variance which provides complete information about brush tips, presets, options and variances and how they interact.
Here's how you can select .msk files for Batch processing in PSP X:
Once the .msk files have been selected, choose File...Batch...Process (or Rename). You will see the complete path names for the .msk files you selected already listed in the 'Files to process'/'Files to rename' window. Here's a partial view of the Batch Process dialog with several files selected for processing:
If you have any suggestions for additions to this list, please EMAIL ME.
About Me ~
Home ~
Email
186 Saving Transparency In TGA Files
187 Color Sampling In PSP
188 Moving/Adjusting the Crop Area Rectangle
Note: The handle you choose or make active governs which arrow keys "work". For example, if you choose the edge handle on the right side of the crop area rectangle, the left and right arrow keys will move that side, but the up and down arrow keys will have no effect at all. However, if you choose the top corner handle on the right side of the crop area rectangle, the left and right arrow keys will move the right side left and right, and in addition, the up and down keys will move the top of the crop area rectangle up and down.
189 Copying and Pasting Won't Work Anymore
190 Lynda.com Training Videos
191 Support for Early Versions of PSP
http://www.jasc.com/support/updates
192 Adjusting Brush Size Using the Keyboard
193 Repositioning Toolbars and Palettes - and Docking Issues
Note:: The handle size and position (toolbars) vary, depending on the size of the toolbar and whether it is vertical or horizontal. Here's what the "handle" looks like for my horizontally-docked Script toolbar, enlarged to 300% for easier viewing:
![]()
194 Maintaining Aspect Ratio When Resizing Selections or Layers
Note: This is a change from previous versions, which used right-clicking for this function.
195 Getting Consistency in Text Size in PSP X Scripts
PointSize = ConvertedPointSize = ??
### Use the above line to set the Size for the font for the text
Display = 96
Prop = ScriptProperties()
if Prop['Host Version'][:2] == '10':
Version = App.Do(Environment, 'GetVersionInfo')
if Version['MajorVersion'] == 10:
ImageInfo = App.Do(Environment, 'ReturnImageInfo')
Resolution = ImageInfo['PixelsPerUnit']
Units = ImageInfo['Unit']
if Units == 'Inches':
ConversionFactor = Display / Resolution
else:
ConversionFactor = Display / Resolution * 2.54
ConvertedPointSize = PointSize * ConversionFactor
'PointSize': 24,
'PointSize': ConvertedPointSize,
196 Changing the Angle of A Selection

197 The BrushWrangler Script
This script aids in managing a collection of brushes. A custom brush consists of two files - a .PspBrush file which contains the actual brush impression, and a .PspScript file which contains the parameters used by brush:
198 Processing *.msk Files Using the Batch Process or Batch Rename Features
Note: If you choose All Files as the 'Type' attribute, you can use the * as a wildcard in the 'Name' attribute. Here are a few examples:
*.msk selects all .msk files
*edge*.msk selects all .msk files which contain 'edge' in the file name
*edge*3.msk selects all .msk files which contain 'edge' in the file name and end in 3

199 Where to Find Corel's PSP X Documentation
Previous Page
~
Index
~
Next Page
Please do not post this page, in whole or in part, in any other location.
All graphics and content © 2002-present by SuzShook