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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,628
» Latest member: inemar
» Forum threads: 7,491
» Forum posts: 40,886

Full Statistics

Latest Threads
text tool
Forum: General questions
Last Post: Ofnuts
1 hour ago
» Replies: 1
» Views: 34
edit_paste pastes at inco...
Forum: Scripting questions
Last Post: class43
Yesterday, 03:48 PM
» Replies: 2
» Views: 128
CMYK color mode Gimp 2.10
Forum: Extending the GIMP
Last Post: rich2005
Yesterday, 12:13 PM
» Replies: 20
» Views: 82,210
Open, save buttons on bot...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: GrumpyDeveloper
07-17-2025, 09:52 PM
» Replies: 8
» Views: 2,974
Clone size randomly chang...
Forum: General questions
Last Post: oldschool1@runbox.com
07-17-2025, 05:45 PM
» Replies: 2
» Views: 198
AI Gimp Plugins
Forum: Watercooler
Last Post: Zbyma72age
07-17-2025, 03:31 PM
» Replies: 20
» Views: 53,643
Gimp closes automatically
Forum: General questions
Last Post: sallyanne
07-17-2025, 05:50 AM
» Replies: 2
» Views: 224
AIGoR - Artificial Image ...
Forum: Other graphics software
Last Post: vitforlinux
07-16-2025, 11:10 AM
» Replies: 12
» Views: 3,856
Is This Possible ? Print ...
Forum: General questions
Last Post: sallyanne
07-16-2025, 07:47 AM
» Replies: 4
» Views: 220
Gimp Crash
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
07-16-2025, 07:16 AM
» Replies: 1
» Views: 162

 
Question How to automate adding black pillars to create 16:9 aspect ratio images?
Posted by: Sosnovka Skydiver - 04-22-2020, 08:39 PM - Forum: Extending the GIMP - Replies (5)

I'm a first time poster so please excuse me if this is already answered, I tried to find the answer here and elsewhere but no success yet.

Basically my problem is that I'd like to use my photos as Google Chromecast wallpapers, but many of them (100+) are in aspect ratios (and in many different resolutions) that are not quite 16:9, and in these cases Chromecast just pan & scans the photo. There's no other way to display the whole images than reprocessing them to 16:9, but I don't want to do this manually.

Is there a way to somehow automate this on GIMP?

The process, when done manually, is as follows:
  - Use calculator to multiply height of image by 1.7777.... (result = New Width)
  - Go to Layer > Canvas size, input New Width (width and height fields unbound)
  - Click "Center"
  - Fill with background color selected
  - Click "Resize"
  - Export as JPG with "_Wide" added to filename before the dot

Exporting & saving the resulting image doesn't have to be a part of the automation, but would surely be handy.

I know there's a scripting subsection here too, if a script is the way forward here sorry for posting in the wrong place -- I just don't know really anything about the scripts. I have written some Visual Basic macros though for Excel   Smile

I'd be very grateful if someone could give me pointers! Any kind of method that would take away the manual calculation and canvas resizing would be terrific.

I have currently v. 2.10.10 on Windows 10.

Print this item

  Manage Docks
Posted by: emvella - 04-22-2020, 08:11 PM - Forum: General questions - Replies (2)

Hi,

I have installed GIMP 2.10 for the first time on Linux Laptop. And I immediately made something wrong and the lower dock on the right dissappeared and the dock on the left it is showing on the right all the time.

Please how can I make the dock on the left again and bring back the one that dissappeared?

Thanks

Print this item

  Attaching .xcf and .pdf?
Posted by: Ottia Tuota - 04-22-2020, 12:44 PM - Forum: Gimp-Forum.net - Replies (1)

In my next post I would like to upload a .xcf file and a one-page .pdf file. How do I do that? Is it done using the Attach procedure?

The .xcf file I mean to be downloadable, so that the reader can download it in order to experiment with the file in Gimp.

Can the .pdf file be attached as such or should it be zipped?

Or would some other method be preferable for sharing such files?

Print this item

  Path transformations
Posted by: Ottia Tuota - 04-22-2020, 10:34 AM - Forum: Extending the GIMP - Replies (31)

Hello again!

I have three plugins to share. They are about transformations of Gimp's paths. Nothing remarkable. They are the first step in my current project, and I paused my work to make them into plugins. My long-range aim is to try to make plugins that transform Gimp paths by certain more interesting (conformal) maps.

I know that there are already transformations to deform images. At least G'MIC has a long list. I have not tried those, but it is my guess that they transform images, not paths. But if I am wrong, and if they (or some other existing plugin) can be applied to paths, I hope that somebody tells me so that I shall not work in vain. The problem in transforming a path (for example by a Möbius transformation or such) is different from transforming an image since the input is control points of Bézier curves and the result must again be represented as Bézier curves. Hence, there needs to be an approximation.

Anyway, as a preliminary step I wrote the three plugins. These plugins deal with cases where no approximation is needed, so the results are exact.

Of each of the three plugins I shall soon make a special introductory post. My time is nowadays rather limited, and I think this will take perhaps a week. Here is a quick overview of the plugins:

