|
GIMP, скрипты.
|
|||
---|---|---|---|
#18+
Зашел сюда, поскольку увидел знакомое слово Python. Вопрос такой. Есть такой графический редактор GIMP, он поддерживает Python-скрипты. Надо запустить функцию Код: php 1.
Описание у нее такое: image_ID : The image. drawable_ID : The affected drawable: (-1 for a new text layer). x : The x coordinate for the left of the text bounding box. y : The y coordinate for the top of the text bounding box. text : The text to generate (in UTF-8 encoding). border : The size of the border. antialias : Antialiasing. size : The size of text in either pixels or points. size_type : The units of specified size. fontname : The name of the font. Returns : The new text layer or -1 if no layer was created. Из примеров, найденный в интернете понятно, что image_ID - идентификатор, полученный заранее функцией создания или открытия картинки. А мне надо начать работать с картинкой, которую я открыл руками. Где найти image_ID уже открытой картинки? ... |
|||
:
Нравится:
Не нравится:
|
|||
11.10.2018, 14:05 |
|
|
start [/forum/topic.php?fid=23&fpage=20&tid=1460140]: |
0ms |
get settings: |
7ms |
get forum list: |
10ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
30ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
26ms |
get tp. blocked users: |
1ms |
others: | 9ms |
total: | 100ms |
0 / 0 |