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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,262
» Latest member: Mike Barrington
» Forum threads: 6,598
» Forum posts: 35,939

Full Statistics

Latest Threads
Problem with 8bit bmp
Forum: General questions
Last Post: JayR1994
43 minutes ago
» Replies: 3
» Views: 36
AI items does not appear
Forum: Extending the GIMP
Last Post: Ofnuts
1 hour ago
» Replies: 4
» Views: 93
Setting up Darktable in G...
Forum: OSX
Last Post: rich2005
Yesterday, 08:55 AM
» Replies: 2
» Views: 104
Beer belly
Forum: General questions
Last Post: Krikor
03-26-2024, 05:29 PM
» Replies: 13
» Views: 541
Darktable
Forum: Extending the GIMP
Last Post: PixLab
03-26-2024, 10:24 AM
» Replies: 2
» Views: 131
Gimp 2.10 on Debian: Xsan...
Forum: General questions
Last Post: rich2005
03-26-2024, 08:37 AM
» Replies: 2
» Views: 116
Shift-S to resize not wor...
Forum: General questions
Last Post: buzzie44
03-25-2024, 09:54 PM
» Replies: 6
» Views: 161
Stain removal suggestions...
Forum: General questions
Last Post: Krikor
03-25-2024, 08:02 PM
» Replies: 1
» Views: 104
Need help on blending an ...
Forum: General questions
Last Post: poopfeast420
03-25-2024, 03:17 PM
» Replies: 4
» Views: 193
[Feature request] Include...
Forum: General questions
Last Post: denzjos
03-24-2024, 05:01 PM
» Replies: 5
» Views: 163

 
  Optimise for web
Posted by: meetdilip - 11-29-2022, 12:56 AM - Forum: Watercooler - Replies (9)

What is the best image optimisation strategy for WordPress? What size and format do you use?

I am thinking of using images in webp format. Is that a good thing to do? What formats do you use for you blog without making the page heavy?

Print this item

  smart quotes WRONG/unavailable
Posted by: mcsugarfree - 11-27-2022, 03:41 PM - Forum: General questions - Replies (8)

Hi there,

I'm using a font I bought and installed in GIMP 2.10. Generally it's working fine, EXCEPT only "closing" smart quotes are displayed. At the beginning of each set of smart quotes in the text, the smart quotes point in the wrong direction! I checked the font library and the correct smart quotes are def. included in the font, it's just that GIMP doesn't seem to see them or something. See pic below. Halp?

Thanks!



Attached Files Thumbnail(s)
   
Print this item

  Script-Fu levels Newbie Gimp 2.10 Linux MX
Posted by: Anthony Buff - 11-27-2022, 08:31 AM - Forum: Scripting questions - Replies (3)

Hey there!

Newbie here trying to tackle a task above my scope of knowledge. I am trying to change the intensity of the low output levels in a batch of pdf files that are one page each. All I'm trying to do is reduce the amount of black ink used for printing as my printer doesn't have an economy mode.

I created a script in bash that splits the PDFs into separate pages for easy "layer free"/"single layer" editing and have been using bimp successfully but it'll be just great if I could accomplish this with script-fu as it would save me a ton of time.

The attached pic shows the levels setting I'd like to achieve:
[Image: HK9ZtR4.png]

I reviewed the script-fu documentation, googled for hours, watched a tutorial video, used the console and the procedure browser rendered this:

Code:
(gimp-drawable-levels drawable channel low-input high-input clamp-input gamma low-output high-output clamp-output).

Yet I was unable to find working examples online and couldn't replace the variables with their expected values. Since the files have only one layer, Could "Drawable" be "TheCurrentLoadedImage"? (whatever the correct syntax should be to refer to it).

I'd be truly grateful just to see a working example that could run in the console or even better in a bash script that could accomplish such simple task.

Thanks in advance!!!

Print this item

  Imported template size problems
Posted by: Boney Tony - 11-26-2022, 06:41 PM - Forum: Older Gimp versions (2.8, 2.6....) - Replies (2)

Hi,
I've imported PDF templates from (now a selection) of websites then used them to create artwork for a CD booklet, disc and tray card.
The process involves creating the image within the border lines on the template, then flattening the image without the template.
The problem I'm having is that when the artwork is submitted and placed over the same template at the printers end the artwork is now way too small.
In GIMP I have measured the templates against the ruler bars and all is correct. 
Can GIMP be reducing the templates? And if so how come the ruler measurements look ok?
Frustratingly, the tray card template hasn't presented any problems it's just the booklet and disc templates.

Print this item

  So i dont recall things like this so then Adding some vector graphical functionality
Posted by: mzoltan32 - 11-25-2022, 08:49 PM - Forum: Extending the GIMP - Replies (13)

