| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
Problem posting an update...
Forum: Gimp-Forum.net
Last Post: Scallact
Yesterday, 10:19 PM
» Replies: 19
» Views: 946
|
Paint bucket acts "weird"
Forum: General questions
Last Post: PieterJW
Yesterday, 06:59 PM
» Replies: 7
» Views: 350
|
Install gimp user manual ...
Forum: Linux and other Unixen
Last Post: rich2005
Yesterday, 09:03 AM
» Replies: 1
» Views: 165
|
Why am'I fighting with GI...
Forum: Linux and other Unixen
Last Post: rich2005
Yesterday, 08:47 AM
» Replies: 1
» Views: 110
|
Very, very nice startup t...
Forum: General questions
Last Post: mrkid
12-18-2025, 04:37 PM
» Replies: 0
» Views: 179
|
Why does HTML/css scale i...
Forum: General questions
Last Post: Tas_mania
12-17-2025, 07:20 PM
» Replies: 1
» Views: 247
|
Path autocurves plugin (G...
Forum: Extending the GIMP
Last Post: InquisitiveAsHell
12-17-2025, 07:40 AM
» Replies: 6
» Views: 730
|
Transparent Background Ad...
Forum: General questions
Last Post: Kramskry
12-16-2025, 08:52 PM
» Replies: 2
» Views: 342
|
Inside drop shadow maybe?...
Forum: General questions
Last Post: denzjos
12-16-2025, 04:45 PM
» Replies: 2
» Views: 267
|
gexport: Make-like tool f...
Forum: Extending the GIMP
Last Post: JohnHammersley
12-16-2025, 03:42 PM
» Replies: 0
» Views: 164
|
|
|
| Questions about how to use API gimp_layer_new() |
|
Posted by: arya - 10-26-2021, 11:59 AM - Forum: Scripting questions
- Replies (3)
|
 |
When I read the API document of gimp_layer_new(), I'm curious about what are explicit procedure calls in the below quote.
Quote: Other attributes such as layer mask modes, and offsets should be set with explicit procedure calls.
So I looked into gimp source code for this API usage example and find they don't set the mask mode or offset before adding this layer to the image using gimp_image_insert_layer().
Code:
layer = gimp_layer_new (image, _("Background"),
img_a->columns, img_a->rows,
image_type,
100,
gimp_image_get_default_new_layer_mode (image));
gimp_image_insert_layer (image, layer, NULL, 0);
I have the same confusion for gimp_layer_group_new() but I find the code file above calls gimp_layer_set_mode(), gimp_layer_set_opacity() and other APIs as required in the quote below.
Quote:Attributes such as layer mode and opacity should be set with explicit procedure calls.
So the questions are: what is the explicit meaning of the two quotes? which APIs should we call and how? Must we call these APIs?
Thank you very much!
|
|
|
| where/how to install "Text Outliner" plugin |
|
Posted by: deonholt - 10-26-2021, 11:47 AM - Forum: Windows
- Replies (2)
|
 |
Hi. I am a brand new GIMP user for about 2 days now and I have already learned a lot, thanks to excellent YT tutorials.
Windows 10 Pro 64-bit; GIMP 2.10.28
I need to install this plugin:
https://github.com/apocalyptech/gimp-text-outline
I downloaded the [color=var(--color-fg-muted)][color=var(--color-fg-default)]text-outline.py[/color][/color] file. I copied it to:
C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins
I put in the root folder and restarted GIMP. But, the plugin does not show show under filters, decor where it is supposed to be. I am sure I did not copy it to the right place.
Can someone please advise:
1. If I did it correctly, and
2. where to put the file for the plugin.
Thanks very much.
|
|
|
| Stop Loading Windows Fonts. |
|
Posted by: jerryemerydelacruz - 10-24-2021, 01:48 AM - Forum: General questions
- No Replies
|
 |
Is there a way to prevent Gimp from loading the fonts in the Windows>Fonts folder? I have removed all the font paths from Preferences but Gimp still reads the Windows fonts.
(10-24-2021, 01:48 AM)jerryemerydelacruz Wrote: Is there a way to prevent Gimp from loading the fonts in the Windows>Fonts folder? I have removed all the font paths from Preferences but Gimp still reads the Windows fonts.
I changed the permissions of the fonts.conf file in Program Files>Gimp2/etc/fonts. Opened the file with Notepad and removed the line <dir>WINDOWSFONTDIR</dir>. I then copied a ttf font to the Program Files>Gimp 2>share>gimp>2.0>fonts folder and restarted Gimp.
|
|
|
|