Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 4,777
» Latest member: Jamesnex
» Forum threads: 7,593
» Forum posts: 41,393
Full Statistics
|
Latest Threads |
How to make a watermark o...
Forum: General questions
Last Post: kyolim
7 hours ago
» Replies: 5
» Views: 13,902
|
Linux command that does e...
Forum: Other graphics software
Last Post: rich2005
11 hours ago
» Replies: 1
» Views: 276
|
reliable Gimp 2.10.38 dow...
Forum: Older Gimp versions (2.8, 2.6....)
Last Post: denzjos
11 hours ago
» Replies: 2
» Views: 189
|
Batch Color Saturation
Forum: Extending the GIMP
Last Post: rich2005
Yesterday, 07:53 AM
» Replies: 15
» Views: 11,796
|
Photo play-time
Forum: Gallery
Last Post: Ofnuts
Yesterday, 07:32 AM
» Replies: 24
» Views: 21,657
|
BIMP plugin for GIMP 3.10
Forum: Extending the GIMP
Last Post: firefly
09-12-2025, 11:53 PM
» Replies: 2
» Views: 568
|
pl_stroke_arrows GIMP 3.0...
Forum: Extending the GIMP
Last Post: Scallact
09-12-2025, 04:03 PM
» Replies: 0
» Views: 233
|
How do you make text circ...
Forum: General questions
Last Post: rich2005
09-12-2025, 07:18 AM
» Replies: 12
» Views: 3,298
|
New Install, Black Screen...
Forum: OSX
Last Post: akhrameev
09-11-2025, 02:32 PM
» Replies: 3
» Views: 2,967
|
Trouble changing backgrou...
Forum: General questions
Last Post: tomatoSauce23
09-11-2025, 12:50 PM
» Replies: 6
» Views: 1,478
|
|
|
Cleaning out old xcf files |
Posted by: Yumi - 02-13-2018, 12:40 AM - Forum: General questions
- Replies (2)
|
 |
Over the year a lot of xcf files have accumulated on the hard disk. Sometimes the names do not make sense, I do not know which file to delete.
Am using Gimp on Linuxmint and in the file browser it does not show miniature images. I have to open each file with Gimp to see what it contains and then delete it or not.
Question: Is there a viewer for xcf file format to quickly get an idea of the image and decide if to delete or not?
|
|
|
Gimp Shutdown |
Posted by: Pageplayer - 02-12-2018, 05:27 PM - Forum: Installation and usage
- Replies (2)
|
 |
Long time user of Gimp.. But it recently started acting up. I have reinstalled in hopes of fixing the issue, but that didn't help.
While using the program, after about 10-15 minutes, It stops.
Event Viewer says
Faulting application name: gimp-2.8.exe, version: 2.8.22.0, time stamp: 0x00c9b800
Faulting module name: GROOVEEX.DLL, version: 16.0.4546.1000, time stamp: 0x5911c6c5
Exception code: 0xc0000005
Fault offset: 0x000000000000dc50
Faulting process id: 0xffc
Faulting application start time: 0x01d3a423bfec5714
Faulting application path: C:\Program Files\GIMP 2\bin\gimp-2.8.exe
Faulting module path: C:\PROGRA~1\MICROS~4\Office16\GROOVEEX.DLL
Report Id: ba308768-1018-11e8-8510-d89d67c61080
|
|
|
beautify plugin ! i can not install it! |
Posted by: QUARLEAP - 02-12-2018, 03:22 PM - Forum: Extending the GIMP
- Replies (6)
|
 |
i cannot install (not viewed in the filters or scripts list) beautify plugin even i did all what the owner said in read file . ! and the owner did not answer on github ,,Or, in the truest sense, forgotten, because it has been a long time ..
|
|
|
Best way to bucket fill ink drawing? |
Posted by: southofmotown - 02-12-2018, 12:26 PM - Forum: General questions
- Replies (3)
|
 |
