I am trying to create an image which contains ONLY horizontal lines which have a thickness of 5.0 and are equidistant apart in an image which is 4096 X 4096 pixels and wondering if there is a faster method than manually creating each line. There is to be 33 horizontals lines equidistant apart. Sorry 33 doesn't work should be 32
Something like this (the top line should be at the very top of the image) -
How to create an image of a grid of horizontal lines
Moderator: Kathy_9
-
- Advisor
- Posts: 1080
- Joined: Sat Dec 17, 2005 10:45 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Gigabyte Z390 UD
- processor: Intel Pentium i7 9700 3dot6Ghz
- ram: 16GB DDR3
- Video Card: Gigabyte RTX2060 OC 6GB
- sound_card: Onboard Realtec ALC887
- Hard_Drive_Capacity: 2048Gb mix
- Monitor/Display Make & Model: Samsung S27C450B
- Corel programs: Videostudio X10, Paint Shop Pro 2018
- Location: Blue Mountains, NSW, Australia
How to create an image of a grid of horizontal lines
You do not have the required permissions to view the files attached to this post.
John a
VS X10 Ultimate, Paint Shop Pro 2018 Ultimate, Audacity, Panasonic HC-X920M, Nikon Coolpix S8100
VS X10 Ultimate, Paint Shop Pro 2018 Ultimate, Audacity, Panasonic HC-X920M, Nikon Coolpix S8100
-
- Advisor
- Posts: 6774
- Joined: Thu Oct 02, 2008 1:07 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Alienware M17xR4
- processor: Intel Core i7-3630QM CPU - 2_40GH
- ram: 6 GB
- Video Card: NVIDIA GeForce GTX 660M
- sound_card: Sound Blaster Recon3Di
- Hard_Drive_Capacity: 500GB
- Corel programs: PSP: 8-2023
- Location: USA
Re: How to create an image of a grid of horizontal lines
Scripts would be the absolute fastest. All it takes is a loop and a little math.
But if you aren't already familiar with scripting the next fastest is what you're doing. First create four lines. Then select all four of them at once and duplicate them in one go, positioning the new group into place. Do the same with the 8 lines you have and you now have 16 lines, do it once more for a total of 32 lines.
But if you aren't already familiar with scripting the next fastest is what you're doing. First create four lines. Then select all four of them at once and duplicate them in one go, positioning the new group into place. Do the same with the 8 lines you have and you now have 16 lines, do it once more for a total of 32 lines.
-
- Advisor
- Posts: 2138
- Joined: Sat Oct 22, 2011 10:50 pm
- 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, X9, 2018 to 2023
- Location: Belgium (French speaking)
Re: How to create an image of a grid of horizontal lines
Try this script:
When done, it is easy to delete the vertical lines in the Layers Palette.

Vertical and horizontal lines are drawn. When done, it is easy to delete the vertical lines in the Layers Palette.

You do not have the required permissions to view the files attached to this post.
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
-
- Advisor
- Posts: 1080
- Joined: Sat Dec 17, 2005 10:45 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Gigabyte Z390 UD
- processor: Intel Pentium i7 9700 3dot6Ghz
- ram: 16GB DDR3
- Video Card: Gigabyte RTX2060 OC 6GB
- sound_card: Onboard Realtec ALC887
- Hard_Drive_Capacity: 2048Gb mix
- Monitor/Display Make & Model: Samsung S27C450B
- Corel programs: Videostudio X10, Paint Shop Pro 2018
- Location: Blue Mountains, NSW, Australia
Re: How to create an image of a grid of horizontal lines
"Try this script: "
PERFECT. Thanks a lot. I didn't have to delete vertical lines as the prompt allows entry of 0 (zero) for vertical lines.
The number of horizontal lines prompt had me tricked at first until I worked out (from trial and error) that the top and bottom lines are not drawn or included.
Here is part of an image showing before and after adding the horizontals lines (I just wanted the image to show wider gaps between the planks).
PERFECT. Thanks a lot. I didn't have to delete vertical lines as the prompt allows entry of 0 (zero) for vertical lines.
The number of horizontal lines prompt had me tricked at first until I worked out (from trial and error) that the top and bottom lines are not drawn or included.
Here is part of an image showing before and after adding the horizontals lines (I just wanted the image to show wider gaps between the planks).
You do not have the required permissions to view the files attached to this post.
John a
VS X10 Ultimate, Paint Shop Pro 2018 Ultimate, Audacity, Panasonic HC-X920M, Nikon Coolpix S8100
VS X10 Ultimate, Paint Shop Pro 2018 Ultimate, Audacity, Panasonic HC-X920M, Nikon Coolpix S8100
-
- Advisor
- Posts: 2138
- Joined: Sat Oct 22, 2011 10:50 pm
- 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, X9, 2018 to 2023
- Location: Belgium (French speaking)
Re: How to create an image of a grid of horizontal lines
You do not have the required permissions to view the files attached to this post.
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023