Welcome, Guest |
You have to register before you can post on our site.
|
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
2 hours ago
» Replies: 1
» Views: 40
|
edit_paste pastes at inco...
Forum: Scripting questions
Last Post: class43
Yesterday, 03:48 PM
» Replies: 2
» Views: 129
|
CMYK color mode Gimp 2.10
Forum: Extending the GIMP
Last Post: rich2005
Yesterday, 12:13 PM
» Replies: 20
» Views: 82,211
|
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,650
|
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,857
|
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
|
|
|
Plugin for rectifying/fixing-up scanned documents |
Posted by: einpoklum - 04-25-2020, 08:38 AM - Forum: Extending the GIMP
- No Replies
|
 |
I'm a newbie when it comes to GIMP plugins. GIMP itself I've been using occasionally for many years, but never really got deeply into it.
I have the habit of scanning official documents I get on paper. After scanning, what I typically do is open up GIMP to some rotation, work on levels, rotating and choosing a format and compression for saving the file. In very rare cases I feel confident enough to use distortion transformations on the page, myself, but am usually unsatisfied with the result.
Recently, I've been positively impressed by the semi-automatic rectification + other fixup work you can get on your scans with gratis (but non-free) mobile phone apps like CamScanner. This got me thinking that perhaps such functionality has been made available in GIMP via plugins.
So, here's the overall list of actions I'm interested in (with the first being the most important):
- Rotate the image to make sure the text is straight up and that what seem like rectangular region borders are indeed rectangular and parallel to the edges
(Perhaps with prompts for the user to verify which regions to rectify).
- Page crease artifact removal.
- Figure out the page boundaries
- Crop to the page boundaries (or a little further than that, for uniformity with other pages in the same sequence of scans)
- Adjust levels, to try to get the text to be black, its surrounding gradient to the background not too jagged nor disappear, and the background be white with most noise becoming white.
- Stain/spot removal.
- Avoid the level adjustment for regions such as photos printed on the page (which might get their own level adjustments) - and don't take the histogram for these regions into account for the rest of the image
- Detect cases of significant local non-grayscale content; decide whether to make the whole image grayscale if these don't exist; make sure these don't become to "garrish" due to level corrections, e.g. by playing with their saturation after a global levels transformation.
there might be more I suppose.
Please don't suggest I write my own. That may be relevant in theory, but will not happen in the foreseeable future. :-(
PS - Also posted a similar question on http://softwarerecs.stackexchange.com .
|
|
|
How can a I make a palette colour transparent? |
Posted by: Vascillious - 04-24-2020, 06:15 PM - Forum: General questions
- Replies (5)
|
 |
I have an indexed colour-mode picture. I am trying to rotate lots of little pieces of it. They all need to be rotated by 180 then returned to their original locations. It is very laborious.
The process I am using it to elliptically highlight each little image inside the circle it appears in, then rotate it on the spot.
I have many problems causing to take far longer than I'd like.
One of them is that when I rotate an image on the spot it is sometimes no longer exactly where I'd like after it's rotated, so after the 180 degree rotate I then have to Move transform.
This is fine but hard to arrange each little symbol inside it's circle when it was nearly touching the sides before, any white I have selected overwrites the background. It would be better if I could select, rotate, move and paste with transparency so if I move the symbol close to its boundary the white area I have picked up with it doesn't overwrite the black background it's in.
I tried to set the white colour to transparent. When I do this is works until I have finished one manipulation and then want to flatten the image. When I do the transparent white becomes white again and I have to start the process again.
Can I just swap white in the palette for transparent so this doesn't happen? Or can I stop Gimp turning the transparent area back to white when I flatten it? Thank you.
|
|
|
possible noob question |
Posted by: Maximus Heronimus - 04-24-2020, 02:20 PM - Forum: General questions
- Replies (6)
|
 |
