Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
creases
Forum: General questions
Last Post: Ofnuts
10 hours ago
» Replies: 13
» Views: 398
|
Gimp exported image gets ...
Forum: General questions
Last Post: eenrsa
11 hours ago
» Replies: 7
» Views: 5,024
|
GIMP Won't Launch
Forum: General questions
Last Post: RonBee
Yesterday, 06:35 AM
» Replies: 12
» Views: 4,185
|
Question about selection ...
Forum: General questions
Last Post: PixLab
04-28-2024, 11:02 AM
» Replies: 3
» Views: 162
|
How good are you at guess...
Forum: Watercooler
Last Post: Krikor
04-27-2024, 12:56 PM
» Replies: 15
» Views: 504
|
Color change
Forum: General questions
Last Post: rinaldop
04-26-2024, 04:07 PM
» Replies: 5
» Views: 276
|
Scaling an image to a fix...
Forum: General questions
Last Post: denzjos
04-26-2024, 03:25 PM
» Replies: 4
» Views: 252
|
AppImages and Help Files
Forum: Alternate Gimp packagings
Last Post: CtrlAltDel
04-26-2024, 10:37 AM
» Replies: 2
» Views: 178
|
How do I make this image ...
Forum: General questions
Last Post: Krikor
04-26-2024, 09:23 AM
» Replies: 4
» Views: 190
|
How do I remove the backg...
Forum: General questions
Last Post: PixLab
04-26-2024, 12:40 AM
» Replies: 4
» Views: 263
|
|
|
Terminology or else |
Posted by: Ofnuts - 02-01-2023, 12:02 AM - Forum: Watercooler
- Replies (6)
|
|
I am writing a script that can work either on vertical or horizontal objects. I need words/expression that refer to
* left/right when working horizontally, and top/bottom when working vertically (begin and end of the "main" direction)
* top/bottom when working horizontally, and left/right when working vertically (begin and end of the "transverse" direction)
Because if I have a single UI, I can't change this dynamically in the input dialog when the user changes the orientation choice.
An alternative is to have two menu entries, one for each orientation, leading to two dialogs and have each dialog use the relevant usual terms.
€0.01 for you thoughts.
|
|
|
Colors in GIMP Viewport Are More Vibrant Than Actual Image |
Posted by: Lucky13guy - 01-31-2023, 07:09 PM - Forum: General questions
- Replies (3)
|
|
Hey Guys and Gals,
First time post. Please forgive me if this has been discussed before, but I honestly had no idea what to search for in regards to my issue.
Anyway, I've been using GIMP for about 9 months now, and recently I noticed that my images appear to be much more vibrant or saturated in the GIMP viewport than they do when viewed outside of GIMP. This includes images that have never been opened in GIMP previously. It makes photo editing a little difficult, since what you see isn't going to be equal to what you get.
I doubt it has anything to do with my system, but just in case, I've listed some basic specs of what I'm running below.
GIMP Version: 2.10.32 (Revision 1)
Operating System: Windows 11 (64-bit)
CPU: AMD Ryzen 5900HS
GPU: NVIDIA GeForce RTX 3080 Laptop GPU
Has anyone else experienced this? If so, is there some way to fix it so the color saturation matches inside and outside GIMP?
Thanks in advance!
Lucky13guy
|
|
|
How to read transparency level ? |
Posted by: GauSte - 01-31-2023, 02:57 PM - Forum: General questions
- Replies (2)
|
|
Hello,
I open a picture with several shapes with several transparency colours.
I would like to pick the colour and the transparency level.
If I use the colour picker tool, I can read the RGB levels for the color, but I can't find the transparency level.
Where can I find it for this pixel ?
Thanks
|
|
|
Trying to cut 4 equal corners off an image |
Posted by: razzer - 01-31-2023, 04:50 AM - Forum: General questions
- Replies (4)
|
|
Hi , so i am new with gimp and am trying to cut 4 equal corners off an image. So i made a triangle with the path tool and connected it, so then i can choose " selection from path " and in edit mode i can cut or delete that triangle out.
But after that i get lost , i want to then just move the triangle and rotate it and move it to another corner and cut that corner out . Then do that to the 2 remaining corners. Though i seem to not be able to just rotate and move the triangle into position very easily. I can lock it and name it , but it don't seem to rotate . Any help? thanks
|
|
|
Python Fu - Math operations failing |
Posted by: BaconWizard17 - 01-31-2023, 03:44 AM - Forum: Scripting questions
- Replies (4)
|
|
Hi all,
I'm setting up a script, and part of it is to scale the image to a max size of 256 for one type of texture and a max size of 128 for a different type of texture. That aspect isn't working, so I isolated it into a separate script, and it's still not working. I've managed to figured out where the issue is happening, but not why. Here's the isolated code:
Code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from gimpfu import*
def resizeMax(image, layer, texType):
# Determine the max size based on the texture type:
if texType == 0:
# primary texture
maxSize = 256
else:
# secondary texture
maxSize = 128
# Get the current dimensions of the image
currentWidth = image.width
currentHeight = image.height
# Check which is bigger
if currentWidth >= currentHeight:
# Wide image or square
scaleFactor = maxSize / currentWidth
pdb.gimp_message("DEBUG: Scale Factor is")
pdb.gimp_message(scaleFactor)
else:
# Tall image
scaleFactor = maxSize / currentHeight
pdb.gimp_message("DEBUG: Scale Factor is")
pdb.gimp_message(scaleFactor)
# Get the new sizes
newWidth = scaleFactor * currentWidth
newHeight = scaleFactor * currentHeight
# scale the image accordingly
pdb.gimp_image_scale(image, newWidth, newHeight)
# Resize the layer to the image size
pdb.gimp_layer_resize_to_image_size(layer)
# Display the changes
pdb.gimp_displays_flush()
def resizeMaxMain(image, layer):
resizeMax(image, layer, 0)
register(
"python_fu_test_resize_max",
"",
"",
"BaconWizard17",
"BaconWizard17",
"January 2023",
"Resize to Max Size",
"*",
[
(PF_IMAGE, "image", "Input image", None),
(PF_DRAWABLE, 'drawable', 'Layer, mask or channel', None)
],
[],
resizeMaxMain,
menu='<Image>/Test'
)
main()
The issue is the line where the scaleFactor is being determined. For whatever reason, scaleFactor = int(maxSize) / int(currentWidth) is giving a value of 0, even though maxSize is nonzero (defined as 256) and currentWidth is also nonzero (512 in the image I was testing). I used pdb.gimp_message() to verify the values right before the operation, and they're what I expect. Maybe I'm doing the division wrong? I also tried converting maxSize and currentWidth to integers (with int()), but that didn't change anything either. Any thoughts would be appreciated.
|
|
|
querying new plugins on startup forever |
Posted by: Cotillion - 01-30-2023, 11:33 AM - Forum: Windows
- No Replies
|
|
hi there currently at my wits end i've had gimp running with no issues on my computer with no issues for months however i installed (successfully) the resythesisor plug-in the other day(successully) i was using it for a few days then woke up one day (may or may not have been after update for widows 11 im not sure, tried rolling it back already anyways no dice) and the resythesisor plug-in was nowhere to be found and after exiting gimp completely i could no longer get into it at all. when i try it starts re installing my other apps eg; wordpress, visual studio code, github desktop and a few more i dont remember off the top of my head although a common denominator here is that they are all recent additions ive played it out installing them again and skipping/cancelling them and gimp never progresses past "querying new plug-ins" . so i've gone to the gimp file location and found the plug in folder thinking that it must have been something i screwed up in there but i cant find anything weird, mind you im no hawk-eye does this sound familiar to anyone or do you guys have any recommendations? greatly appreciated have a good day
|
|
|
New Ubuntu 22.04 |
Posted by: meetdilip - 01-30-2023, 06:05 AM - Forum: Installation and usage
- Replies (5)
|
|
Hi, I have a new Ubuntu 22.04 install.
I have both Flathub version and AppImage version. Which one should I use for 2.10?
I added layerfx.py to both, but I cannot see it in GIMP. I added the .scm version of layer effects, also added the 3 .so files from LinuxBeaver . Only the .scm version is detected.
Would be nice if you can help me set up a fully functional GIMP. Thanks.
I got the latest Python2 install, but still no luck.
v 2.7.18
|
|
|
|