GIMP Chat
http://gimpchat.com/

How to scale a pattern within an object?
http://gimpchat.com/viewtopic.php?f=8&t=17344
Page 1 of 1

Author:  austral [ Wed Apr 03, 2019 10:59 am ]
Post subject:  How to scale a pattern within an object?

GIMP Version: 2.8.14
Operating System: Windows
GIMP Experience: Basic Level



Does anyone know how to scale patterns when inserted into an area?

As you can see from the picture below, the patterns aren't in proportion to the dress sizes. I'm wondering if the mistake is on the creation of the pattern itself...
I'm new to Gimp (was used to Photoshop) and still learning. Any help is greatly appreciated.

Attachments:
screenshotdressesgim.jpg
screenshotdressesgim.jpg [ 374.04 KiB | Viewed 10762 times ]

Author:  Nidhogg [ Wed Apr 03, 2019 11:20 am ]
Post subject:  Re: How to scale a pattern within an object?

Here's one way.
When you have the selection of the area, copy the selection (ctrl+c) and paste it as new layer (menu: edit->paste as/new layer)
Then use the Layer Effects plug-in: Pattern overlay. As you can see it includes option to scale.
Attached it for you if you don't have it (because it may be hard to find) and want to try.
Extract to your plug-ins folder, it's located in the main menu.

Image

Attachments:
layerfx.py.zip [28.39 KiB]
Downloaded 548 times

Author:  Blighty II [ Wed Apr 03, 2019 12:11 pm ]
Post subject:  Re: How to scale a pattern within an object?

Another way:

1) In the Patterns Dialogue, right click the pattern and select "Open Pattern as Image"

2) Scale this image (Image > Scale)

3) Copy the image. It becomes the first pattern in the Patterns Dialogue, called "Clipboard Image"

4) Use this "Clipboard Image" as your pattern

Author:  Nidhogg [ Wed Apr 03, 2019 1:23 pm ]
Post subject:  Re: How to scale a pattern within an object?

That's natural and better way, even if you don't have a preview window.

Author:  austral [ Wed Apr 03, 2019 1:34 pm ]
Post subject:  Re: How to scale a pattern within an object?

Nidhogg wrote:
Here's one way.
When you have the selection of the area, copy the selection (ctrl+c) and paste it as new layer (menu: edit->paste as/new layer)
Then use the Layer Effects plug-in: Pattern overlay. As you can see it includes option to scale.
Attached it for you if you don't have it (because it may be hard to find) and want to try.
Extract to your plug-ins folder, it's located in the main menu.

[ Image ]


thanks for replying, but I'm confused. Select what area and copy which selection?

What is Layer Effects plug-in and where can I find it? :tyspin

Author:  austral [ Wed Apr 03, 2019 1:45 pm ]
Post subject:  Re: How to scale a pattern within an object?

Blighty II wrote:
Another way:

1) In the Patterns Dialogue, right click the pattern and select "Open Pattern as Image"

2) Scale this image (Image > Scale)

3) Copy the image. It becomes the first pattern in the Patterns Dialogue, called "Clipboard Image"

4) Use this "Clipboard Image" as your pattern



Thanks a lot, it worked. :wow

Author:  Nidhogg [ Wed Apr 03, 2019 3:27 pm ]
Post subject:  Re: How to scale a pattern within an object?

austral wrote:
Nidhogg wrote:
Here's one way.
When you have the selection of the area, copy the selection (ctrl+c) and paste it as new layer (menu: edit->paste as/new layer)
Then use the Layer Effects plug-in: Pattern overlay. As you can see it includes option to scale.
Attached it for you if you don't have it (because it may be hard to find) and want to try.
Extract to your plug-ins folder, it's located in the main menu.

[ Image ]


thanks for replying, but I'm confused. Select what area and copy which selection?

What is Layer Effects plug-in and where can I find it? :tyspin

Plug-in is attached in my reply post.
You said you have been using using Photoshop earlier, so I thought you would be familiar how Layer Effects work.
The selection is the area where you want to apply the pattern.
Using this method requires you to copy the selection (the dress), paste it as new layer and run the pattern overlay on that layer to work.
It would affect the whole layer otherwise, not only the selected dress.

Author:  Konstantin [ Wed Apr 03, 2019 11:41 pm ]
Post subject:  Re: How to scale a pattern within an object?

Photoshop's layerstyles are non-destructive by using vector technology.
The Pattern Overlay adds a transform to the pattern and is editable at all times until you rasterize it.
However that doesnt mean the pattern itself is a vectorimage. Its still raster and can not be upscaled without loss of quality.

Gimp doesnt work that way and the layerfx plug-in we have is just a crude imitation of PS's layerstyles with "raster-technology".
The layerfx Pattern Overlay has the advantage that you can adjust the size live with the preview button, but it doesnt let you move the pattern around, so once you click okay, again its permanent.

Inkscape does a few things thats makes it a good option for fashion illustrations.
You can apply the pattern as a Patternfill which can be scaled, moved and rotated.
Or added with a clipping mask.

There is a little script i have installed in my Gimp 2.8 which lets you scale patterns from the right-click menu, but again its permanent.
You can get the same effect by filling a layer with the pattern, scale it to taste and then remove everything you dont want with a layermask (or cut). Which is what i would do.
Its flexible, doesnt require a script and has some non-destructive elements.

Sadly Gimp doesnt even have clipping masks which would be convenient for this effect, so imo, either you use a different program or deal with the disadvantages of a rasterprogram which isnt always perfect and requires some trial and error.

Im attaching the scale pattern script.

Btw, if you are looking for a PS clone, check out Affinity Photo.
Its around 50 bucks, one time, with free updates.
You can try the software for 14 days without any limitations.

Attachments:
scale_pattern.scm [2.88 KiB]
Downloaded 214 times

Author:  austral [ Fri Oct 02, 2020 8:31 am ]
Post subject:  Re: How to scale a pattern within an object?

Wow!!! Thank you so very much everyone! I've already tried a couple of the tips and I'm super excited with the results. Going to take screenshots of everyone's suggestions and experiment a little.

I wish I could repay you back for your help, but I'm not there just yet ;-)...

:tyspin :yes

Author:  rich2005 [ Fri Oct 02, 2020 11:25 am ]
Post subject:  Re: How to scale a pattern within an object?

In case anyone comes across this without knowledge of previous posts

MareroQ updated the RobA scale-pattern script for Gimp 2.10

This is the one you want: viewtopic.php?f=9&t=17348#p238328
look for the download: scale_name_pattern_Gimp-210.zip

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/