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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,355
» Latest member: Raymondoxipt
» Forum threads: 6,662
» Forum posts: 36,306

Full Statistics

Latest Threads
Darktable Images Opening ...
Forum: Windows
Last Post: sallyanne
10 hours ago
» Replies: 2
» Views: 91
[SUGGESTION] Improved uni...
Forum: General questions
Last Post: Ofnuts
Yesterday, 09:48 PM
» Replies: 4
» Views: 158
Currently Active Image
Forum: Scripting questions
Last Post: Ofnuts
Yesterday, 09:32 PM
» Replies: 3
» Views: 153
Getting active image and ...
Forum: Tutorials and tips
Last Post: Ofnuts
05-02-2024, 07:32 AM
» Replies: 0
» Views: 120
python-fu pdb.file_exr_sa...
Forum: Scripting questions
Last Post: JBreckeen
05-01-2024, 03:12 PM
» Replies: 0
» Views: 102
Threading / Loops in Pyth...
Forum: Scripting questions
Last Post: JBreckeen
05-01-2024, 02:46 PM
» Replies: 14
» Views: 1,455
how do i erase blue penci...
Forum: General questions
Last Post: rich2005
05-01-2024, 07:21 AM
» Replies: 1
» Views: 122
Align Tool: Distribute ta...
Forum: General questions
Last Post: akn_39
04-30-2024, 10:08 PM
» Replies: 3
» Views: 3,143
Script Collection Online
Forum: Scripting questions
Last Post: rgbellotti
04-30-2024, 01:35 AM
» Replies: 1
» Views: 436
creases
Forum: General questions
Last Post: Ofnuts
04-29-2024, 02:22 PM
» Replies: 13
» Views: 565

 
  Post your GIMP splahes
Posted by: PixLab - 08-20-2023, 04:27 AM - Forum: Gallery - Replies (11)

I was toying around, then I got some delirium tremens ...
the luminescent snail was AI generated (not mine)
Yeah... I know.... my ego is overwhelming me Big Grin Big Grin

   

Print this item

  Stretch out image section at an angle
Posted by: c4cc - 08-19-2023, 05:07 PM - Forum: General questions - Replies (2)

Credit to @PixLab for teaching me Liquid Rescale, a useful editing tool indeed:






Here, I'd like to stretch out this character's lower torso as shown without messing up the pic, how do I do so using either Liquid Rescale, or any simpler alternatives?

https://ibb.co/WWyz3z1

[Image: kurumii.png]

Print this item

Photo Stretch part of image at angle?
Posted by: c4cc - 08-19-2023, 05:01 PM - Forum: General questions - Replies (11)

Credit to @PixLab for teaching me Liquid Rescale, as per his tutorial:

https://www.youtube.com/watch?v=WFT1cnZomLM

Now, how do I use Liquid rescale (or any easier alternative methods) to stretch image sections at an angle? Here, I'd like to stretch this character's lower torso as shown out longer, but without messing up the image in any way.

https://ibb.co/WWyz3z1

Print this item

  I would like a special brush
Posted by: Denis - 08-18-2023, 07:40 PM - Forum: General questions - Replies (1)

Hello
Is it possible to create a brush that can pick up 2 colors at a time, allowing a line in which the 2 colors appear separate or mixed in places, depending on the structure of the brush bristles - in fact, exactly as in oil painting?
Such a brush may already exist, but I'm not familiar with it.
Thank you for your advice
sincerely
Denis

Print this item

  Corners, How do I sew in Gimp?
Posted by: AngelH - 08-18-2023, 01:28 AM - Forum: General questions - Replies (11)

Googling my question hasn't given me the answer so I'm wording it differently here.

I want to take a rectangular border.
Transform one by 90 degrees.
Have them meet in the corner.
But then I want the border to look like a border made into a frame.

In other words for those who sew I want it to look like the preview image for this video,
https://www.youtube.com/watch?v=o3twJCHAQfI

But of course with my digital border.
Does anyone know how to do this?

Thank you,
Angel

Print this item

  Image Properties always shows Print Size in mm's
