It is currently 27 Feb 2021, 12:37

Search found 5186 matches

by tim
Yesterday, 21:17
Forum: GIMP Python Fu Scripts/Plug-ins
Topic: Mask-If Plug-in (A Photoshop's BLEND-IF Substitute)
Replies: 3
Views: 125

Re: Mask-If Plug-in (A Photoshop's BLEND-IF Substitute)

UPDATED with version 3 for super speed enhancement.
See code for get_pixel/set_pixel/put_pixel methods using set_pixel_rgn. Very speedy enhancement.
if anyone is looking for set_pixel_rgn then the code in this plug-in allows shows how to set the pixel_rgn since there is no such method.
by tim
Yesterday, 21:16
Forum: GIMP Script Requests
Topic: Blend-If
Replies: 9
Views: 93

Re: Blend-If

UPDATE: Try version 3 of plug-in it's much faster with direct pixel_rgn access.
by tim
Yesterday, 19:29
Forum: GIMP Python Fu Scripts/Plug-ins
Topic: Mask-If Plug-in (A Photoshop's BLEND-IF Substitute)
Replies: 3
Views: 125

Re: Mask-If Plug-in (A Photoshop's BLEND-IF Substitute)

Speed is a pain right now.
Looks like I could use the pixels access logics from http://gimpchat.com/viewtopic.php?f=9&t=10516#p138722
to speed things up...will update when when I have something.
by tim
Yesterday, 19:18
Forum: GIMP Script Requests
Topic: Blend-If
Replies: 9
Views: 93

Re: Blend-If

I would use Colors/Threshold to get a good feel of what/where values are then use those values for the Mask-If. Yeah I don't know how to make preview of what it generates. And currently I don't know how to speed it up. Spinner values don't work because I accidentally put 0 instead of 1 value adjustm...
by tim
Yesterday, 18:35
Forum: GIMP Python Fu Scripts/Plug-ins
Topic: Mask-If Plug-in (A Photoshop's BLEND-IF Substitute)
Replies: 3
Views: 125

Re: Mask-If Plug-in (A Photoshop's BLEND-IF Substitute)

This plug-in could possibly be known as "Smooth Transition Threshold" as it's similar to threshold in that in converts a range of values to white and outside that range to black but also allows for smooth transition.
by tim
Yesterday, 14:26
Forum: GIMP Script Requests
Topic: Blend-If
Replies: 9
Views: 93

Re: Blend-If

For Photoshop's Blend-If like logics, turning everything lower than low-point and anything higher than high-point into
transparent/transparency
you can use this Mask-If Plug-in I just created after watching a youtube video of PS's Blend If function.
by tim
Yesterday, 14:23
Forum: GIMP Python Fu Scripts/Plug-ins
Topic: Mask-If Plug-in (A Photoshop's BLEND-IF Substitute)
Replies: 3
Views: 125

Mask-If Plug-in (A Photoshop's BLEND-IF Substitute)

Asked for Photoshop BLEND-IF plug-in by n3306tx . I watched a youtube video on Photoshop Blend-If tutorial. From what I learned from tutorial is that you can select a low value (which can break into 2 points for soft transitions) and a high value (which can also break into 2 points for soft transit...
by tim
24 Feb 2021, 12:23
Forum: GIMP/GL Questions
Topic: Python fu to convert webp to gif?
Replies: 4
Views: 142

Re: Python fu to convert webp to gif?

When you convert image to indexed all layers get indexed mode...so just indexed should be fine.
by tim
22 Feb 2021, 13:29
Forum: GIMP/GL Questions
Topic: Python fu to convert webp to gif?
Replies: 4
Views: 142

Re: Python fu to convert webp to gif?

The first parameter (run-mode) isn't used so maybe you're passing in something for that parameter so it's error-ing on that param. I tried it with the below code pdb.file_gif_save2(image,layer,'/home/tim/Desktop/test.gif','/home/tim/Desktop/test.gif',FALSE,FALSE,0,0,FALSE,FALSE,FALSE) and got the "O...
by tim
21 Feb 2021, 01:11
Forum: Anything Goes
Topic: Just built a 5 foot 1x6 shellf in my bed room
Replies: 11
Views: 314

Re: Just built a 5 foot 1x6 shellf in my bed room

Miracle Gro arrived today (from Amazon) and I fed it to the plants
with mg.jpg
with mg.jpg # (49.79 KiB) Viewed 78 times (Thumbnail | Recognize)
mg.jpg
mg.jpg # (119.33 KiB) Viewed 78 times (Thumbnail | Recognize)