| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
GIMP 3.04 opens with wind...
Forum: Windows
Last Post: subbareddy
7 hours ago
» Replies: 7
» Views: 3,647
|
Isolate, select and copy/...
Forum: General questions
Last Post: rich2005
Yesterday, 04:39 PM
» Replies: 7
» Views: 360
|
"Plug-in crashed" on GIMP...
Forum: General questions
Last Post: skullamrotis
Yesterday, 03:32 PM
» Replies: 4
» Views: 374
|
AIMAGoR - Artificial IMAg...
Forum: Other graphics software
Last Post: vitforlinux
Yesterday, 12:09 PM
» Replies: 23
» Views: 9,800
|
RapidRAW
Forum: Other graphics software
Last Post: denzjos
11-03-2025, 12:51 PM
» Replies: 2
» Views: 200
|
Tutoriel installer Drea...
Forum: Tutorials and tips
Last Post: meric57
11-03-2025, 07:45 AM
» Replies: 0
» Views: 83
|
Nouveau Arrivant sur le f...
Forum: Watercooler
Last Post: meric57
11-03-2025, 06:45 AM
» Replies: 0
» Views: 83
|
Accessing GIMP’s internal...
Forum: General questions
Last Post: rich2005
11-02-2025, 12:35 PM
» Replies: 1
» Views: 178
|
Can't find path plug-in
Forum: General questions
Last Post: programmer_ceds
11-01-2025, 04:47 PM
» Replies: 7
» Views: 475
|
Gimp shows blank black sc...
Forum: Windows
Last Post: rich2005
11-01-2025, 09:01 AM
» Replies: 1
» Views: 180
|
|
|
| Export Image Properties Comment Default |
|
Posted by: SomeUser - 02-03-2022, 02:50 PM - Forum: General questions
- Replies (4)
|
 |
