It is currently Sat Jul 06, 2024 4:25 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Sample Color Border Plug-in
PostPosted: Sat Mar 02, 2019 5:48 pm  (#1) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
Just fresh out of the oven, this one.
Simple but fun.
Image
You can get the plug-in here --> Sample Color Border Plug-in

_________________
TinT


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Sat Mar 02, 2019 9:32 pm  (#2) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
version 2 is out. Superior to version 1.

_________________
TinT


Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Sun Mar 03, 2019 3:02 am  (#3) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7746
Location: On the other side of this screen
Is this a frame /plugin made similar to the kaleidescope way?

_________________


Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Sun Mar 03, 2019 9:05 am  (#4) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
It's similar because it's also a frame/border.
But it's different because it doesn't do kaleidescope but it samples numbers of colors (well by turning your image to indexed mode of specified number of colors)
Then it uses those colors to create the frame while keeping the color proportions the same (relatively) so for example if you have a lot of white in image relatively compared to other colors in image, then the frame will have a lot of white (relatively compared to other colors in the frame)

_________________
TinT


Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Sun Mar 03, 2019 10:06 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Hi Tin Tran.

This plugin has a very big potential for further development - sorry, but I had to try (as part of learn Python )...
and I added a few options.
Thank You for new plugin.


Attachments:
A bit new options.png
A bit new options.png [ 298.82 KiB | Viewed 5903 times ]
Several new types of frames.png
Several new types of frames.png [ 857.7 KiB | Viewed 5903 times ]
sample_color_border v.1.1.zip [2.41 KiB]
Downloaded 199 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Sun Mar 03, 2019 10:49 am  (#6) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
right on! That's way above my head (I am happy you're able to use it to add on top of what's already there).

_________________
TinT


Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Sun Mar 03, 2019 9:02 pm  (#7) 
Offline
GimpChat Member

Joined: May 12, 2015
Posts: 4694
Attachment:
TT.Sample_Border.Tiger.jpg
TT.Sample_Border.Tiger.jpg [ 669.24 KiB | Viewed 5855 times ]
Attachment:
Tin Tran.Sample Border.Ram Statue.jpg
Tin Tran.Sample Border.Ram Statue.jpg [ 601.58 KiB | Viewed 5855 times ]
Attachment:
Tin Tran.Sample Border.Art School Athen.Painter Rafael.jpg
Tin Tran.Sample Border.Art School Athen.Painter Rafael.jpg [ 559.36 KiB | Viewed 5855 times ]


Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Mon Mar 04, 2019 12:26 am  (#8) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7746
Location: On the other side of this screen
MareroQ wrote:
Hi Tin Tran.

This plugin has a very big potential for further development - sorry, but I had to try (as part of learn Python )...
and I added a few options.
Thank You for new plugin.

Like to know how you got the round 'feathered' one

_________________


Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Mon Mar 04, 2019 4:24 am  (#9) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7746
Location: On the other side of this screen
Image

_________________


Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Mon Mar 04, 2019 12:03 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Nov 22, 2018
Posts: 83
Lovely image sallyanne....

_________________
Image


Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Mon Mar 04, 2019 10:27 pm  (#11) 
Offline
GimpChat Member

Joined: May 12, 2015
Posts: 4694
Agree! nice image, Sallyanne. To get the "feathered" look it is in the script dialog when you choose elipse, and then distort, set the other parameters.


Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Tue Mar 05, 2019 3:39 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Rel 1.2

The original plugin works on the selected layer - but transfers all layers to the new image - I changed it to only move the layer to which you want to add the frame.
I also added a new option - bevel (but it works differently than presented by Blighty on GimpLearn in the post:
https://www.gimplearn.net/viewtopic.php?p=24004#p24004
because it's based on another plugin, which is in the GIMP 2.10 standard - "add-bevel.scm" and not "GT Bevel.scm").


Attachments:
Vers-1.2.png
Vers-1.2.png [ 731.62 KiB | Viewed 2917 times ]
Beveled .png
Beveled .png [ 1.08 MiB | Viewed 2917 times ]
sample_color_border v.1.2.zip [2.61 KiB]
Downloaded 114 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Tue Mar 05, 2019 6:01 am  (#13) 
Offline
GimpChat Member

Joined: Apr 14, 2011
Posts: 67
Location: The Netherlands
Doesnot work for me (gimp2.10.8 on Linux). Registering failed for some reason. I checked my plugins and script dirs but they are correct.

_________________
Happy Gimping !!


Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Tue Mar 05, 2019 7:24 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
MareroQ, round distort effect is awesome. Can you fix this problem?
The distortion expands over the canvas, and after resizing you can see that it's cut off.

Image


Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Tue Mar 05, 2019 5:48 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
@Moroquendo
For plugin enable executable permission for admin/user ?

@Nidhogg
Thanks for testing - I think in ver. 1.3 it will work better.

................................................................

Ver. 1.3

Change Log:
- Fixed a bug for "Ellipse Distort " (the spread was no limited) reported by Nidhogg.
- Add elements of the plugin "Pespective Border.py" created by Tin Tran
https://www.gimplearn.net/viewtopic.php?f=3&t=2142&sid=bc4ab6263118fc983f39bd7e627d8a3f


Attachments:
Fixed a bug Elipse dist.png
Fixed a bug Elipse dist.png [ 681.88 KiB | Viewed 2877 times ]
Perspective + bevel.png
Perspective + bevel.png [ 861.12 KiB | Viewed 2877 times ]
sample_color_border v.1.3.zip [3.1 KiB]
Downloaded 121 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Wed Mar 06, 2019 9:52 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
Thank you for update MareroQ :bigthup

Image


Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Wed Mar 06, 2019 12:19 pm  (#17) 
Offline
GimpChat Member

Joined: Apr 14, 2011
Posts: 67
Location: The Netherlands
MareroQ wrote:
@Moroquendo
For plugin enable executable permission for admin/user ?

Stupid stupid I should have known that. Thanks it's working now.

_________________
Happy Gimping !!


Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Thu Mar 07, 2019 1:46 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Rel 1.4

- add type: "Free select" (any selected shape),
- add option "Distort" for all type except "Pespective Border"

PS. I will probably finish this version because I should start with this "Free select" (since any shape can be framed it seems unnecessary select: square and ellipse) ... but I like to learn Python.


Attachments:
Free select.png
Free select.png [ 410.47 KiB | Viewed 2802 times ]
sample_color_border v.1.4.zip [3.49 KiB]
Downloaded 116 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Fri Mar 08, 2019 6:46 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Rel 1.5

- Fixed a bug for "Pespective Border" in ver. 1.4
- add option "Invert sample"


Attachments:
Invert sample.png
Invert sample.png [ 221.17 KiB | Viewed 2777 times ]
Invert sample2.png
Invert sample2.png [ 295.07 KiB | Viewed 2777 times ]
sample_color_border v.1.5.zip [3.57 KiB]
Downloaded 102 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Sample Color Border Plug-in
PostPosted: Sat Mar 09, 2019 10:39 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
It's hard to keep up with Tin Tran.

Ver. 1.6

- fixed a bug for "Ellipse",
- add option: Merges all visible paths to the selection (replace) - a little easier when using e.g "Unicode_to_shape",
- add efect type: "Drop Shadow".


Attachments:
Add drop shadow.png
Add drop shadow.png [ 470.58 KiB | Viewed 2699 times ]
Thanks TT.png
Thanks TT.png [ 513.66 KiB | Viewed 2699 times ]
sample_color_border v.1.6.zip [3.94 KiB]
Downloaded 107 times

_________________
Image

Slava
Ukraini!
Top
Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) GEGL Color Light Fusion (12 blend modes for color overlay)

9

No new posts Attachment(s) Don't work procedures plug-in-bump-map, plug-in-displace

2

No new posts Attachment(s) Background color chanage and typed text color change

8

No new posts Attachment(s) Color does not exactly match color in GIMP 2.10 (SOLVED)

9

No new posts Attachment(s) How can I create this border?

4



* Login  



Powered by phpBB3 © phpBB Group