https://bugs.kde.org/show_bug.cgi?id=456463

            Bug ID: 456463
           Summary: [GMIC/Stylise] Krita inverts the way layer are sorted
                    for GMIC between 5.0.x and 5.1betas
           Product: krita
           Version: nightly build (please specify the git hash!)
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: G'Mic for Krita
          Assignee: krita-bugs-n...@kde.org
          Reporter: i...@davidrevoy.com
  Target Milestone: ---

Hi, 
I recently made many landscape from photo using the GMIC filter "stylise". It's
an amazing filter that apply the style of a picture into another one. For that,
this filter require two input layers: the "target photo" and the "style".  I
saw in recent 5.1beta, the layer are inverted and it makes working with this
filter more difficult (and also impossible to make a tutorial about it).

To reproduce:
===========
Resources:
- Download the castle "target photo" :
https://upload.wikimedia.org/wikipedia/commons/e/e8/Neuschwanstein_Castle_LOC_print_rotated.jpg
(CC0/public domain)
- Download the watercolor "style" :
https://upload.wikimedia.org/wikipedia/commons/thumb/f/f1/Cox-Jnr-98092_-_Hever_Castle_-_circa_1850.jpg/1280px-Cox-Jnr-98092_-_Hever_Castle_-_circa_1850.jpg
 (CC0/public domain)

1. Open the "target photo" in Krita.
2. Drag'n'Drop the "style" file over the canvas, and insert it as a paint
layer.
3. Select the layer of the bottom "Background" with the "target photo"
4. Call Filter > GMIC panel, and apply filter Artistic > Stylise
5. In "Input Layer" (bottom of the filter options) select All (or other
options).

Result (with short videos showing it):
==============================
* For 5.0.5 :
https://www.peppercarrot.com/extras/temp/2022-07-07_23-34-31_krita50x_styliseGMIC.mp4
 → The "Target Photo" (Background Layer selected/active) is registerd by GMIC
as the target image, and the "style" is also the top layer watercolor. The
filter works fine.
* For 5.1beta2 :
https://www.peppercarrot.com/extras/temp/2022-07-07_23-34-31_krita51beta2_styliseGMIC.mp4
→ The "Style" will be registered by GMIC as the target of the effect, and the
bottom layer (the castle) will be registered as the "style". This is inverted
and unexpected.

Expected:
========
Having "Input Layers: All" working as on 5.0.x, or geting the option "Active
and Below" and "Active and Above" working so it is possible to setup the
"target photo" and the "style" more easily and less randomly.

Hardware and Spec:
================
2022-07-07_14h35__krita-5.1.0-beta2-683fd6b90b-x86_64.appimage
Fedora 36 KDE. Mesa 
GPU: AMD ATI Radeon RX 5500/5500M / Pro 5500M
CPU: AMD Ryzen 7 3700X (16) @ 3.600GHz
VM: Kwin/X11
DE: KDE Plasma 5.24.5
Krita Version: 5.1.0-beta1
Qt version compiled: 5.12.12, loaded: 5.12.12.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to