It is currently Fri Apr 26, 2024 2:00 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 53 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: MrQ BoxText
PostPosted: Thu Jul 29, 2021 10:06 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2247
Location: Poland
I wanted to write a plugin that has more options than FreeType... :roll:

What came out of this fun with the code - you can check here:
https://www.gimpscripts.net/2021/07/boxtext-ver10.html
The functions grouped in the TEXT and Transformations tabs are important.
Other tabs can be changed/added/removed on request. :hehe


Attachments:
Example MBT-2.jpg
Example MBT-2.jpg [ 192.9 KiB | Viewed 4188 times ]
Example MBT-1.jpg
Example MBT-1.jpg [ 173.47 KiB | Viewed 4188 times ]

_________________
Image

Slava
Ukraini!


Last edited by MareroQ on Fri Jun 17, 2022 3:01 pm, edited 1 time in total.
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: MrQ BoxText Ver.1
PostPosted: Thu Jul 29, 2021 1:14 pm  (#2) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2424
That is going to be an interesting plugin.

A couple of initial thoughts, without going onto the transformations ....
You default pattern is Metal Grit -1 AFAIK not a regular pattern and if not installed gives an error message.
The leading emoji in the default text might worry some users. Only shows here if an emoji font is installed - not guaranteed. I put in notocoloremoji.ttf
https://i.imgur.com/ZSftUjK.jpg

_________________
Image


Top
 Post subject: Re: MrQ BoxText Ver.1
PostPosted: Thu Jul 29, 2021 9:24 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 773
Location: SEA - South East Asia
rich2005 wrote:

Indeed I don't have this font...

_________________
Patrice


Top
 Post subject: Re: MrQ BoxText Ver.1
PostPosted: Fri Jul 30, 2021 12:47 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2247
Location: Poland
Hi Rich.

Thanks for trying and comments.
Corrected.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: MrQ BoxText Ver.1
PostPosted: Fri Jul 30, 2021 1:54 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 773
Location: SEA - South East Asia
Add border (in px) is not working see screenshot => no border

Limiting letter spacing to -100 (up to 100 BTW) does not allow to invert the letters in the text, nor putting letter on top of each other to make some "strange" letters (look at my avatar), nor being able of adding space above 100 pixels on a "normal" sized image (6kx4k) will not produce the desired effect if we need to have bigger spacing..
In all case the result is not what is expected, letter spacing at -100 will produce only letters "glued" together, instead of what is in the preview
Preview at -100 letters are grouped
Attachment:
screenshot_20210730-143655.png
screenshot_20210730-143655.png [ 79.9 KiB | Viewed 4061 times ]


result are setting above, only one thing is line spacing 100 (positive 100), but result different from preview
Attachment:
screenshot_20210730-144640.png
screenshot_20210730-144640.png [ 230.12 KiB | Viewed 4061 times ]


Limiting line spacing... > same problems as above with a font size of 500 .... see screenshot....

Attachment:
screenshot_20210730-145134.png
screenshot_20210730-145134.png [ 93.1 KiB | Viewed 4061 times ]


result all at negative 100
Image

My "recommendation": do not limit letter spacing, nor line spacing... at all
If people wants to put 1078 quintilliards pixels in negative they should be able to do so... This reminds me the "Save for the Web" limitation, it was first at 2048 (AFAIK), then as a quick patch some one did put "2048*2", but quickly a lot of people were searching for "unli", so someone just remove the "2048*2 "and did put 10000, but still, it's a hard cap.... = useless for pano > https://github.com/auris/gimp-save-for- ... 9e0c9164a5

image is from unsplash original size is +>6000x+>4000
https://unsplash.com/photos/vigdQSTCkVU

Image

In the hope that it will help you, BTW very nice looking plug in and very intuitive :bigthup :coolthup

_________________
Patrice


Top
 Post subject: Re: MrQ BoxText Ver.1
PostPosted: Fri Jul 30, 2021 4:59 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
Great plugin, thanks..

Attachment:
text-box.jpg
text-box.jpg [ 155.17 KiB | Viewed 4039 times ]


Top
 Post subject: Re: MrQ BoxText Ver.1
PostPosted: Fri Jul 30, 2021 5:22 am  (#7) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2424
A bit more trial and error ;) Needs plenty experimentation.

Attachment:
MRQ.jpg
MRQ.jpg [ 154.34 KiB | Viewed 4033 times ]


I see you added a revamped Follow Path plugin on gimpscripts as well. Works fine, (the flags). The preview is on a dark blue background. Is that intentional or is it my installation ?

In case anyone wonders. the background is B&P's WordArt plugin.

_________________
Image


Top
 Post subject: Re: MrQ BoxText Ver.1
PostPosted: Fri Jul 30, 2021 9:28 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2247
Location: Poland
Thanks for all the feedback.

About preview:
Python image preview wasn't designed for everything.
Cli 345 - author of the fu_preview engine warns:

..."Limitations:
only for transform (not creative) plugins that don't add new layers"...


I'm just trying to get around this by manipulating the layer's visibility. :ninja

@Patrice.
I increased the range from 100 to 5000.
Image

@Rich.
About follow path.
Now the appearance of the preview depends on the selected theme.
As I like the dark theme - blue (the default) seemed appropriate.
This can be changed by editing line 1022.
The look of the older version did not change with the theme.


Attachments:
FP.jpg
FP.jpg [ 168.19 KiB | Viewed 3986 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: MrQ BoxText Ver.1
PostPosted: Fri Jul 30, 2021 9:35 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 773
Location: SEA - South East Asia
MareroQ wrote:
Thanks for all the feedback.

About preview:
Python image preview wasn't designed for everything.
Cli 345 - author of the fu_preview engine warns:

..."Limitations:
only for transform (not creative) plugins that don't add new layers"...


I'm just trying to get around this by manipulating the layer's visibility. :ninja

@Patrice.
I increased the range from 100 to 5000.
[ Image ]

@Rich.
About follow path.
Now the appearance of the preview depends on the selected theme.
As I like the dark theme - blue (the default) seemed appropriate.
This can be changed by editing line 1022.
The look of the older version did not change with the theme.


Yes! great job, it's working nicely. Also the result is the same as preview :clap :bigthup
I will play with the other tabs in the coming days, I'll keep you updated
:tyspin very nice plugin

_________________
Patrice


Top
 Post subject: Re: MrQ BoxText
PostPosted: Fri Jun 17, 2022 2:51 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2247
Location: Poland
While waiting for a new version plugin Faux3D by Skinnyhouse I added 3D text extrusion effect as per PixLab tutorial.
Thanks to Patrice.
Version 3.0 available on gimpscripts.net here.


Attachments:
BTV3.jpg
BTV3.jpg [ 151.6 KiB | Viewed 1063 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: MrQ BoxText
PostPosted: Fri Jun 17, 2022 3:49 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Aug 08, 2016
Posts: 1990
Location: East Midlands of England
Looks good MareroQ. :bigthup

I am currently fixing the addition of kerning information to the lettering and then it's adding a tabbed version and good to go!

_________________
Image

"Let no one steal your dreams."
Paul Cookson


Latest plug-in update: Paragrapher v.1.4
Custom Font Links
Tools
Character Paths
White Bases


Top
 Post subject: Re: MrQ BoxText
PostPosted: Sat Jun 18, 2022 12:54 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 773
Location: SEA - South East Asia
Wow, and I was wondering that I speak too much in this little tuto and people might not like it :mrgreen:
I'm very glad that it gives you the idea to script it :tyspin

It works awesomely on your BoxText, it's gorgeous :clap

Image

_________________
Patrice


Top
 Post subject: Re: MrQ BoxText
PostPosted: Sat Jun 18, 2022 1:36 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2247
Location: Poland
@Skinnyhouse
From the samples You provided, I am convinced that it will be the best tool for 3D text. I am waiting impatiently.

@Patrice
It should always be like that when it comes to a good tutorial. :jumpclap
With such a good source, it takes less time to write code (where I'm a bit interested) than reading the tutorial and executing it the first time.
Maybe contrariness: ..."No script, no G'MIC, no plugin of any kind."... :bluesad

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: MrQ BoxText
PostPosted: Sat Jun 18, 2022 9:25 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 773
Location: SEA - South East Asia
MareroQ wrote:
Maybe contrariness: ..."No script, no G'MIC, no plugin of any kind."... :bluesad


I can understand what you mean, I just tried to put good keywords for SEO purpose and shows visitors they can do it with native GIMP tools, I'll try to do it better next time. ;)
Thank you very much for your kind words.

_________________
Patrice


Top
 Post subject: Re: MrQ BoxText
PostPosted: Tue Jun 21, 2022 4:40 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2247
Location: Poland
In Ver.4.1 I tried the second method of getting the pseudo 3D effect - motion blur this time.


Attachments:
GSN-V4.jpg
GSN-V4.jpg [ 129.09 KiB | Viewed 616 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: MrQ BoxText
PostPosted: Tue Jul 12, 2022 3:36 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 773
Location: SEA - South East Asia
@MareroQ, version 5 latest does not work anymore (I think starting version 4 but not sure) on my system :bawl
It does work on the ferrero appimage GIMP 2.10.25, though, but not on my distro GIMP 2.10.32
it's the only python script which is not showing up (Filters/Text), on the other hands heal tools, @Ofnuts' python-scripts and so are just fine.

I'm on MX Linux 21.1 , I use the more than excellent appimage from @Tas_mania to have python/mathmap as a loader for GIMP 2.10.32 if it can help

_________________
Patrice


Top
 Post subject: Re: MrQ BoxText
PostPosted: Tue Jul 12, 2022 1:07 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2606
Location: California
just curious, is the new version 3.0 that is listed here or is it 5.3, which is on gimpscripts.net?


Top
 Post subject: Re: MrQ BoxText
PostPosted: Tue Jul 12, 2022 6:13 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
mackenzieh wrote:
just curious, is the new version 3.0 that is listed here or is it 5.3, which is on gimpscripts.net?

It is the newest version. :gimp

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: MrQ BoxText
PostPosted: Tue Jul 12, 2022 8:50 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 773
Location: SEA - South East Asia
mackenzieh wrote:
just curious, is the new version 3.0 that is listed here or is it 5.3, which is on gimpscripts.net?


On gimpscript.net you can download only the latest version

_________________
Patrice


Top
 Post subject: Re: MrQ BoxText
PostPosted: Wed Jul 13, 2022 5:14 am  (#20) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1333
Hi PixLab - I tested MrQ BoxText on my MX LInux and it was missing some libs. I repacked and uploaded it to HERE.

MrQ's latest BoxText plugin from gimpscripts works with 'gimp-python2-fuse-overlay-launcher-mx-linux21-1.AppImage'
You will notice it's slightly bigger :) but has the same filename.


Top
Post new topic Reply to topic  [ 53 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group