Posted by: AngelH - 08-18-2023, 01:20 AM - Forum: General questions - Replies (2)

The Image Properties Dialogue always shows the print size in millimetres even though I've set the print size to inches and the ppi/inch.

It annoys me to no end as my mind works best with inches.


How do I get it to change this?

Thank you,
Angel

Print this item

  Editing character’s lower torso taller?
Posted by: c4cc - 08-17-2023, 07:55 PM - Forum: General questions - Replies (10)

As in the link attached below, how do I edit this character’s lower torso so it is almost as tall as her upper torso without messing up the whole picture? I want the end result to look as natural as the initial appearance… only that her lower torso is almost as tall as her upper one

file: https://ibb.co/0hSjp6s

Print this item

  Import pdf - how to ensure imported image's print size equals pdf-file's page size?
Posted by: Cattleya - 08-17-2023, 03:37 PM - Forum: General questions - Replies (4)

Questions are:

  1. When importing into GIMP a pdf-file (for exporting as jpg or png or gif), how to ensure that the measurements of the print size of the imported image equal the measurements of the pdf-file's page size?
  2. When importing a pdf-file into in GIMP - how to ensure that displaying the imported image at a zoom-factor of 100% takes an area equal to the pdf-file's page size?

Long story:

I created a pdf-file with pdfLaTeX, packages TikZ/pgfplots/standalone.
A graph of a function, ticks of x- and y-axis are 1 cm apart from each other when displaying at a zoom factor of 100%.
According to document properties in Adobe Reader 9 and in KDE Okular 1.3.2, page size is 12,495 cm x 12,343 cm.
I.e., width of the pdf's page is 12,495 cm and height of the pdf's page is 12,343 cm.

When viewing the pdf-file at a zoom factor of 100% in Adobe Reader 9 or in KDE Okular 1.3.2, then the area on the screen taken for displaying the pdf's page in fact is 12,495 cm x 12,343 cm. (I used a caliper for measuring the area on the screen. ;-) ). Resolution of my monitor is 94 dpi both in horizontal and in vertical direction.
Edit/Preferences/Interface/Display in GIMP 2.10.8 also says that the monitor resolution detected automatically is 94 dpi.

When importing the pdf-file into GIMP (Gnu Image Manipulation Program, 2.10.8), I am asked to give a resolution in pixel/inch.

I expect the following behavior in GIMP:

  1. In any case the print size after importing should be as close to the pdf's page size as possible, 12,495 cm x 12,343 cm.
  2. The measurements of the area on the screen taken by the image displayed at a zoom factor of 100% should in any case also be as close to the pdf's page size as possible, 12,495 cm x 12,343 cm.
Thus the imported image's size in pixels should be calculated so that
[imported image's width in pixels]/[resolution given in pixel/inch]*2.54cm/inch = [width of pdf's page in cm] 
<->  [imported image's width in pixels] = [width of pdf's page in cm] * [resolution given in pixel/inch] * inch/2.54cm 
and
[imported image's height in pixels]/[resolution given in pixel/inch]*2.54cm/inch = [height of pdf's page in cm] 
<->  [imported image's height in pixels] = [height of pdf's page in cm] * [resolution given in pixel/inch] * inch/2.54cm .

