Cleaning up the edges.

Corel Paint Shop Pro

Moderator: Kathy_9

Cleaning up the edges.

Postby Dancing Cat » Wed May 20, 2020 12:39 pm

Having finaly worked out how to cut a flag from one place and paste it into another I notice that the edges of my flag image are very rough (fluffy). Is there a way to crisp up the edges please? (Example attached) I need to do these for four different countries.

Thank you and have a nice day.
Attachments
German.jpg
Dancing Cat
 
Posts: 10
Joined: Wed Sep 06, 2017 10:03 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 6GB
Hard_Drive_Capacity: 3Tb
Monitor/Display Make & Model: Sharp
Corel programs: Corel PSP 2018

Re: Cleaning up the edges.

Postby Jean-Luc » Wed May 20, 2020 12:52 pm

When your selection is active, click on "Selections / Modify / Contract" or "Selections / Modify / Select Selection Border" and after you have set the number of pixels, make "Edit / Cut"
THE PAINTSHOP PRO COOKBOOK
Installed PSP Ultimate: X7, X8, X9, 2018, 2019 and 2020.
Jean-Luc
 
Posts: 1373
Joined: Sat Oct 22, 2011 10:50 pm
Location: Belgium (French speaking)
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Computer N751J
processor: Intel i7-4710 HQ 2.50GHz
ram: 16GB
Video Card: NVIDIA GeForce GTX 850M
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 2 Tb
Monitor/Display Make & Model: NVIDIA GeForce GTX 850M
Corel programs: PSP X7, X8, X9, 2018, 2019, 2020

Re: Cleaning up the edges.

Postby migf1 » Thu May 21, 2020 12:24 pm

Popped in just to add that selecting subjects effectively (the flag in this case) depends on their background and their shape.

In general, auto and semi-auto selection tools work best when the background is uniform (a solid color for example). The more busy the background, and the more complex the shape of the subject, the bigger the chance to get better results by manually selecting the subject (say for example with the pen tool).

It looks like in your original selection you also "grabbed" some of the background around the flag. It could help if you can share the image you extracted the flag from, and let us know which technique you used to isolate it. We may be able to advice for a better technique. It is usually better to have a clean selection from the start, instead of trying to fix it later in the destination image.
Good Unofficial PaintShop Pro Tutorials: Creation CasselMake Shop ProHEC Image EditingNaturally Timeless Photography
migf1
 
Posts: 91
Joined: Fri Apr 03, 2020 3:09 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit

Re: Cleaning up the edges.

Postby Dancing Cat » Fri May 22, 2020 4:44 pm

Hi Guys - Thank you for coming to my aid once again, I am grateful. Well! Far from cleaning up edges, since performing the desired action just once I have been unable to repeat it, I need to do the same with a Dutch flag. I have tried all of the instructions in the guide on pages 60,61 and 62 and also pages 181 and 182. I just get messages to say the clipboard contains no images or the whole picture is transferred including the chequered background. Regarding pages 181 and 182, I get as far as tracing round the flag but then cannot save it. Totally frustrated.

I have attached the German flag that needs cleaning up around the edges.

Have a great week-end.
Attachments
toppng.com-ermany-waving-flag-german-flag-no-background-606x644.png
Flagpole.jpg
Left Dutch.jpg
Dancing Cat
 
Posts: 10
Joined: Wed Sep 06, 2017 10:03 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 6GB
Hard_Drive_Capacity: 3Tb
Monitor/Display Make & Model: Sharp
Corel programs: Corel PSP 2018

Re: Cleaning up the edges.

Postby migf1 » Fri May 22, 2020 6:25 pm

Hello Dancing Cat,

I'm not sure why you get white gibberish around the German flag. The pic you posted is already a .png image with transparent background, with very clean edges. I just tested it, and all I had to do was to copy and paste the flag as a new layer into the general scene picture. Crystal clear edges.

For the Dutch flag, things aren't that easy. That checkerboard behind it is not transparency. It is just a checkerboard embed into the picture. So you need to isolate the flag first, before copying it as a new layer in the scene picture. Its shape is simple enough, so in my opinion the best option to select it is by tracing it manually. Either using the Freehand selection tool, in Point to Point mode (Smart Edge, and Edge Seeker will not give you a smooth selection) or using the pen tool. In either case, check the Anti-Alias box, and try to stay just a little bit inside the edges when tracing (so you won't grab anything from the background).
Good Unofficial PaintShop Pro Tutorials: Creation CasselMake Shop ProHEC Image EditingNaturally Timeless Photography
migf1
 
Posts: 91
Joined: Fri Apr 03, 2020 3:09 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit

Re: Cleaning up the edges.

Postby hartpaul » Fri May 22, 2020 10:20 pm

Just wondering if you obtained that Dutch flag by doing a screen shot and saving that. It looks like the original may have been a png with transparency and saving the original image rather than doing a screenshot may have given you what you are after.
migf1 has suggested a workaround but you may even save a bit more time with another method.

1. Choose paintbrush and color black, Hardness 100 and Size (on that image)about 5 pixels.
2. Trace carefully down the white outside edges of the flag as shown
Dutchleft.jpg

3. Choose the Magic Wand tool and make sure Contiguous is ticked and Mode =Add and Match Mode = Brightness. You can try it with no feather , or 1-2 pixels of feather. Promote the image (Background ) to a layer - (Right click the Background in the Layers Palette and choose Promote Background Layer.)
4. Click in the checkerboard pattern to select all except the flag and then hit the delete key. This removes all outside the flag.
5. Now zoom in a bit and use the magic wand on the black lines and hit delete again. You can use the Eyedropper tool to get the right shade of white and then tidy up the edges of the white area.

I think that saves having to trace all around the flag and saves a bit of time.
Systems available Win7, Win 8.1,Win 10 Version 1607 Build 14393.2007 & version 1809 Build 17763.615
User avatar
hartpaul
Advisor
 
Posts: 2790
Joined: Tue Mar 20, 2012 3:38 pm
Location: Australia
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK P7P55D STRIX B240F GAMING
processor: IntelCore i7 7700 3.60 Ghz
ram: 8 Gb
Video Card: Nvidia GeForce GTX 1050
sound_card: Nvidia High Definition Audio
Hard_Drive_Capacity: 1000 Gb
Monitor/Display Make & Model: AOC
Corel programs: PSP8,X2 to X9,2018,2019,2020


Return to Paint Shop Pro

Who is online

Users browsing this forum: No registered users and 2 guests