Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,624
» Latest member: Josephmally
» Forum threads: 7,490
» Forum posts: 40,884

Full Statistics

Latest Threads
edit_paste pastes at inco...
Forum: Scripting questions
Last Post: class43
25 minutes ago
» Replies: 2
» Views: 93
CMYK color mode Gimp 2.10
Forum: Extending the GIMP
Last Post: rich2005
4 hours ago
» Replies: 20
» Views: 82,144
Open, save buttons on bot...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: GrumpyDeveloper
Yesterday, 09:52 PM
» Replies: 8
» Views: 2,943
Clone size randomly chang...
Forum: General questions
Last Post: oldschool1@runbox.com
Yesterday, 05:45 PM
» Replies: 2
» Views: 179
AI Gimp Plugins
Forum: Watercooler
Last Post: Zbyma72age
Yesterday, 03:31 PM
» Replies: 20
» Views: 53,469
Gimp closes automatically
Forum: General questions
Last Post: sallyanne
Yesterday, 05:50 AM
» Replies: 2
» Views: 200
AIGoR - Artificial Image ...
Forum: Other graphics software
Last Post: vitforlinux
07-16-2025, 11:10 AM
» Replies: 12
» Views: 3,826
Is This Possible ? Print ...
Forum: General questions
Last Post: sallyanne
07-16-2025, 07:47 AM
» Replies: 4
» Views: 205
Gimp Crash
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
07-16-2025, 07:16 AM
» Replies: 1
» Views: 147
producing an image
Forum: Gallery
Last Post: MJ Barmish
07-15-2025, 06:37 PM
» Replies: 0
» Views: 112

 
  one bit transparency
Posted by: bitrat - 11-05-2022, 02:37 AM - Forum: General questions - Replies (14)

Hi,

in CorelDraw, it is (was?) possible to render a one bit (b&w) image as an arbitrary solid colour for black and transparent for white.  Note that this involved no blending or increase in bit width of the image.

I'm trying to do the same thing with GIMP and Inkscape (which sadly lacks this incredibly useful and probably not too difficult to implement feature).

So far all I've managed is an RGBA exported to png with a constant RGB and a high contrast alpha.  It seems to be impossible to prevent some degree of 'anti-aliasing'.

I can import this into Inkscape and lay it over a coloured background, but when I export it,  it's alpha blended, even though I didn't ask for that.  Again, it seems to be impossible to prevent 'anti-aliasing'.

Also, for some reason, Inkscape adds a transparency checker pattern to the background (which is not visible in the edit window).

Surely there's a way to create a one bit transparency in GIMP and render it in colour in Inkscape, then export it without alpha or checkers!

Even better would probably be to do it all in GIMP, but I still need the absence of blending, just the one bit transparency.
UPDATE: I've figured out how to do this in GIMP, but I'd still really like to know if and how I can create and export a one bit colour + transparency image.


Heelp me....  heelp meee...   pleeezzzzz.....

bitrat

Print this item

  Troubles with guide position
Posted by: alvk - 11-05-2022, 12:19 AM - Forum: Scripting questions - Replies (5)

Hello everyone!

I'm using gimp to make figures for my scientific papers. Often I need to place a guide in a certain position relative to a selected layer. I'm trying to write a pretty simple script, that do the job. However, I have a problem with it. I want to have a checkbox, with indicates whether the guide should be placed within the selected layer or not. But it doesn't work. Every time, the script return negative value for guide position. If I have a multilayer image, this means that the guide is placed outside the active layer, regardless of the state of the checkbox. If I have a single layer image, I get an error, that the guide is outside the image. Could anyone help me to solve this problem? The full script is below. Thank you!

Code:
(define (script-fu-custom-guide image
                        drawable
                        orientation
                        position
                        in_toggle)

 (let* (
        (lwidth (car (gimp-drawable-get-width image)))
        (lheight (car (gimp-drawable-get-height image)))

        (offx (car (gimp-drawable-get-offsets drawable)))
        (offy (cadr (gimp-drawable-get-offsets drawable)))

        (if (= in_toggle TRUE) (position (* -1 position)))

        (guide_position
          (cond ((= orientation 0) (- offx position)) ; guide on left
                ((= orientation 1) (+ offx lwidth position)) ; guide on right
                ((= orientation 2) (- offy position)) ; guide on top
                ((= orientation 3) (+ offy lheight position)) ; guide on bottom
                )
          )
        )

   (if (< 1 orientation)
     (gimp-image-add-hguide image guide_position)
     )
   (if (> 2 orientation)
     (gimp-image-add-vguide image guide_position)
     )
   (gimp-displays-flush)
   )
 )