I scan a black ink drawing on white paper. If I'm using a bucket fill, what are the best settings so that the black lines are preserved and dominant? Normally I don't have any problem - I just make sure the lines as thick and dark before I scan. However, on my most recent drawing, the bucket fill swallowed up the lines more than normal - I can only guess that my settings were somehow changed (unbeknownst to me) from what I am used to. I usually just set the bucket threshold to 90 and it does a pretty good job. Thanks for any suggestions!
|
|
|
New camera text scan cleanup plugin |
Posted by: udif - 02-12-2018, 01:13 AM - Forum: Extending the GIMP
- Replies (2)
|
 |
Hi,
I wrote a C based GIMP plugin to cleanup text scans done with a camera.
Some of these scans, esp. of books tend to have darker and lighter areas on the page , and these don't work well when you try to use a thresholding tool on your text.
The plugin I wrote find the background level dynamically for each small part of the picture, by dividng the picture into squares whose radius is the inner_level parameter. For each square, the average level is calculated on a square whose radius is the kernel_size parameter (and is larger than the inner_size). A histogram is made o all the pixel values within the kernel area, and the most popular one is assumed to be the background level.
The next darker histogram peak is assumed to be the text color, and any pixel brighter than the text brightness (plus the threshold adjust) is squashed to white.
The result is the original text in its original brightness, plus a full white background, suitable for printing.
I forgot to add that the filter first converts everything to grey scale.
The plugin is in: Gimp-clean-text-photos
(Sorry, binaries are windows-only (x86), but full source code is provided).
Demo picture taken from here:
https://pxhere.com/en/photo/745068
Original Photo
Using GIMP threshold tool :
You can easily see that even if you let part of the picture become black, some other section is still too bright.
No global threshold level across all the picture can separate all the text from the background.
Using my plugin (Using a kernel size of 40, inner size 3, and threshold ajust is -12).
Increasing the kernel size increases the are over which the averaging is made, You want it to be at least as large as the text rows height so that the dark letters will never become the majority pixels instead of the background.
Increasing the inner_size makes things faster since more pixels are calculated for each square,
Changing the threshold_asjust controls the offset from the 2nd histogram peak, effectively turning this to a brighness control.
I used it to clean up hundreds of text scans done using a simple pocket camera of open books where some of the pages are darker or have shadows. The objective was to get pictures that have a white background duitable for printing on a B/W laser printer, without losing text clarity.
Hope you find this useful.
|
|
|
Trouble with vector input for polygon selection |
Posted by: ss32 - 02-11-2018, 09:57 PM - Forum: Scripting questions
- Replies (2)
|
 |
I'm writing a plugin to call python-fu-heal-selection with inputs of the file and the points defining the polygon selection, but cannot get the polygon selection to work. I have tried using the square polygon select and it works fine, but the generic polygon selection does not accept my input; what's wrong with my script?
Code:
(define
(heal-select points point_count)
(let*
(
(image (car (gimp-file-load RUN-NONINTERACTIVE "tmp.jpg" "tmp.jpg")))
(active-layer (car (gimp-image-get-active-layer image)))
)
;(gimp-image-select-rectangle image CHANNEL-OP-ADD 122 67 138 81)
(set! active-layer (car (gimp-image-get-active-layer image)))
(define path-points (list->vector points))
(gimp-image-select-polygon image CHANNEL-OP-ADD point_count path-points)
(python-fu-heal-selection RUN-NONINTERACTIVE
image
active-layer
3
0
1)
(display points)
(gimp-file-save RUN-NONINTERACTIVE image active-layer "tmp2.jpg" "tmp2.jpg")
(gimp-image-delete image)
)
)
With the command line input:
Code:
gimp -i -b "(heal-select '(122. 67. 138. 67. 138. 81. 122. 81. 122. 67.) 5)" -b "(gimp-quit 0)"
I have tried removing '(define path-points (list->vector points))' and passed it the points as #(1 2 3 4) and still get an error message hinting at the fact that the polygon isn't closed or is empty.
|
|
|
|