Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 5,554
» Latest member: Lesliecuh
» Forum threads: 7,145
» Forum posts: 39,071
Full Statistics
|
Latest Threads |
Ghostscript integration
Forum: Extending the GIMP
Last Post: Leon
2 hours ago
» Replies: 3
» Views: 79
|
Gimp 3.0 AppImage and G'M...
Forum: Extending the GIMP
Last Post: vitforlinux
Yesterday, 01:52 PM
» Replies: 5
» Views: 215
|
New noob with GIMP.. Good...
Forum: Gallery
Last Post: Ofnuts
02-07-2025, 09:13 PM
» Replies: 1
» Views: 140
|
Open, save buttons on bot...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: MrsP-from-C
02-07-2025, 02:46 PM
» Replies: 5
» Views: 168
|
Using the GIMP Manual
Forum: General questions
Last Post: Ofnuts
02-07-2025, 08:53 AM
» Replies: 4
» Views: 4,292
|
Converting grayscale imag...
Forum: General questions
Last Post: bwestoz
02-07-2025, 02:10 AM
» Replies: 7
» Views: 710
|
Correcting perspective fr...
Forum: General questions
Last Post: Tas_mania
02-06-2025, 08:17 PM
» Replies: 10
» Views: 390
|
Recovering a logo
Forum: Gallery
Last Post: denzjos
02-06-2025, 07:28 PM
» Replies: 1
» Views: 486
|
Resize used RIS.
Forum: Extending the GIMP
Last Post: zvezdochiot
02-06-2025, 01:25 PM
» Replies: 6
» Views: 793
|
Does GIMP work well on wi...
Forum: General questions
Last Post: rich2005
02-05-2025, 06:27 PM
» Replies: 3
» Views: 215
|
|
|
How it is possible that Gimp while exporting histogram counts more pixels than there |
Posted by: niitard - 06-12-2020, 03:20 PM - Forum: General questions
- Replies (4)
|
![](https://www.gimp-forum.net/images/default_avatar.png) |
Hello,
I'm currently learning programming in python, one of subject that i'm trying to cover now is working with image. So i wanted to created o program that's counting how many pixel of each colour is in my image (which is 10x10 pixel gray scale). So i created the image all black with 24 white pixel and my program, all works well. It counts 24 pixel of "255" and 76 of "0.
But here comes the problem:
when i have used the Gimp [color] -> [information] -> [export histogram] to file i got the results like this
Range start,Value
0 , 76.0
1 , 0.0
2 , 0.0
[...]
253 , 0.0
254 , 24.0
255 , 24.0
it looks like, the Gimp software counted white pixel two times, so when they are summed up that makes 24 + 24 + 76 = 124 , and yet the picture size is still 10x10 = 100
i've searched the internet but cant find the clue:
How it is possible that Gimp while exporting histogram counts more pixels than there are really in the picture?
Thank you for help
|
|
|
How do I change a specific colour in a specific layer? |
Posted by: AnyOldBiscuit - 06-12-2020, 01:41 PM - Forum: General questions
- Replies (5)
|
![](https://www.gimp-forum.net/images/default_avatar.png) |
I want to change the colour of drawn lines from one shade of green to another. All the green lines are in one layer, except for a few which are in another layer (I also want to change these ones). I have tried the bucket fill tool, but it ends up filling in the edges so it no longer has anti-aliasing, end, as a consequence, also fills small gaps. Somehow, the bucket fill tool worked fine to change colour when I tested it on a blank canvas. How do I change the colour without affecting the entire image? I only want to change the pixels that make up the lines.
|
|
|
How can I transform full image/layer? |
Posted by: hothit43 - 06-11-2020, 09:10 PM - Forum: General questions
- Replies (2)
|
![](https://www.gimp-forum.net/images/default_avatar.png) |
I am having an issue using transform tools on a layer that has content outside of the image bounding box.
Unified transform or any kind of transform clips the layer/content to what is visible in the bounding box instead of letting me transform the full selection.
I've tried selecting all of the content from alpha to selection. I've tried Layer to boundary size. Using the move tool lets me move the full contents, but transform does not transform the full content. Here is a link to a gif recording of what is happening.
https://gph.is/g/4LWbOWp
|
|
|
how to install resynthesizer in gimp 2.10 on linux |
Posted by: cfdqwruivz - 06-11-2020, 12:37 AM - Forum: Extending the GIMP
- Replies (4)
|
![](https://www.gimp-forum.net/images/default_avatar.png) |
hi folks,
this is a little guide on how to install resynthesizer plugin in gimp 2.10 on debian linux. resynthesizer provides handy plugins like 'heal selection'. this tutorial was tested on debian linux, but it may work on other distributions as well. i wrote this guide bc other tutorials i found didn't work for me.
anyway, here's my tutorial:
step 0: make sure the package 'gimp-plugin-registry' is NOT installed on your system. afaik it's only crap in there anyway.
step 1: install package 'gimp-python' from the latest debian version pool. for me it was:
Code:
1. add 'buster' release pool to /etc/apt/sources.list
(e.g. 'deb https://deb.debian.org/debian/ buster main non-free contrib')
2. sudo apt update
3. sudo apt install gimp-python/buster
step 1.1: make sure you have the following packages installed, or else the compilation (next step) will fail:
- automake
- libglib2.0-dev
- libgimp2.0-dev
- intltool
step 2: git clone https://github.com/bootchk/resynthesizer to somewhere you wan't to have it. then cd into it and run the following to compile the plugin scripts:
Code:
./autogen.sh
./configure
make
sudo make install
make sure you have the following packages installed, or else the compilation will fail:
step 3: open up gimp and see if it worked. open gimp from the command line to catch possible errors.
note: maybe you have to add /usr/local/lib/gimp/2.0/plug-ins to your plugin folders list in the gimp preferences.
i hope this is useful. don't hesitate to contact me if you have any problems or questions
|
|
|
|