Welcome, Guest |
You have to register before you can post on our site.
|
|
|
[Solved] How to modify this script-fu? |
Posted by: boolbilam - 08-24-2017, 07:30 AM - Forum: Extending the GIMP
- Replies (2)
|
 |
Hi,
I use this script:
Code:
((define (script-fu-logo inImage inLogo )
(let*
(
(calque (car (gimp-file-load-layer 1 inImage inLogo)))
)
(gimp-image-add-layer inImage calque 0)
(gimp-image-flatten inImage)
) ; fin let*
) ; fin define
(script-fu-register "script-fu-logo"; name
"<Image>/MyScripts/logo" ; position in menu
"test script"; commentary
""; author
"" ;
"" ;date
"" ;
SF-IMAGE "inImage" 0
SF-FILENAME "inLogo" (string-append "" gimp-data-dir "/scripts/images/logo.png")
)
I wish that this script only use the logo.png, without asking it.
Do you know how to do that ?
|
|
|
"paper cut" authentication |
Posted by: RobMW - 08-24-2017, 01:18 AM - Forum: General questions
- Replies (2)
|
 |
Hi All
Ive only been using Gimp for a few weeks so Im a relative noob.
I am trying to print to a networked printer managed centrally by Paper-Cut. When I try to print an .xcf file it gets put on hold awaiting authentication. There is no way to resume printing and authenticate. (Which is the usual process)
When exporting the same file to .png and printing there is no problem. It uses my prev' saved authentication credentials and it prints out fine.
Q1. Is it the file type and Paper Cut doesn't know what to do with it?
Q2. Is there any print resolution advantage in printing directly from Gimp instead of .png?
Cheers
Rob
|
|
|
Can anyone explian the TWAIN interface? |
Posted by: ajax - 08-23-2017, 05:41 PM - Forum: General questions
- Replies (3)
|
 |
I've discovered the capability that GIMP has for obtaining images directly from the scanner without creating intermediate files (i.e., File>Create>Scanner/Camera). What I don't know but think I should is the format of the data be transferred from the scanner to GIMP. I think the interface that is being used is called TWAIN. Of course what really matters is the image quality being delivered by this mechanism. For example, when scanning pictures that I want to edit, in GIMP, I've been avoiding the use of jpeg because of the lossy compression. I'd opt for tiff if using intermediate files. Also my scanner is capable of producing images in either 8bit or 16bit formats but when using the TWAIN interface I don't specify a file type. I've noticed that I can select a 16bit quality on the scanner but I'm pretty sure that what I'm working on in GIMP is only 8bit even though there is never any indication of a format conversion which I think must be happening somewhere. Is it the scanner or GIMP doing the conversion? Or else the scanner is able to figure out that GIMP wants 8bit and does it without informing me about the discrepancy. Is the data being transferred in a format equivalent to a file? If so what type of file? Or does the TWAIN specification dictate the format.
|
|
|
Clipboard PythonFu |
Posted by: Myrslokstok - 08-23-2017, 01:31 PM - Forum: Extending the GIMP
- Replies (3)
|
 |
I can't paste a content from my clipboard in Windows to a new image in GIMP.
I have tryed to use:
pdb.gimp_edit_paste_as_new() from the Console,
and then it only give me the internal clipboard from GIMP.
I whant to do Arkive -> Create -> From Clipboard,
The function could be easely activated with:
shift+ctrl+V
But to do it manually seems complicated, and it do get me a new image from windows clipboard. But it seem that it should be possible to script it. Considering that it is only 3 keys to press, before I run my script.
I can not find any pythonfu or other way to activate it before my script, it is a function that is obviusly there, but that I have to use manualy.
Thanks
|
|
|
increasing size of icons, tool panels, etc. |
Posted by: freedda - 08-21-2017, 07:36 AM - Forum: General questions
- Replies (4)
|
 |
I am very new to GIMP, I'm running it on my Acer Aspire Alpha 12 two-in-one notebook. I opened it for the first time just now, and the various menus (Tools, tool options, layers / brushes, etc.) are very, very tiny, so much so that I can't see them well, and certainly can't select them very easily or accurately.
Does anyone know how I increase the size of the text and icons in these windows/menus? Is it something I can do within GIMP or do I need to go it within Win 10, or?
Thanks, david
|
|
|
|