This is an experimental copy for testing Poikilos' issue mirroring system. Note that Gitea's migration tool can import issues, but the "Issues" checkbox is disabled when "This repository will be a mirror" is enabled (it is for this repo).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.5 KiB

# Channel Tools
The remove halo feature is now at:
https://github.com/poikilos/channel_tools.git
## [git] - 2020-02-19
### Removed
- This may have worked after additional fixes. I thought this was the
fault but it apparently was not.
- https://www.youtube.com/watch?v=YHXX3KuB23Q (outdated)
- https://jacksonbates.wordpress.com/2015/09/14/python-fu-6-accepting-user-input/
```python
register(
"python_fu_remove_halo",
"Remove Halo",
"Remove alpha",
"Jake Gustafson", "Jake Gustafson", "2020",
"Remove Halo", # caption
"RGBA", # RGB* would mean with or without alpha.
[
(PF_SPINNER, "threshold", "Minimum alpha to fix", 254, (0, 255, 1)),
(PF_BOOL, "make_opaque", "Make the fixed parts opaque.", True),
(PF_DRAWABLE, "drawable", "Input layer", None),
],
[],
remove_layer_halo,
menu="<Image>/Layer"
)
```
- This kind of register call may be deprecated, even though it matches
the docs.
- https://www.gimp.org/docs/python/index.html
```python
register(
"python_fu_remove_halo",
"Remove Halo",
"Remove Halo (Redo the edge)",
"Jake Gustafson",
"Jake Gustafson",
"2020",
"<Image>/Layer",
"RGBA", # RGB* would mean with or without alpha.
[
(PF_SPINNER, "threshold", "Minimum alpha to fix", 254, (0, 255, 1)),
(PF_BOOL, "make_opaque", "Make the fixed parts opaque.", True),
(PF_DRAWABLE, "drawable", "Input layer", None),
],
[],
remove_layer_halo
)
```