Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 4,359
» Latest member: Allex
» Forum threads: 6,662
» Forum posts: 36,312
Full Statistics
|
|
|
Drawing line in Script-Fu |
Posted by: Strzegol - 09-13-2023, 12:25 AM - Forum: Scripting questions
- Replies (5)
|
|
Hello. Still another newbie question. Why this script don't work? (GIMP 2.99 but this is so basic stuff that this should don't matter)
EDIT: I checked documentations for hours and also mined examples shipped with GIMP but there are no examples that use gimp-paintbrush-default and oddly I don't found anything in documentation about creation of scripts that draw something on existing images despite this kind of scripts seems to be most common)
EDIT: It should draw line from cornet to pixel at x=100 y=100 using current brush.
Code:
(define (script-fu-linedraw drawable orientation)
(gimp-paintbrush-default drawable 2 #(0 0 100 100))
)
(script-fu-register
"script-fu-linedraw"
"Linedraw"
"Try draw a line in GIMP"
"Strzegol"
"copyright 2023 Strzegol"
"September 12,2023"
""
SF-DRAWABLE "Drawable" 0
)
(script-fu-menu-register "script-fu-linedraw"
"<Image>/Tools")
Second stuff: Why refreshing scripts remove them from menu?
|
|
|
Rotate Won't Work |
Posted by: andyman159 - 09-12-2023, 07:00 PM - Forum: General questions
- Replies (3)
|
|
I've been using GIMP for years and had a new hard drive installed, so I just had to download GIMP again. Now, when I select anything to rotate it, the outline shows as if it's rotating as I change the angles, but the selection does not rotate with it, only the selection box outline rotates, then once I click OK it processes but nothing selected ever rotates. The selection box does rotate, but nothing that was selected does. I've even opened a new image with a blank canvas, with only a single layer, and drawn on it, selected it, and same thing, it shows it should be rotating but it doesn't. I've 'de-selected all' as well in case somehow it selected something, but still the same issue. Is there something I'm missing here? Thank you!
|
|
|
Making one picture from several |
Posted by: MarGa - 09-12-2023, 02:38 PM - Forum: General questions
- Replies (5)
|
|
Dear all,
I would like to create one picture from several pictures of the same object that I took from a microscop.
I work on microscopic elements and I can't take juste one picture of the whole blade so I decided to take several pictures of the same blade. In each picture there is at least one element that still the same from a picture to another because I want to make sure I always have a reference point (or landmark).
Do you know if in GIMP there an automatic way to recreate the blade from all this pictures? Or do I have to take them one by one and reassemble them manually?
I ma sorry if I am not clear...Please tell me if you need precisions or if you don't understand my question.
Thank you for your answer!
Have a great day!
|
|
|
Put one object in front of another |
Posted by: sl60 - 09-10-2023, 05:09 AM - Forum: General questions
- Replies (3)
|
|
Let's say you have a photo of a fence and you want to put a number of photos of people behind it--but you want each person behind the other people. What would be the easiest and simplest way to go about it?
|
|
|
|