Hello all, i'm new at this forum,
i'm a person with special needs, and a long term linux user
i'm working at my daycare center with Gimp...
and Due Corona i'm at home as a lot of others
now my question
i've gotten into a 3 layers project...
the goal is getting a giant bunny into a street photo
so i did manage to cut the streets, and sky... and also get the giant bunny in the picture
i've added the alpha layer, did a search on YT and tried erasing the whole part of the sky and vice versa,
i wanted to be more precise and tried the inteligent scissors and that worked even better, and be able to get both sky and street in new layers
also with inverted mode it was a breeze to get both...
but now the part i'm really struggling with..
i cant get the edges exact due to the sometimes inacurate behavior of the intelligent scissors
so i'm kinda bummed out...
what steps do i have to do to make the whole picture better?
thanks a lot !
|
|
|
Transparent color |
Posted by: hendrikbez - 04-24-2020, 09:43 AM - Forum: General questions
- Replies (8)
|
 |
I have this image, that I want to make the blue color about 20 % or More transparent, so that you can see thru the color.
I tried the "Color to alpha" option in GIMP, but it's not working.
How do i do it.
|
|
|
Unbound variable floating-sel Help! |
Posted by: Pocholo - 04-23-2020, 07:57 PM - Forum: Extending the GIMP
- Replies (3)
|
 |
Hi fellow GIMP users. I posted the same question @gimpchat.com. I been having an error on the line (gimp-floating-sel-anchor floating-sel) "eval: unbound variable: floating-sel". what should I do. Please explain how can I avoid this error when I write other scripts. Thank you in advanced.
Code:
(define (script-fu-create-heart)
(let* (
(img (car (gimp-image-new 500 500 RGB)))
(layer (car (gimp-layer-new img 500 500 RGB-IMAGE "Background" 100 LAYER-MODE-NORMAL)))
(theheart (car (gimp-layer-new img 500 500 RGB "Heart" 100 LAYER-MODE-NORMAL)))
)
;Create the Background
(gimp-image-undo-disable img) ; Disable undo during the image creation
(gimp-image-insert-layer img layer 0 0)
(gimp-context-set-foreground '(000 000 00))
(gimp-drawable-fill layer FILL-FOREGROUND)
;Create the heart layer
(gimp-image-add-layer img theheart -1)
(gimp-layer-add-alpha theheart)
(gimp-drawable-fill theheart FILL-TRANSPARENT)
;Create the heart image
(gimp-image-select-ellipse img 2 60 105 385 285)
(gimp-image-select-rectangle img 1 30 50 440 200)
(gimp-image-select-ellipse img 0 58 143 385 215)
(gimp-context-set-foreground '(221 0 0))
(gimp-drawable-edit-fill theheart FILL-FOREGROUND)
(gimp-item-transform-rotate theheart 45.00 TRUE 250.50 268.00)
(gimp-floating-sel-anchor floating-sel)
(gimp-image-undo-enable img)
(gimp-display-new img)
|
|
|
Using a Python-Fu script outside GIMP |
Posted by: Leodip - 04-23-2020, 07:02 PM - Forum: Extending the GIMP
- Replies (4)
|
 |
I have an image with 5 placeholder texts, and I've written a python function (I just copy-paste it in the console and then call it as needed) to change those texts and automatically export the image with a custom name. It works great, but I was planning on using the same function without needing to open GIMP at all.
Is there a way to make my script autonomous from GIMP?
|
|
|
My pupils can't paint |
Posted by: TeacherEm - 04-23-2020, 09:05 AM - Forum: General questions
- Replies (3)
|
 |
Hello, I'm a teacher currently in online teaching mode because of current world events.
I thought since Gimp 2.10.8 comes preinstalled on our pupils computers I'd have them use it for art class. But many of them can't paint. Not using the mouse, nor the pencil that comes with the computer, nor by the touch screen.
Things I have tried:
Have them select all
Have them create a new layer
Check tool color, opacity, size and the actual brush
Check the dynamics settings
Reset tool settings
Restart
I had a pupil share screens with me so I could locate the issue but I could not find it, and it has not happened to me even though I'm on the same kind of computer as they are.
What I noticed when I looked at their screen was that when the left mouse button is pressed down the preview-ring showing where the tool is located gets stuck and will not move when the pupils then continue to move the mouse around.
Some pupils reported they can paint with the mousepad but not with the pencil for the computer.
Anyone have any ideas?
|
|
|
|