(script-fu-register "script-fu-custom-guide"
 _"_Custom guide"
 _"Adds a vertical or horizontal guide to the image"
 ""
 ""
 ""
 "*"
 SF-IMAGE       "Input image"    0
 SF-DRAWABLE    "Input drawable" 0
 SF-OPTION _"_Orientation"         '(_"Left" _"Right" _"Top" _"Bottom")
 SF-ADJUSTMENT _"_Position"         (list 20 0 MAX-IMAGE-SIZE 1 10 0 1)
 SF-TOGGLE     _"Within a layer?"  FALSE
)

(script-fu-menu-register "script-fu-custom-guide"
                        "<Image>/Figures")

Print this item

  How to add FFT to GIMP 2.8 (on old Betsy version of Mint)
Posted by: Moreach - 11-04-2022, 11:21 PM - Forum: Linux and other Unixen - Replies (17)

I need to use descreen. I've tried to add FFT but the tutorial gives Windows directions. I can't find my C: drive.

Print this item

  Plugin Darktable
Posted by: benoit - 11-04-2022, 07:24 PM - Forum: Installation and usage - No Replies

Hello

The interoperability feature with Darktable, which allows to open a RAW file in Darktable from Gimp, does not work.

Gimp is not able to open the RAW file modified by Darktable.
Here is the error window:

--------------------------------------------------------
GIMP Message :
Calling error for procedure 'gimp-file-load':
Error opening file '/tmp/gimp/2.10/gimp-temp-253451.exr' for reading


GIMP Message
Opening '/home/benoit/RAW/D7100/DCIM/111D7100/NII_2044.NEF' failed:

Raw Nikon plug-in could not open image


--------------------------------------------------------

I am running Debian GNU/Linux

My Darktable version: 4.0.1
Of Gimp : 2.10.22

I specify that it works on another computer under Debian GNU/Linux in Testing, therefore with other versions of Gimp and Darktable.

Thanks in advance


--
Benoit

Print this item

  This isn't going to attract new users in Somerset
Posted by: Ofnuts - 11-04-2022, 09:08 AM - Forum: Watercooler - Replies (2)

https://inews.co.uk/news/somerset-gimp-s...an-1949011

Print this item

  Installing Third Party plugins in GIMP
Posted by: Laco - 11-03-2022, 11:59 AM - Forum: Extending the GIMP - Replies (4)

I am new to the forum and new to GIMP.
 
I tried researching the subject of how to install plugins in GIMP, but every tutorial I could find was in reference to GIMP plugins only—plugins designed specifically for GIMP. Can anyone tell me if third party plugins can be installed in GIMP? Specifically, I am wanting to use Topaz Photo AI as a plugin in GIMP.

I know how to find the GIMP plugins folder, but I don’t know which part of the Topaz Photo AI folder to put in there.

Print this item

  What is Gimp's equivalent of "Clip to Layer Below"?
Posted by: abvieon - 11-02-2022, 11:25 PM - Forum: General questions - Replies (2)

Hi, I'm brand new to using Gimp. Before this I mainly used Clip Studio Paint, which has a feature called clip to layer below. It allows you to make a layer you can clip to another layer, anything you draw on the clipped layer will only show up on the layer underneath. It's useful if you want to change your lineart to a different color, for example. Does Gimp have anything that allows me to do this?

Print this item

  How to fill entire image from gradient outline
Posted by: ahsaul - 11-02-2022, 02:27 PM - Forum: General questions - Replies (10)

I have an outline from an image that is gradient and I'm trying to make the entire image (square) match the gradient. Is there a fairly easy way to accomplish this?



Attached Files Thumbnail(s)
   
Print this item

  No icons in drop-down pull-down menus
Posted by: MichaJo - 11-02-2022, 08:56 AM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (2)

Is it intentional not to have icons in the drop-down / pull-down menus of GIMP 3.0?
Or is it just the development status of GIMP 2.99 and it's themes?

   

Does anybody know?

Michael

Print this item

  Hotkey issue
Posted by: Amy Lu - 11-02-2022, 04:30 AM - Forum: Older Gimp versions (2.8, 2.6....) - Replies (8)

So I asked about this a few years ago, and as I had to reinstall GIMP, I'm running into the issue with creating custom hotkeys.

What I want to do is assign 'P' as the path tool, but no matter what I do, GIMP still has 'B' as its hotkey. I've gone to preferences and tried defining them there, and even keyboard shortcuts, but nothing works. It still has 'B' as the shortcut.

I'll attach an image showing this. But you can see I have it assigned as 'P', but it's not applying whatever key I insert.

Any help would be awesome.

Edit: Just to add; I'm using GIMP 2.8.22



Attached Files Thumbnail(s)
   
Print this item