11-19-2024, 01:08 AM
Windows 10
Gimp 3.0.0 RC1
Hi,
I'm looking for volunteer(s) to run this test plug-in. The plug-in creates an image and selects a square polygon at the topleft of the image.
At least that what's it's supposed to do. However, the plug-in will crash while failing to select the polygon. The failure appears to be in the procedure: 'gimp-image-select-polygon'.
I'm willing to report the bug to Gimp.org, but I believe it's a good idea to have some proof before doing so. There's also the possibility that I'm doing something wrong, and someone could point that out.
To install the plug-in copy the folder into a Gimp 3 plug-in folder. After Gimp is restarted, the plug-in will appear on the Gimp window menu under "Development".
Thanks for your attention.
SelectPolygonTest.zip (Size: 1.35 KB / Downloads: 20)
Gimp 3.0.0 RC1
Hi,
I'm looking for volunteer(s) to run this test plug-in. The plug-in creates an image and selects a square polygon at the topleft of the image.
At least that what's it's supposed to do. However, the plug-in will crash while failing to select the polygon. The failure appears to be in the procedure: 'gimp-image-select-polygon'.
Code:
procedure = Gimp.get_pdb().lookup_procedure(
'gimp-image-select-polygon'
)
config = procedure.create_config()
config.set_property('image', image)
config.set_property('operation', Gimp.ChannelOps.REPLACE)
# Define a square of four points
# positioned at the topleft of the image.
config.set_property(
'segs', (0., 0., 250., 0., 250., 250., 250., 0.)
)
procedure.run(config)
I'm willing to report the bug to Gimp.org, but I believe it's a good idea to have some proof before doing so. There's also the possibility that I'm doing something wrong, and someone could point that out.
To install the plug-in copy the folder into a Gimp 3 plug-in folder. After Gimp is restarted, the plug-in will appear on the Gimp window menu under "Development".
Thanks for your attention.
SelectPolygonTest.zip (Size: 1.35 KB / Downloads: 20)