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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,742
» Latest member: WhiteKnight
» Forum threads: 7,236
» Forum posts: 39,485

Full Statistics

Latest Threads
Script-Fu in GIMP 3 websi...
Forum: Extending the GIMP
Last Post: pixelmixer
2 hours ago
» Replies: 0
» Views: 35
Gimp3 RC3 AppImage Is Out
Forum: Alternate Gimp packagings
Last Post: rich2005
2 hours ago
» Replies: 4
» Views: 1,014
Installing Plugins and Sc...
Forum: General questions
Last Post: Leopardo-40
5 hours ago
» Replies: 2
» Views: 107
How would you do a weathe...
Forum: General questions
Last Post: Tas_mania
8 hours ago
» Replies: 2
» Views: 137
Is your 3.0 Python runnin...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: sallyanne
Today, 02:44 AM
» Replies: 1
» Views: 120
ofn3-align-layers
Forum: Extending the GIMP
Last Post: zxc_jk5050
Today, 02:23 AM
» Replies: 8
» Views: 896
Gimp 3.0 print menu missi...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: Photomar2025
Yesterday, 04:55 PM
» Replies: 3
» Views: 225
GIMP 3.0 is here!
Forum: Gimp 2.99 & Gimp 3.0
Last Post: charlie84
Yesterday, 01:36 PM
» Replies: 0
» Views: 129
Artbox
Forum: Alternate Gimp packagings
Last Post: pixelmixer
Yesterday, 11:34 AM
» Replies: 3
» Views: 218
Gimp 3.x scanner xsane pl...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: henry88g
Yesterday, 10:03 AM
» Replies: 3
» Views: 1,290

 
  [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()

'''

Print this item

  CMYK PDF Export
Posted by: EnigmaState - 06-08-2023, 01:32 PM - Forum: General questions - Replies (3)

Hi, ive got a project that ive building in 2.10 and when exporting it needs to be in PDF 300dpi CMYK.
Ive installed the colour palette in order to view it in CMYK. Ive also got 2.99 installed too.


What im wondering is how is it possible for me to export to PDF with the CMYK colour scheme? Unfortunately I cannot export to PNG or any other format as this file is going to be printed for a vinyl record sleeve so has to be PDF.

Its been a whole learning curve for me this and im right at the end but didnt realise the CMYK thing so now trying to get my head around how I can do this.

Any help would be immense! Smile

Print this item

  layer to image
Posted by: denzjos - 06-08-2023, 07:42 AM - Forum: Tutorials and tips - No Replies

I was making a drawing with layers and want to expand a certain layer to the image size. It did not work. Not thinking about a bug, I racked my brain to find a solution and I noticed that the layer was locked. I had to see that on the menu because the 'layer to image size' was grey. So, another find for me during the gimp learning curve.  
   
   

Print this item

  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.

Print this item

  Python Fu
Posted by: DoggoOfSpeed - 06-07-2023, 12:03 PM - Forum: Scripting questions - Replies (3)

Tried to create my first script to save all open files and while it works, I've encountered a strange issue.

Code:
#!/usr/bin/env python

# Author: DoggoOfSpeed

from gimpfu import *
import os


def save(image, path):
   for layer in image.layers:
       image_name_clean = os.path.splitext(
           os.path.basename(image.filename))[0]
       full_path = os.path.join(path, image_name_clean + '.xcf')
       pdb.gimp_xcf_save(0, image, layer, full_path, full_path)


def save_all(path_type, custom_path, x, y):
   open_images = gimp.image_list()

   for single_image in open_images:
       location = os.path.dirname(single_image.filename)
       location_parent = os.path.dirname(location)
       if x == 0:
           save(single_image, location)
       elif x == 1:
           if not os.path.exists(location + "/Saved"):
               os.mkdir(location + "/Saved")
           save(single_image, location + "/Saved")
       elif x == 2:
           if not os.path.exists(location_parent + "/Saved"):
               os.mkdir(location_parent + "/Saved")
           save(single_image, location_parent + "/Saved")
       elif x == 3:
           save(single_image, y)
       single_image.clean_all()


register(
   "save_all",
   "Save All",
   "Saves all opened images",
   "DoggoOfSpeed",
   "DoggoOfSpeed",
   "2023",
   "<Image>/Save All Images",
   "RGB*, GRAY*",
   [
       (PF_OPTION, "path_type", "Save Path", 0, ("Next to Original",
        "In Sibling Folder", "In Parent", "In Custom Folder")),
       (PF_DIRNAME, "custom_path", "Custom Path", os.getcwd())
   ],
   [],
   save_all)

main()
For some reason, the function save_all() receives 4 arguments instead of the 2 requires (I added the variables x and y to accommodate that). Not only that, those variables actually contain the data from the PF_Option (in y) and PF_Dirname (in x) when I'd expect them to be in path_type and custom_path respectively. So my question is why and how do the 2 unwanted parameters appear there?

Print this item

  Resynthesizer
Posted by: pastor - 06-07-2023, 08:57 AM - Forum: OSX - Replies (2)

I have downloaded and installed the resynthesizer plugin on my MacOS Ventura 13.4, but it does NOT show under Filter > Enhence. You can see that the files are in the plugin folder, but they don't show up in the app menu. Does anyone know what's going on? Please help!



Attached Files Thumbnail(s)
   
Print this item

  Why don’t my custom palettes persist?
Posted by: tomory - 06-06-2023, 07:05 PM - Forum: General questions - Replies (6)

Hi, everyone,

I created a custom palette for a design I’m creating but when I quit and reopen The Gimp, it’s not in the list. This has happened twice in a row now. Do I need to do something special to make Gimp save my custom palette?

It’s not a huge deal because my design has only five colors in it. Still, it’s inconvenient to have to keep recreating it.

(I’m using Gimp 2.10.34 revision 1 on Mac OS Ventura.)

Thanks.

Print this item

  why is delboy getting more replies than me?
Posted by: jpcmg5t - 06-03-2023, 04:38 PM - Forum: Gimp-Forum.net - Replies (4)

favritism?

but he posted his one 1 hour after me yesterday and he already get 7 replies, and I only get 2 replies which one of them was from me. that's not fair.[Image: 47gDpTeOagk7.png?o=1]

Print this item

  photo enhance
Posted by: Delboy - 06-02-2023, 08:58 PM - Forum: General questions - Replies (10)

Sorry everyone but gimp newbie post here!...how do you convert a photo into a sports type photo as shown in attachment, not the background etc just the main image in foreground?



Attached Files Thumbnail(s)
   
Print this item

  How can I overwrite .blp files in GIMP?
Posted by: jpcmg5t - 06-02-2023, 07:33 PM - Forum: General questions - Replies (3)

Hello, I like to play this game called Speedy Eggbert.

I wanted to mod this game using GIMP, but the files are all in .blp format instead of .png. GIMP allows me to open the files and edit them, but it doesn't let me overwrite them. I have another program called XNView which allows me to overwrite the files. but I much prefer using GIMP than XNView as I'm familiar, know how to use all the editing tools and find it easy. And copying the files from GIMP to XNview is too time consuming.

So if XNView can overwite .blp files, then why can't GIMP do it? And is there an extension that can allow me to do this?

Print this item