Hi, All,
I've tried searching both online and in the forums for how to do this, so I'm sorry if it's been answered and I'm not clever enough to figure out how to find what I'm looking for.
Seemingly at Random, when exporting an image as JPEG, I get this:
![[Image: screenshot-from-2022-02-03-07-41-31.png]](https://simplifyaddlightness.files.wordpress.com/2022/02/screenshot-from-2022-02-03-07-41-31.png)
I would like to know how to turn this off. I attempted to remove the default comment ("Created with GIMP", in Edit->Preferences, Default Image, Comment). I used the "Save Defaults" feature on the dialog itself (which I admit, I'm not sure if I have to then load the defaults, but that seems counterintuitive to the term default).
Occasionally, I have found the export also exports a title property that I also cannot figure out how to remove.
Can someone please explain how I can remove these things. I'm fine with a "from here forward" sort of solution (I recognize the images I open may have this stored somewhere already), but I would prefer not having to deal with this. It's sporadic, but frequent enough to send me down the rabbit hole and annoying enough to cause me to create a topic here.
Thanks.
|
|
|
| Removing unwanted color, make just b & w |
|
Posted by: carljong - 02-03-2022, 11:19 AM - Forum: General questions
- Replies (6)
|
 |
Is there an easy way to make a photo of sheet music just black and white? I've been working on pages, using Color > Curves and this one turned out with yellow. I've tried a few suggestions on the internet, but no luck. Seems it should be simple.
I tried attaching my photo but keep getting an error.
Thanks
|
|
|
| Can GIMP make a GIF Shake? |
|
Posted by: Mark2855 - 02-03-2022, 12:39 AM - Forum: General questions
- Replies (2)
|
 |
Like, in a GIF with 20 frames, morphing from a dog to a cat,
both the First and Last frames might show for one entire second.
I'd like Frames 2 thru 19 (each for 0.1 seconds) to "shake", like in an earthquake.
Can GIMP make that happen?
Thanks, people.
|
|
|
| Preference for "Save to Channel" command Channel Color |
|
Posted by: EwertonMoreira - 02-02-2022, 09:32 PM - Forum: General questions
- Replies (4)
|
 |
Is it possible to change the color of the Channel created using the "Save to Channel" command?
I found a setting in the file gimprc that controls the color of the Channel created using the command New Channel but it does not work to the "save to channel" command.
(channel-new-color (color-rgba 0 0.8 0.1 0.4))
Thanks
E
|
|
|
| Batch command |
|
Posted by: Newbie - 02-02-2022, 12:08 PM - Forum: General questions
- Replies (3)
|
 |
I am trying to wrap my head around the batch command but i am not getting results. Where i can find a good guide i can follow?
|
|
|
| installation problem |
|
Posted by: cecilia - 02-02-2022, 07:24 AM - Forum: OSX
- Replies (2)
|
 |
I am working on an iMac with OS Sierra (not High Sierra). Although purchased in 2011 the computer was built in 2009. I downloaded and installed GIMP but although it told me it had installed successfully and on launch the icon appears in the dock, it only shows for about five seconds and then vanishes.
I'm keen to explore GIMP, and wonder if this situation has a remedy?
cecilia
http://www.duckpondpress.please.no.advertising
|
|
|
| Why does GIMP change the BPP ? |
|
Posted by: Mark2855 - 02-01-2022, 06:15 PM - Forum: General questions
- Replies (5)
|
 |
Using GIMP 2.10.28, I opened 12 images, to make a GIF.
Each of the 12 pictures is 1920 x 1200 pixels, at 24 BPP.
When I export it as a GIF, the GIF ends up being only 8 BPP.
That makes it more pixelated / less clear.
Why does it do that? How to make it maintain the 24 BPP?
Thanks, people.
Mark2855
|
|
|
| Python Plugin from .bat |
|
Posted by: Eonwe - 02-01-2022, 01:51 PM - Forum: Extending the GIMP
- Replies (4)
|
 |
Hello Folks,
I am trying to call a Python Script from a Windows batch file, but somehow I can't get it to work. All I ever got was "batch execution failed". I am certain that the problem lies within the .bat file that I use to call the script. Can someone please tell me the right syntax?
Code:
REM switch to GIMP folder
cd C:\Users\wa2378\AppData\Local\Programs\GIMP 2\bin
REM start Gimp
Start gimp-console-2.10.exe -idf --batch-interpreter=python-fu-eval -b "import sys; sys.path=[\".\"]+sys.path;import save2png;save2png.convert(\"sample.xcf\")"
I am pretty sure the problem is with the escaped quotes but I don't know how to change that and I couldn't find a working example anywhere. The example is taken from here and untouched except the modified quotes:
http://gimpchat.com/viewtopic.php?f=9&t=15024
Thanks in advance!
|
|
|
| GEGL graph |
|
Posted by: Pocholo - 01-31-2022, 06:08 PM - Forum: Scripting questions
- Replies (2)
|
 |
I hope I get a fix using the "Gegl" command line pdb.python_gegl(img, wavesLayer, 'noise-solid x-size=16.00 y-size=16.00 detail=15 tileable=0 turbulent=0 seed=0 width=1920 height=1080') from one of the Gegl expert here.
When I use Gegl graph, the procedure work fine and it give me the Solid Noise...
(Click the link to see image)
https://imgur.com/a/kteCJwE
But when I run the plugin it doesn't give me the same result, it just give me the created white layer.
(Click the link to see image)
https://imgur.com/a/69ErYDl
As you see in the code, I used the "gegl Bump-map" (Line 75-76) and this one work with no problem.
But the "gegl Solid Noise" (Line100) there is no action.
Thank you in advance!
This is my plugin code:
Code:
1 When I use Gegl graph, the procedure work fine and it give me the Solid Noise...
2 https://imgur.com/a/kteCJwE
3
4 But when I run the plugin it doesn't give me the same result, it just give me the created white layer.
5 I used the "gegl_command.py" that is made up of paynekj's simpler version.
6
7 https://imgur.com/a/69ErYDl
8
9 #!/usr/bin/env python
10 # -*- coding: utf-8 -*-
11
12 # author: Pocholo
13 # date: 8/18/21
14
15 # Comments directed to http://gimpchat.com
16
17 # Installation:
18 # This script should be placed in the user plugin folder
19
20 # Copyright (C)
21
22 # This program is free software: you can redistribute it and/or modify
23 # it under the terms of the GNU General Public License as published by
24 # the Free Software Foundation, either version 3 of the License, or
25 # (at your option) any later version.
26
27 # This program is distributed in the hope that it will be useful,
28 # but WITHOUT ANY WARRANTY; without even the implied warranty of
29 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 # GNU General Public License for more details.
31 #
32 # You should have received a copy of the GNU General Public License
33 # along with this program. If not, see <https://www.gnu.org/licenses/>.
34
35 from gimpfu import *
36 import os, sys,time
37 import gettext
38 gettext.install("gimp20", gimp.locale_directory, unicode=True)
39
40 def create_a_beautiful_moonlight_scene():
41
42 pdb.gimp_context_push()
43 pdb.gimp_context_set_defaults()
44
45 #Create the sky
46 img = pdb.gimp_image_new(1920, 1080, RGB)
47 Starslayer = pdb.gimp_layer_new(img, img.width, img.height, RGBA_IMAGE, "Small Stars", 100, LAYER_MODE_NORMAL)
48 pdb.gimp_image_insert_layer(img, Starslayer, None, 0)
49 pdb.gimp_layer_add_alpha(Starslayer)
50 pdb.gimp_context_set_foreground((0, 0, 0))
51 pdb.gimp_drawable_fill(Starslayer, FILL_FOREGROUND)
52
53 #Image process
54 pdb.gimp_display_new(img)
55
56 #Create the stars
57 pdb.plug_in_hsv_noise(img, Starslayer, 8, 0, 0, 255)
58 pdb.gimp_brightness_contrast(Starslayer, -80, 50)
59 pdb.plug_in_gauss(img, Starslayer, 0.50, 0.50, 1)
60 pdb.plug_in_sparkle(img, Starslayer, 0.001, 1.00, 20, 4, 15, 1.00, 0, 0, 0, FALSE, FALSE, FALSE, 0)
61
62 #Create the Moon
63 moonLayer = pdb.gimp_layer_new(img, img.width, img.height, RGBA_IMAGE, "Moon", 100, LAYER_MODE_NORMAL)
64 pdb.gimp_image_add_layer(img, moonLayer, 0)
65 pdb.gimp_drawable_fill(moonLayer, FILL_TRANSPARENT)
66 pdb.gimp_context_set_foreground("White")
67 pdb.gimp_image_select_ellipse(img, 2, 810, 75, 306, 306)
68 pdb.gimp_edit_bucket_fill(moonLayer, BUCKET_FILL_FG, LAYER_MODE_NORMAL, 100, 255, FALSE, 0, 0)
69 pdb.plug_in_solid_noise(img, moonLayer, FALSE, FALSE, 0, 15, 0.8, 0.8)
70 pdb.gimp_selection_none(img)
71
72 #Create a texture on the moon
73 pdb.gimp_file_save(img, moonLayer, "C:\\temp\\Moon.png", "Moon.png")
74 moonLayer=pdb.gimp_image_get_active_layer(img)
75 pdb.python_gegl(img, moonLayer,
76 'bump-map aux=[load path="C:\\temp\\Moon.png"] compensate=1 invert=0 tiled=0 azimuth=220 elevation=30 depth=7 offset-x=0 offset-y=0 waterlevel=1.00 ambient=1.00')
77 pdb.gimp_image_select_item(img, 2, moonLayer)
78 pdb.gimp_selection_shrink(img, 6)
79 pdb.gimp_selection_invert(img)
80 pdb.gimp_drawable_edit_clear(moonLayer)
81
82 #Moon glow
83 glowLayer = pdb.gimp_layer_new(img, img.width, img.height, RGBA_IMAGE, "Moon glow", 100, LAYER_MODE_NORMAL_LEGACY)
84 pdb.gimp_image_add_layer(img, glowLayer, 1)
85 pdb.gimp_drawable_fill(glowLayer, FILL_TRANSPARENT)
86 pdb.gimp_context_set_foreground("White")
87 pdb.gimp_image_select_item(img, 2, moonLayer)
88 pdb.gimp_edit_bucket_fill(glowLayer, BUCKET_FILL_FG, LAYER_MODE_NORMAL, 100, 255, FALSE, 0, 0)
89 pdb.gimp_selection_none(img)
90 pdb.plug_in_gauss(img, glowLayer, 150, 150, 1) #method=1
91
92 #Create the sea
93 seaLayer = pdb.gimp_layer_new(img, img.width, img.height, RGBA_IMAGE, "Sea", 100, LAYER_MODE_NORMAL)
94 pdb.gimp_image_add_layer(img, seaLayer, 0)
95 pdb.gimp_context_set_foreground((3, 3, 5))
96 pdb.gimp_drawable_fill(seaLayer, FILL_FOREGROUND)
97 wavesLayer = pdb.gimp_layer_new(img, img.width, img.height, RGBA_IMAGE, "Waves", 100, LAYER_MODE_NORMAL)
98 pdb.gimp_image_add_layer(img, wavesLayer, 0)
99 pdb.gimp_drawable_fill(wavesLayer, FILL_WHITE)
100 pdb.python_gegl(img, wavesLayer, 'noise-solid x-size=16.00 y-size=16.00 detail=15 tileable=0 turbulent=0 seed=0 width=1920 height=1080')
101
102 #Make active the bottom layer and done
103 pdb.gimp_image_set_active_layer(img, Starslayer)
104
105 #Set gimp to default
106 pdb.gimp_context_pop()
107
108 register(
109 "create_a_beautiful_moonlight_scene",
110 "Creates Stars and a Moon",
111 "Creates Stars and a Beautiful Moonlight over a Sea",
112 "Pocholo",
113 "Pocholo",
114 "2021",
115 "Create a Beautiful Moonlight Scene",
116 "",
117 [
118 ],
119 [],
120 create_a_beautiful_moonlight_scene, menu="<Image>/Pocholo-scripts/Beautiful Moonlight scene",
121 domain=("gimp20", gimp.locale_directory))
122 main()
|
|
|
|