Thu Mar 04, 2021 9:08 pm
Fri Mar 05, 2021 7:21 pm
Sat Mar 13, 2021 6:13 pm
racer-x wrote:I guess it works here in Linux. No idea what to do with the image created however......
Sat Mar 13, 2021 7:12 pm
Sun Mar 14, 2021 4:41 am
File "/media/rich/Data/gimp-2.8-port/plug-ins/pm_create_a_depthmap_image.py", line 46, in pm_create_a_depthmap_image
grayLayer = pdb.gimp_layer_new(img, img.width, img.height, RGB, "Gray selection", 100, LAYER_MODE_NORMAL)
NameError: global name 'LAYER_MODE_NORMAL' is not defined
Sun Mar 14, 2021 7:03 am
Sun Mar 14, 2021 9:06 am
rich2005 wrote:@leftyleo
Not going to work with Gimp 2.8 - the parameters are set up for Gimp 2.10 syntax.
fails here:
- Code:
File "/media/rich/Data/gimp-2.8-port/plug-ins/pm_create_a_depthmap_image.py", line 46, in pm_create_a_depthmap_image
grayLayer = pdb.gimp_layer_new(img, img.width, img.height, RGB, "Gray selection", 100, LAYER_MODE_NORMAL)
NameError: global name 'LAYER_MODE_NORMAL' is not defined
Not difficult to fix, however it does use the gmic plugin and the gmic plugin also has a very comprehensive depth map filter in the Stereoscopic 3D section.
Sun Mar 14, 2021 9:24 am
Sun Mar 14, 2021 9:50 am
rich2005 wrote:Should work: This in my (k)ubuntu 18.04 (same as Mint 19) and Gimp 2.10.14
Usual suspects:
Is the plugin executable ?
Does gimp_gmic_qt work and is it updated ?