One specific G'Mic setting no longer working (black and white>colorize lineart [propagation])

Hello! I’ve been using the g’mic colorize lineart [propagation] filter to create quick flat colors under linework for a few years, and it’s a hugely helpful part of my workflow. This following problem happens in both 5.1.0 and 5.1.1. For the past month or so, when I try to use it, I get the following error:

*** Error in ./fx_colorize_lineart/*local/ *** Command ‘watershed’: [instance(2000,2000,1,3,000002122C7A1040,non-shared)] gmic::watershed(): image instance and specified priority (1447,1866,1,1,000002122F579040) have different dimensions.

This error pops up if I have “input layers” selected as All, Active and above, and Active and below. There is no error if the only input layer is the Active one, but that doesn’t end up making any changes to the image.

The only thing I changed in Krita around this time was importing a brush set. I’ve deleted those brushes to see if they were the problem somehow, but it still gives the same error. I hesitate to downgrade to 5.0 to see if it still works there, since that would require me to manually uninstall Krita first, and I have a few customized brushes I’d rather not lose the settings for - but I’ll do it if it fixes this problem.

No other g’mic filters/settings have had any issues or given me any errors, but I don’t regularly use them.

Using Windows 10 and the latest version of Krita, 5.1.1.

If I can give any other helpful info, please let me know!

Hello and welcome to the forum :slight_smile:

If you change the version of krita, that does not affect your resources beacuse they are stored in a special resources folder that is indepndent of the installed software and is not affceted by the installation process.
Similarly, the configuration and settings are stored in independent files.
This is why you can upgrade the version of krita while not affecting your config/settings and resources.

If you want to try a different version, there is an easier way.
You can use the portable .zip package and these are available for every version of krita and the old versions can be found here:
KDE - Experience Freedom!

In particular, the portable .zip package for version 5.0.6 is here:
https://download.kde.org/Attic/krita/5.0.6/krita-x64-5.0.6.zip

If you can try that and/or other 5.x versions, it would be useful to know what happens.
(When using different versions of 5.x, there may be a notification that the resources database version has been changed but that is nothing to worry about and you’ll have to wait a short time for the resources database to be updated before krita starts fully working.)

Hey!

Thank you for this info :smiley:

I went back to 5.0.6 and the filter works perfectly, just the way I’ve been used to. It looks like there might be something in 5.1.0 and onward that broke this part of g’mic.

I’m curious if anyone else uses this feature and has noticed this same problem. Couldn’t find anything about it online, myself.

Thank you for your help!

It’s good that you’ve found a workaround but the problem is not fixed so my reply is not a solution. There is still a problem in 5.1.1 that needs to be investigated.

I’ll ping @amyspark for this.

Hey,

If you can reproduce it on the nightly 5.1 builds, could you please send us a bug report from inside the app? Go to Help > Report a bug…

I think it’s a bug that should go upstream, as the error comes from inside the G’MIC library. But we need the version information first :smiley:

Not OP and new here.

I’m also getting the same error, Running krita 5.1.3 through steam. I’ve used the filter before but when 5.1 dropped it hasn’t worked.

To my knowledge, every other setting through the G’MIC filter works but this one.

You guys figure anything out about the issue?

Thanks

I haven’t been able to dig into G’MIC affairs these past weeks, so I’ve filed a bug to keep it in mind: 462096 – colorize lineart [propagation] does not work because of a dimensions mismatch

Hopefully I’ll be able to dig into it this week…

3 Likes

Was checking back in and saw that this issue (bug 462096) is labeled as resolved, which is super exciting.

Do you know if this fix will be included version 5.2?

It was fixed at the end of December last year. That may not have been quite in time to get into version 5.1.5. I don’t know.
It should be in 5.2.0 and you can help test it with the 5.2.0 beta-1 that is now available,
Details here:
First Beta for Krita 5.2.0 Released - please help by testing and reporting bugs!

2 Likes

Hi! I just downloaded Krita 5.2.2 for Mac and wanted to give this feature a try and got the same error code:


*** Error in ./fx_colorize_lineart/*local/ *** Command 'watershed': [instance(6150,8250,1,3,0x433d58000,non-shared)] gmic<float32>::watershed(): image instance and specified priority (6150,8253,1,1,0x48887c000) have different dimensions.

I’m using MacOS 14.2.1 on a M1 Mac mini. I’m going to try an older version of Krita and see if this filter works there.

Edit: I submitted a bug report.

1 Like

@amyspark will probably notice the bug report but I’ve pinged her just in case.