Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
Open, save buttons on bot...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: GrumpyDeveloper
9 hours ago
» Replies: 8
» Views: 2,884
|
edit_paste pastes at inco...
Forum: Scripting questions
Last Post: Ofnuts
10 hours ago
» Replies: 1
» Views: 75
|
Clone size randomly chang...
Forum: General questions
Last Post: oldschool1@runbox.com
Yesterday, 05:45 PM
» Replies: 2
» Views: 146
|
AI Gimp Plugins
Forum: Watercooler
Last Post: Zbyma72age
Yesterday, 03:31 PM
» Replies: 20
» Views: 53,309
|
Gimp closes automatically
Forum: General questions
Last Post: sallyanne
Yesterday, 05:50 AM
» Replies: 2
» Views: 191
|
AIGoR - Artificial Image ...
Forum: Other graphics software
Last Post: vitforlinux
07-16-2025, 11:10 AM
» Replies: 12
» Views: 3,800
|
Is This Possible ? Print ...
Forum: General questions
Last Post: sallyanne
07-16-2025, 07:47 AM
» Replies: 4
» Views: 191
|
Gimp Crash
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
07-16-2025, 07:16 AM
» Replies: 1
» Views: 140
|
producing an image
Forum: Gallery
Last Post: MJ Barmish
07-15-2025, 06:37 PM
» Replies: 0
» Views: 106
|
GIMP 3.x: Editing a pdf
Forum: General questions
Last Post: rich2005
07-15-2025, 03:20 PM
» Replies: 1
» Views: 128
|
|
|
[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
|
|
|
|