Welcome, Guest |
You have to register before you can post on our site.
|
|
|
Gimp 'Dust and Scratch' |
Posted by: warrentdo - 04-25-2023, 07:02 AM - Forum: General questions
- Replies (4)
|
|
Hello, its a question I have kept asking over the years.
Does gimp have a solution to removing dust and scratches from an image like Photoshop 'Dust and Scratch'?
Regards,
Warren.
|
|
|
I need a gal/guy using the Microsoft's Windows OS |
Posted by: PixLab - 04-24-2023, 03:56 AM - Forum: General questions
- Replies (9)
|
|
Jeeezzz, I would have never ever thought I would say that one day ?
I'm preparing a tutorial, and I just want to see if it's compatible with Windows without me going to some tricky thing for that OS
What I need you to do:
Create a folder, put a little png inside, name it myimage.png
Open CMD or powershell from that folder, or cd in/to it
and input that code (copy paste if you named your png as "myimage.png")
Code:
for i in {00..10}; do cp myimage.png file-$i; done
This code will make 10 copy of your image inside that folder, BUT, and I say BUT, there should be NO extension (like ".png") on the 10 copies, I know that the Microsoft's windows OS is incapable to manage file without extension (maybe in this case it will add the extension automatically? or keep the original one? I don't know)
Case 1:
Windows throw errors as it will not accept to write without extension = no copies > Please report
Case 2:
Windows add an extension automatically or keep the original extension, you have copies with extension with something like "00.png" "01.png" "02.png" etc... > Please report
Case 3: (the one I'm interested in)
Windows does it, even it's not happy, you got the copies WITHOUT extension, but your explorer is not showing the thumbnail, that's OK > your files are named like this "00" "01" "02" etc...
If so > Open GIMP, import all file without extension > as layers > Does GIMP on Windows open them? Please Report
Thank you (you can delete that folder now)
Note: You might think "but what the.. is wrong to have the extension"
- Nothing, but for this very tuto, if it can via terminal I don't have to make some special tricks just for Windows, thus the tuto will be WAY shorter (and yes it's a GIMP tuto even if it sounds strange )
|
|
|
How to apply the same adjustments to multiple images? |
Posted by: ajax - 04-23-2023, 08:10 PM - Forum: General questions
- Replies (7)
|
|
The idea of being able to apply the same post processing operations (i.e., adjustments) on multiple image files is a pretty conventional idea in most post processing software used to manipulate image files. GIMP maintains a history of operations applied to a given file and allows undoing/redoing past operations. However, I haven't found any method to preserve the complete set of operations applied to an image file in such a way that it can be subsequently applied to another file. As best I can tell this is true even when loading multiple image files into the same instance of GIMP.
Have I failed to figure out how to do something that seems like a pretty basic feature that just about anybody would find helpful? In fact, it looks like the only way to do this would require maintaining a separate record of every change applied to an image and then repeating all of those steps. If so this is quite arduous and difficult to be certain about the accuracy in a reliable manner.
|
|
|
Revert to 2.10.32? |
Posted by: david - 04-22-2023, 05:03 PM - Forum: Linux and other Unixen
- Replies (18)
|
|
Ubuntu 20.04
Current version:
GIMP 2.10.34-1build6-ubuntu2004(focal)
Since the recent upgrade to 2.10.34 I have found it unstable - particularly for selections. Today I did a mask to selection and then found it impossible to save the selection to a channel or to exit the display of the mask. I have also found problems using colour invert, a primary blue changed to a pale blue rather than yellow. Certain operations also are very slow compared with the previous 2.10.32 version.
Is it possible to revert to 2.10.32 and retain my Python 2.7 support? (Synaptic only offers 2.10.18 as an alternative.)
I have downloaded gimp-2.10.32.tar.bz2 in case that will be of use.
I would appreciate advice before I make things worse!!!
|
|
|
using python scripts wiht gimp 2.10 flatpak |
Posted by: jacques_duflos - 04-20-2023, 09:16 PM - Forum: Scripting questions
- Replies (3)
|
|
Hi there,
I recently installed ubuntu 22.10 and gimp 2.10 via flatpak. I tried to create a script with python as I was used to on previous installations, but I cant get gimp to acknowledge my scripts. I checked the folders in the preference menu, I had to create the folder because it was not done by the installation for some reason.
here is the script of my .py file
Code:
:~/.config/GIMP/2.10/scripts$ cat clothfy.py
#!/usr/bin/python
import math
from gimpfu import *
have_gimp11 = gimp.major_version > 1 or \
gimp.major_version == 1 and gimp.minor_version >= 1
def python_clothify(timg, tdrawable, bx=9, by=9,
azimuth=135, elevation=45, depth=3):
bx = 9 ; by = 9 ; azimuth = 135 ; elevation = 45 ; depth = 3
width = tdrawable.width
height = tdrawable.height
img = gimp.image(width, height, RGB)
layer_one = gimp.layer(img, "X Dots", width, height, RGB_IMAGE,
100, NORMAL_MODE)
img.disable_undo()
if have_gimp11:
pdb.gimp_edit_fill(layer_one)
else:
pdb.gimp_edit_fill(img, layer_one)
img.add_layer(layer_one, 0)
pdb.plug_in_noisify(img, layer_one, 0, 0.7, 0.7, 0.7, 0.7)
layer_two = layer_one.copy()
layer_two.mode = MULTIPLY_MODE
layer_two.name = "Y Dots"
img.add_layer(layer_two, 0)
pdb.plug_in_gauss_rle(img, layer_one, bx, 1, 0)
pdb.plug_in_gauss_rle(img, layer_two, by, 0, 1)
img.flatten()
bump_layer = img.active_layer
pdb.plug_in_c_astretch(img, bump_layer)
pdb.plug_in_noisify(img, bump_layer, 0, 0.2, 0.2, 0.2, 0.2)
pdb.plug_in_bump_map(img, tdrawable, bump_layer, azimuth,
elevation, depth, 0, 0, 0, 0, TRUE, FALSE, 0)
gimp.delete(img)
register(
"python_fu_clothify",
"Make the specified layer look like it is printed on cloth",
"Make the specified layer look like it is printed on cloth",
"James Henstridge",
"James Henstridge",
"1997-1999",
"<Image>/Filters/Artistic/Clothify",
"RGB*, GRAY*",
[
(PF_INT, "x_blur", "X Blur", 9),
(PF_INT, "y_blur", "Y Blur", 9),
(PF_INT, "azimuth", "Azimuth", 135),
(PF_INT, "elevation", "elevation", 45),
(PF_INT, "depth", "Depth", 3)
],
[],
python_clothify)
main()
some ideas of troubleshooting I can think of :
- this example of python script is very old. Where could I find a more recent one ?
- flatpak is a kind of sandbox isn't it ? is there a complementary operation I should do for gimp to accept to read a .py file ?
- the first line of the code says /usr/bin/python . but my /usr/bin folder does not contain any python file or folder. It contains python3, python3.10, python3-config and other stuffs starting with python3. Is it an issue ?
Any idea someone ?
|
|
|
Easy Way To Generate Random, Secure Passwords On Linux |
Posted by: Tas_mania - 04-18-2023, 01:36 AM - Forum: Watercooler
- No Replies
|
|
There has been a lot of scams and data loss this year. I found this way to make secure passwords on my Ubuntu-based system.
# openssl rand -base64 14
The base64 supports standard keyboards and leaves '=' at the end of passwords. They can be left out is you want.
|
|
|
|