E.g., when choosing resolution 100 dpi x 100 dpi, then with the pdf-file in question I expect
[imported image's width in pixels] = 12,495 cm * [100 pixel/inch] * inch/2.54cm = 492 pixel and
[imported image's height in pixels] = 12,443 cm * [100 pixel/inch] * inch/2.54cm = 489 pixel.

E.g., when choosing monitor's resolution, 94 dpi x 94 dpi, then with the pdf-file in question I expect
[imported image's width in pixels] = 12,495 cm * [94 pixel/inch] * inch/2.54cm = 462 pixel and
[imported image's height in pixels] = 12,443 cm * [94 in pixel/inch] * inch/2.54cm = 460 pixel.

But not only the size in pixels varies, but also the print size and the area used for displaying on screen at a zoom-factor of 100% both deviate from the pdf-file's page-size and vary depending on what resolution in pixel/inch you give.

E.g., when at the time of importing the pdf-file I chose resolution 100 dpi x 100 dpi, then according to Image - Image properties 
size in pixels is  490 x 486 pixels and
print size is 12,45 cm x 12,3 4cm.
Displaying with a zoom-factor of 100% takes an area on the screen of size 13,24 cm x 13,21 cm.
Notice that height and width of the imported image in pixels differs from what I expect.
Notice the difference between the print size of the imported image and the pdf's page size.
Notice the difference between the print size of the imported image and the area taken for displaying on screen at a zoom factor of 100%.

E.g., when at the time of importing the pdf-file I chose the monitor's resolution, 94 dpi x 94 dpi, then according to Image - Image properties 
size in pixels is 461 x 456 pixels and
print size is 12,46 cm x 12,32 cm.
Displaying with a zoom-factor of 100% takes an area on the screen of size 12,64 cm x 12,36 cm.
Notice that height and width of the imported image in pixels differs from what I expect.
Seems, when giving the monitor's resolution for the pixels/inch-resolution, then both the print size of the imported image and the area taken for displaying the imported image on screen at a zoom factor of 100% are very close to the pdf's page size.

The differences in print sizes with the imported images and the deviating of print sizes of imported images from the pdf's page size show that importing the pdf into GIMP goes along with stretching the image horizontally and vertically.
That stretching seems to depend on the resolution in pixel/inch specified at the time of importing the pdf-file into GIMP. 
That stretching causes with the exported jpg distance of the ticks on the x- and y-axis of the graph of the function not being 1 cm any more.

Also, the print size of the imported image does not reflect the measurements of the area taken for displaying the imported image at a zoom-factor of 100%, although GIMP seems to have proper information about the monitor's resolution.

Print this item

  Blending Layers
Posted by: bcripps - 08-16-2023, 03:05 PM - Forum: General questions - Replies (6)

   
   
Hey Gimpers:
Is there a way to blend two layers with out using Opacity?
I want to see the flames through the image of the girl without dropping her opacity to 70%; e.g. like holding two transparencies up to the light.
Much thanks…
Bry

Print this item

  updating documentation
Posted by: jacques_duflos - 08-15-2023, 04:50 PM - Forum: Scripting questions - Replies (3)

Hi there,
I sometimes bump into inconsistencies in the python script documentation (or things that look like so to me, I'm not at all an expert). 

Here is an example : the gimp_image_insert_layer's documentation displayed in the python procedure navigator is :

Quote:This procedure adds the specified layer to the image at the given position. If the specified parent is a valid layer group (See 'gimp-item-is-group' and 'gimp-layer-group-new') then the layer is added inside the group. If the parent is 0, the layer is added inside the main stack, outside of any group. The position argument specifies the location of the layer inside the stack (or the group, if a valid parent was supplied), starting from the top (0) and increasing. If the position is specified as -1 and the parent is specified as 0, then the layer is inserted above the active layer, or inside the group if the active layer is a layer group. The layer type must be compatible with the image base type.

But specifying 0 as parent returns an error
Code:
➤> img=gimp.image_list()[0]
➤> layer = pdb.gimp_layer_new(img, 100, 100, RGB_IMAGE, "layer", 100, 0)
➤> pdb.gimp_image_insert_layer(img, layer, 0, 0)
Traceback (most recent call last):
 File "<input>", line 1, in <module>
TypeError: wrong parameter type
➤>


after struggling a little, I found out that you should use None instead of 0
Code:
➤> img=gimp.image_list()[0]
➤> layer = pdb.gimp_layer_new(img, 100, 100, RGB_IMAGE, "layer", 100, 0)
➤> pdb.gimp_image_insert_layer(img, layer, None, 0)
➤> img.layers
[<gimp.Layer 'layer'>, <gimp.Layer 'Arrière-plan'>]
➤>
From my point of view, the documentation should be modified (correct me if I'm wrong).
It's not a bug as such, but maybe it would be useful to report it through the bug report procedure ?

Print this item