Questions tagged [gimp]

For questions about programming the GNU Image Manipulation Program, including plug-ins. Remember to include appropriate tag(s) for the programming language in use. Questions about non-programming use are off-topic for Stack Overflow; consider asking on Super User or Graphic Design instead.

Gimp is an acronym for Image Manipulation Program. It is a freely distributed program for such tasks as photo retouching, image composition and image authoring.

The core of GIMP is implemented in .

Plug-ins may be implemented in a wide choice of languages, including , and and .

Resources

Gimp programming tutorials

Books:

922 questions
0
votes
1 answer

Gimp's algorithm for calculating dynamics?

I'm trying to write a small painting program, and I was looking at Gimp's dynamics options. I was wondering what algorithm is used to calculate the final stroke parameters from the various curves. At first I thought it simply was an average between…
Knexator
  • 21
  • 4
0
votes
1 answer

Making half an image transparent from the command line

I don't really know where to start with this one. I'm trying to do something that I thought would be relatively simple to accomplish with imagemagick, but I don't know the exact command to start with. I need to draw a line through an image, and then…
user5037156
0
votes
1 answer

Finding dgettext declaration when compiling libmypaint on osx

I have been trying to compile GIMP for the last few days from source and I am having an issue with libmypaint. I have read the REAMDME, and install all dependencies via MacPort. The autogen.sh file completes, but when I run the ./configure, I get…
0
votes
2 answers

transparencize a background image on Photoshop

I would like to use this background image on different pages of my website. The idea is to have a different color, instead of being grey. I am trying to change the color on Photoshop, and found this topic:…
Mahcih
  • 23
  • 5
0
votes
1 answer

Fitting a curve to a drawing in Gimp

I'd like to make a logo which contains some mathematically defined shapes (to wit, a log-normal and normal distribution; see below). I can generate an image of these shapes using Python's Matplotlib, but I would like to import this into Gimp. In…
Kurt Peek
  • 52,165
  • 91
  • 301
  • 526
0
votes
1 answer

gimp colour level algorithm

My first question on this forum, please be soft with me :) I have a bunch of BMP files (created by the script i wrote ) and i would like to change the color level of them. Currently, i open Gimp, i go to "color level" set the input level values…
0
votes
1 answer

Hole filling of color pictures

I would like to perform some image editing by removing annoying element on these image such as electric poles, grids, ... (pic. 1) The amount of edits to perform is quite significant and I wonder if it is possible to automatize the refilling (pic.…
JeanJouX
  • 2,555
  • 1
  • 25
  • 37
0
votes
1 answer

Why are these scripted gimp image modifications not being persisted?

This is my first foray into gimp scripting, and I seem to be having some basic misunderstanding. I've written the following code which is intended to convert white into transparency in the specified file, and to export the result as a png…
Jeremy
  • 1,049
  • 1
  • 15
  • 28
0
votes
1 answer

Vulnerability found on GIMP 2.8.14 (Windows)

I have advised of a security issue found on the software GIMP 2.8.14. The vulnerability description can be found here: Vulnerability Description And the CVE here: CVE-2016-4994 When I was advised of the vulnerability, I also was advised about a…
J.P Rojas
  • 3
  • 5
0
votes
1 answer

GIMP: Setting entire foreground to a particular colour

In GIMP version 2.8, I have an image with a black foreground, and a transparent background. I want to set the entire foreground to red, instead of black. What's the simplest way of doing this? I have tried using the fuzzy select tool and doing a…
Karnivaurus
  • 22,823
  • 57
  • 147
  • 247
0
votes
2 answers

Setting the background to transparent using GIMP

Using GIMP 2, I have an image of a grey chair on a white background, as below: I now want to set the background to transparent. Therefore, I decided to use GIMP's "Color To Alpha" tool. So, I told it to set all pixels which are white (255, 255,…
Karnivaurus
  • 22,823
  • 57
  • 147
  • 247
0
votes
1 answer

Gimp Transparency Not Working

So I am trying to remove a certain color: e95353 from an image. It is the background of the image. However, the main clip which I want to keep has very similar colors, here it is: When I try to remove e95353 from the image, here is what…
Tino Caer
  • 443
  • 4
  • 19
0
votes
2 answers

Open-source implementations of a photoshop-like quick select algorithm?

Are there any open-source implementations of an graph-cut algorithm similar to that used for Photoshop's quick select tool? I'm researching for a personal project of making a GIMP tool\plugin similar to PS's tool, but I'm wondering if it's been done…
dieki
  • 2,435
  • 5
  • 23
  • 29
0
votes
1 answer

Animate viewscreen over a large image with gimp

I would like to create an animated view of a large image so it is viewed partially while the viewport moves. Say have an image 3000x2000 px, create a view 1000x2000px that moves slowly up and down. How could I achieve this with gimp? Many…
filimon
  • 61
  • 4
0
votes
3 answers

Re-saving JPEG files introduces unwanted differences

I have a JPEG that will be processed by image analysis algorithms. It has been labelled in the corner of the picture, but I need to remove the label before processing. BUT: opening the JPEG in Gimp, editing out the label and re-saving, introduces…
wwwald
  • 460
  • 1
  • 5
  • 13