Hi! This is my first post here. I would like to add some vectorgraphical functionalities to gimp (according to my memory its not quite present)
So that i would be able to draw straight lines and then add all these vector lines to the selection (or remove some as an optional things or add others again which were removed or so forth)
So that i could have a subdivide sort of functionality to make a curved line out of these straight linesegments joined. (if the straight line segments weren't joined there should have also a checkbox i would like to add which joins the lines and another wich forms a complete loop.. also working well with concave shapes.

I would like the vectorgraphic lines to blend with the background in forming the line (so that some pixels are more dim but this dimness colour is according to the solid background colour on top of which it was drawn. then have layers like this.

That is all!

is it possible? if so through what? perhaps exclusively through C++ plugins.

Print this item

  Script Fu process questions.
Posted by: DaltonCalford - 11-25-2022, 08:10 PM - Forum: Scripting questions - Replies (1)

I am trying to automate a simple process, but, I am new to script-fu and trying to get my bearings.
I am going to describe what I am trying to do, where I am failing, and perhaps find an example to what I am trying to do.

The Task
I have an image (myimage.xcf) which has a background layer (256 by 256, RGB, background transparancy)
as well as 200 "mask" layers 

The background image is a texture (think carpet or steel image)

The mask layers have two colors - black and white 


The Process
This script need to run against the currently selected image, non-interactively

For each of the mask layers (named mask1, mask2 etc)
 The script will make a copy of the background layer called "current work"
  Using the current mask, it will select by color (black) switch to the "current work" layer and apply the script-fu-add-bevel 
  The script will then go back to the current mask layer and select by color(white), switch to the "current work" layer and delete the selection 
  The script will then export the "current work" to a png file, delete the "current work" layer and repeat the process for the next mask layer.

The Problem

The thing is, while I know I can refer to layers by number, how do I find a layers ID by name ie
While I can use  (gimp-image-get-active-drawable 1) to get the layer number for the currently selected layer, how do I get the layer number for the layer named "background"?
I can set a layer manually at position 0, but, I can't find instructions on how to switch layers based upon position or to switch layers based upon name.

I wish there was a "recorder" process that just created a script that repeated what the user was doing like a macro, but, I can not find such a thing and it is beyond my ability to write it.

Any guidance on how to associate a layer(items) number based upon it's name or it's position in the layer list, would be appreciated.

Thanks in advance

Print this item

  Change 2 colours to 2 different colours
Posted by: KS_ - 11-25-2022, 03:02 PM - Forum: General questions - Replies (5)

Hello to all,

I need to do the following in GIMP but as fast as possible... as I have to make this change in 900 other files.

Attached photo: Photo
I want the dark red colour to be black and the light red colour to be white and in this way I want to convert it to PNG format... 

If I do it myself, with the pencil I have to click pixel by pixel... is there any way to change the colour faster... because to use it in the machine I need... it only allows black and white PNG.

Thanks!

Print this item

  Layer selected for Move Tool but not Scale Tool?
Posted by: Doofer - 11-25-2022, 10:53 AM - Forum: General questions - Replies (2)

Hi there.

I can use the R-click 'Scale Layer' dialogue fine.


However, if I want to use the mouse to scale it, it seems I have selected the layer as I can use the Move Tool, but when I try to use the Scale Tool, it just puts something 1x3 pixels in the image, suggesting I haven't selected the layer.

Video: https://drive.google.com/file/d/1iFgnzOE...sp=sharing

[Image: huh.png]

Print this item

  Brush Dynamics
Posted by: rich2005 - 11-25-2022, 09:37 AM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (5)

Looking at the paint dynamics in Gimp 2.99.14 , both linux from PPA and Windows, there is no Dynamics OFF. Easy enough to make one but I wonder why it is missing ? Is it on purpose or an omission ?

Ah... answering my own question, there is a enable dynamics tick box in the tool options that is not there in Gimp 2.10

Print this item

  PASTEing one Pic into Another
Posted by: gaystan - 11-24-2022, 11:39 PM - Forum: General questions - Replies (3)

Hi everybody :
  I'm still learning my way around GIMP. When PASTEing a photo 
into an "open" photo (setting the inset photo as a layert),  is there a 
way to "unerase" the layered photo when I make a mistake. In other words,
to "fine tune" ERASEing  the inset image to match the outline of the 
base image ?
garystan
document.oncontextmenu = null; document.body.onpaste = null; document.body.onselectstart = null; document.onselectstart = null; document.ondragstart = null; document.body.oncut = null; document.onmousedown = null; document.body.oncontextmenu = null; document.body.oncopy = null; document.body.ondragstart = null; document.body.onmousedown = null;

Print this item