0xC0000054 / gmic-8bf

An 8bf filter plug-in that interacts with G'MIC-Qt
MIT License
90 stars 2 forks source link

Multiple-input filter not getting correct data? #10

Closed goodgerster closed 3 years ago

goodgerster commented 3 years ago

Hello,

I'm using gmic-8bf 2.9.6.3 with Photoshop 22.3.0 and gmic-gimp 2.9.6 with GIMP 2.10.22, both on Windows 10, all amd64 builds. I'm trying to use the ‘Colorize Lineart [Smart Coloring]’ G'MIC filter in ‘Extrapolate Color Spots on Transparent Top Layer’ mode. Called from GIMP, the filter works as expected, but from Photoshop, it does not.

I've prepared a test image to demonstrate, with separate lineart and spots. I've also taken screenshots of GIMP and of Photoshop to show exactly how they are set up before I invoke the respective plugins. The result I get from GIMP, and then 8bf, plugins:

Screenshot 2021-03-24 175350 Screenshot 2021-03-24 175404

From what I can see, it seems that the filter is merging the colour spots into the lineart layer, reducing the result to black & white, then running itself on that without any colour information. If I use the Paint Bucket tool to crudely expand the colour spots, then I get this:

Screenshot 2021-03-24 181905

I hope this helps. Thanks for your efforts.

0xC0000054 commented 3 years ago

I am not sure what the problem is, it looks like it may be something with that specific effect. When I run Colorize Lineart [Propagation] it shows the that the layer data is being received correctly from Photoshop.

0xC0000054 commented 3 years ago

It turns out that the 8bf plugin was sending layers to G'MIC-Qt in the opposite order that the GIMP plug-in uses. This was fixed in version 2.9.7.0.

Note that the Colorize Lineart [Propagation] filter outputs multiple images, so you will need to load the final image back into Photoshop.