Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 4,346
» Latest member: RonBee
» Forum threads: 6,656
» Forum posts: 36,285
Full Statistics
|
|
|
Will we get a Gimp AI? |
Posted by: Xogroroth - 06-13-2023, 06:52 AM - Forum: Watercooler
- Replies (5)
|
|
Hail all:
So, AI driven sites (and even few releases of the software) are becoming mainstream.
Does this translate soon to Gimp as well?
I mean, it would be neat, to see a Gimp with AI support, for things like cleaning up an old picture, or to improve the quality of a less great picture, things like that.
Or, for others, to "generate art from scratch", not that so my thing, but hey, to each his own.
"Simple" support tools to "auto-improve" pictures is good for me, based on AI-algorithms.
Thank you:
Xog.
|
|
|
gimp_drawable_curves_spline control points range. |
Posted by: teapot - 06-11-2023, 06:41 PM - Forum: Scripting questions
- Replies (4)
|
|
Hi,
This question came out of the following posts:
http://gimpchat.com/viewtopic.php?f=11&t...70#p280208
http://gimpchat.com/viewtopic.php?f=11&t...70#p280237
http://gimpchat.com/viewtopic.php?f=11&t...70#p280240
http://gimpchat.com/viewtopic.php?f=11&t...70#p280246
Does pdb.gimp_drawable_curves_spline want the spline control points to be in the range 0.0 - 1.0, or 0 - 255, or can it cope with either?
As far as I can make out, the deprecated pdb.gimp_curves_spline takes 0 - 255 and calls the C function curves_spline_invoker() that divides each point by 255. The replacement pdb.gimp_drawable_curves_spline calls drawable_curves_spline_invoker() that looks very similar but without the divide.
In summary these both work for me:
pdb.gimp_curves_spline(layer_copy, HISTOGRAM_VALUE, 6, [0, 0, 157, 110, 255, 255])
pdb.gimp_drawable_curves_spline(layer_copy, HISTOGRAM_VALUE, 6, [0.0, 0.0, 0.615, 0.431, 1.0, 1.0])
This doesn't work for me, as it makes the layer all black, but works for David and Issabella:
pdb.gimp_drawable_curves_spline(layer_copy, HISTOGRAM_VALUE, 6, [0, 0, 157, 110, 255, 255])
Should the latter work and why would it work for them and not me?
Many thanks for any help.
|
|
|
Mysterious problem with selection and copying |
Posted by: Koivu - 06-11-2023, 09:02 AM - Forum: Linux and other Unixen
- Replies (9)
|
|
Hello all! I'm having mysterious problem with Gimp that occurred first time around 30.5.2023. Been using Gimp about 15 years now.
The problem: after reopening xcf file, can't select anything.
- The dotted line of selection doesn't show up, even if "Show selection" is checked.
- When copying the selected area and creating new file or layer out of it, the result is empty transparent layer. (Copy visible has the same result.)
- This never occurs on new files, only reopened xcf files.
- Not all my xcf files have this problem when opening. But it seems to occur randomly, even in files older than 30.5.23.
Solutions I've tried but didn't fix this:
- Reinstall Gimp
- Reverting into older Gimp version
- Remove Wacom tablet
- Remove G'mic
- Use Cinnamon instead of Xfce working environment
- Opening the file straight from SSD instead mounting hard drive first
- Saving as with the option "Save this XCF file with better but slower compression" unchecked
Solutions that kind of worked (a.k.a. more info about the problem) :
- Removing the Gimp's "2.10" config folder (home/username/.config/GIMP/2.10).
At first time this worked. I opened the Gimp and configurated the settings while testing that it was working. (By testing I mean I had opened a xcf file that previously had the problem and successfully selected and copy&pasted part of it.) I configurated the settings in small sections, every now and then shutting down the Gimp, to see which one was the problem, but the problem didn't occur anymore on the session I had the computer open. How ever at next day when I opened the computer again, the problem was present like I hadn't ever resetted the settings. I tried this trick again, but even starting with the "2.10" folder removed, the problem occurred.
- Saving the file as.
I saved the problematic file as filename_test1.xcf and closed the Gimp. Then reopened it and then filename_test1.xcf and it was working. BUT! If I do the same thing while the Gimp is RUNNING, for example save as filename_test2.xcf, it has the problem. (Well, it kind of solves the problem, but it's really impractical to have to do this every time...)
- Using different computer. My spouse has the same operating system, working environment and version of the Gimp. The problem doesn't occur on his computer, even my problematic files work just fine. (...But I need it to work on my computer since it's mine... :D )
If it mattes, I'm using Linux Manjaro, kernel version 6.1.31-2. Used Gimp 2.10.34-1 when this problem first time occurred, today reverted to Gimp 2.10.32-2 but it didn't fix it.
Any further questions are welcome, I'll try to answer the best I can.
I really hope someone can find a way to fix this!
|
|
|
plugins? |
Posted by: novalore40 - 06-10-2023, 09:32 PM - Forum: General questions
- Replies (4)
|
|
I have just upgraded to the most recent gimp that is stable 2.10 i think and i have some plugins like redfield and i can't get the plugins to install what am i doing wrong i have them in app data but they aren't showing up pls help
|
|
|
[split] Rotating on Y axis like Map Object (Plane) |
Posted by: nachocoin - 06-08-2023, 03:47 PM - Forum: Extending the GIMP
- Replies (3)
|
|
(03-09-2023, 11:47 PM)Ofnuts Wrote: Map object is not unusable (or even that hard to understand).... until you want to map something to an existing cylinder in your image, that elicits considerable amounts of trial and error, first for the size/position/rotation, then for the lighting. If/when they redo Map object with a live preview on the canvas then things will be a lot easier.
I have been looking to map the y axis of plane mode via a python script
any help would be greatly appreciated
specifically try to get orientaion y to rotate(-180, 180, 5)
but all attempts so far have given the incorrect results. I can do this manually but when i need to create so many layers it becomes too time consuming.
her is the last script i tried:
'''
import math
from gimpfu import *
def rotate_image_on_y(image, drawable):
for angle in range(-180, 185, 5):
# Create a duplicate of the drawable (layer)
duplicate_layer = pdb.gimp_layer_new_from_drawable(drawable, image)
# Add the duplicate layer to the image
pdb.gimp_image_insert_layer(image, duplicate_layer, None, -1)
# Rotate the duplicate layer on the Y-axis
pdb.gimp_item_transform_rotate(duplicate_layer, math.radians(angle), True, 0, 0)
pdb.gimp_displays_flush()
register(
"rotate_image_on_y",
"Rotate Image on Y-Axis",
"Rotate image on the Y-axis",
"Your Name",
"Your Name",
"2023",
"<Image>/Filters/MyScripts/Rotate Image on Y-Axis",
"*",
[],
[],
rotate_image_on_y)
main()
'''
|
|
|
Crashes on first launch |
Posted by: promisem - 06-07-2023, 03:48 PM - Forum: Installation and usage
- Replies (1)
|
|
I reinstalled 2.10.34 after an earlier version started having plugin crashes. The new install freezes when loading tile.exe. I have tried reinstalling it and confirming that the directory was deleted before trying again. Windows 10.
EDIT: The program launched after 3 or 4 tries.
|
|
|
|