1. Affine maps. Nothing new here, of course, since Gimp's own transformation tools do affine maps on paths. My plugin gives a different interface: not WYSIWYG, no moving of points on the screen with the mouse, nothing fancy. Very elementary, and the reason why I made the plugin is that I may need affine maps later in my project, and certainly I need similarity maps.

2. Transforming a line figure by a transformation constructed from a Bézier arc. This is new, to me at least. The path to be transformed is what I call a line figure: a path consisting of straight line segments (for example a lattice or a grid). The transformation is in a certain manner constructed from a user-supplied Bézier arc (a path with two anchors). A different arc will give a different transformation. This all I shall explain in detail in a later post.

A3. Deforming a polyline, segment by segment, with a transformation as in number 2. (Actually I call the deforming "curling".) Number 3 is just a variation of number 2.

Of the three I expect number 2 to be the only one interesting. (But then when I ever try to guess what people will find interesting, I go astray. Perhaps I should only say that to me number 2 is the only interesting.) What I myself have in mind is that the code of this plugin will serve as the body where I shall add an approximation algorithm (don't know yet how). Number 1 does nothing new, and number 3 is ..., well, I doubt if it is worth publishing after all, and perhaps it will be removed in later versions.

To get the plugins, go to

http://kmarkku.arkku.net/Path_transforma...aster.html

and scroll down to the bottom. There is a Download button, and it gives you a .zip file containing one file path_transformations.py. Put the .py file in your Gimp's plug-ins folder and restart Gimp. That registers three plugins in your Gimp. They can be invoked in Gimp's Paths tab: right-click the path you want to transform, and at the bottom of the opening window follow

Tools > Transformations > ...

and you will see three plugins to choose from. You can try them right away, but I am going to make explanatory posts of each soon. For the affine maps it will appear today. The rest will follow in a week.

Print this item

  script/plugin to automate arrow with label ??
Posted by: denzjos - 04-21-2020, 04:34 PM - Forum: General questions - Replies (3)

I wonder if there exist a plugin/script that draw an arrow with label on a path ? (for gimp 2.10.18)

Example : 

   

Thank you in advance

Print this item

Smile Dealing with a PSD file
Posted by: jillc - 04-21-2020, 03:53 PM - Forum: General questions - Replies (5)

I have had a file sent to me, but I am having problems opening it on Gimp. It was originally a PSD file, which I put through a PSD convertor and I saved it as a PNG file. But when I open it, all I get is the front picture, there are no individual files in it? Is there a way around this, or does Gimp have problems reading this sort of file? Thanks.



Attached Files Thumbnail(s)
   
Print this item

  Wilber is everywhere : Egyptian hieroglyphs
Posted by: tmanni - 04-21-2020, 10:23 AM - Forum: Gallery - Replies (2)

   

source images:
wikimedia
gimp.org

Print this item

  How do I create a "portal circle" from image?
Posted by: AngelUnit01 - 04-21-2020, 06:24 AM - Forum: General questions - Replies (7)

Hey everyone, new here to the forum but have been using Gimp for 17 years (since I was 13)


I hope this is the right place to pose this question.

I had recently stumbled across a Photoshop tutorial (I know, taboo and heretical) but it displays how to create a square image and turn it into a specific style of a circle.

Normally that would be pretty easy, but it's the way the end product looks that I'm having trouble achieving in Gimp even with G'MIC. And it's been driving me crazy.

This is the video, the content I'm speaking on begins at 1:02 and ends at roughly 2:30

I'll attach an image to the sort of final result. It began as a square picture of some clouds that turned into an inward circle and I've been wracking my brain as to how I can achieve that effect in The Gimp.


Can anyone help me with this? Suggestions? Tips? Tutorials? Anything? (Again I'm new so I'm unsure if this is, in fact, the right place to be asking questions regarding tips and techniques inside of The Gimp but it seems to be from the other threads I noticed)

Thank you all so much for your time and help! I have some wild ideas I'd love to try if I can get this circular portal looking shape down.

Warm Regards,
AU:01



Attached Files Thumbnail(s)
   
Print this item

  Minimizing image extents
Posted by: bhack - 04-20-2020, 08:16 PM - Forum: General questions - Replies (2)

Is there a way to reduce the "physical" size of an image to bring the margins in so that's it the minimum size to show everything?  I am converting stamps and signatures (separately) from CAD to jpeg.  The sheet size i'm using Letter (8.5x11).  I used GIMP's Bimp plugin to to a batch image manipulation on the stamps to bring them all down to approx. 2"x2", but i have 30 or so signatures which all differ in height and length.  I'd like to reduce each signature image from Letter down to as small as possible, getting rid of all the empty white space.

I'm new to GIMP and am using v2.10.18


Well, can't figure out how to delete this thread. After poking around, i found the Image > Crop to Content command, which is exactly what i need. Anyone know how to batch this? It's not available in the Bimp add-on.

Print this item

  how do I feather the cut when I cut out a path?
Posted by: petedecember - 04-20-2020, 06:48 PM - Forum: General questions - Replies (3)

Greetings folks--
When I cut out something from a picture, say a person, I want to feather the edges so it looks a little more natural.  Does anyone have any idea how to do that?  Currently I am using a path to do the cut, although I would be open to other suggestions.
Thanks in advance for you help.

Print this item