Summary: | Gimp image brush file (gih, gbr) with color saves and opens as grayscale | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | apelsinchoklad |
Component: | File formats | Assignee: | wolthera <griffinvalley> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | griffinvalley |
Priority: | NOR | Keywords: | triaged |
Version: | nightly build (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | macOS (DMG) | ||
OS: | macOS | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/04ac88205e1c8cfafebcbd96da8166c18de1738d | Version Fixed In: | |
Sentry Crash Report: |
Description
apelsinchoklad
2021-09-12 02:11:32 UTC
Confirmed, very strange, it seems the layer and the document is an RGB one, but yes, it doesn't load the data as RGB? Git commit eb127330c81d739f636c413c8b63b51d239706c6 by Wolthera van Hövell tot Westerflier. Committed on 19/09/2021 at 14:10. Pushed by woltherav into branch 'krita/5.0'. Interpret gbr/gih brush with application=imagestamp to load with color. Otherwise, the brush image returns a grayscale image, which is useful for using the brush in the engines, but not for loading it as a document. M +3 -1 plugins/impex/brush/kis_brush_import.cpp https://invent.kde.org/graphics/krita/commit/eb127330c81d739f636c413c8b63b51d239706c6 Git commit da4a70a77eb52db06babbf66e777922420546f2c by Wolthera van Hövell, on behalf of Wolthera van Hövell tot Westerflier. Committed on 19/09/2021 at 14:13. Pushed by woltherav into branch 'master'. Interpret gbr/gih brush with application=imagestamp to load with color. Otherwise, the brush image returns a grayscale image, which is useful for using the brush in the engines, but not for loading it as a document. (cherry picked from commit eb127330c81d739f636c413c8b63b51d239706c6) M +3 -1 plugins/impex/brush/kis_brush_import.cpp https://invent.kde.org/graphics/krita/commit/da4a70a77eb52db06babbf66e777922420546f2c (In reply to wolthera from comment #3) > Git commit da4a70a77eb52db06babbf66e777922420546f2c by Wolthera van Hövell, > on behalf of Wolthera van Hövell tot Westerflier. > Committed on 19/09/2021 at 14:13. > Pushed by woltherav into branch 'master'. > > Interpret gbr/gih brush with application=imagestamp to load with color. > > Otherwise, the brush image returns a grayscale image, which is useful for > using the brush in the engines, but not for loading it as a document. > > > (cherry picked from commit eb127330c81d739f636c413c8b63b51d239706c6) > > M +3 -1 plugins/impex/brush/kis_brush_import.cpp > > https://invent.kde.org/graphics/krita/commit/ > da4a70a77eb52db06babbf66e777922420546f2c Opening now works fine. 👍 Saving from menu (File —> Save/Save as.../Export...) still saves as grayscale (krita-nightly_355c72f). Git commit 55aba9a7a818c7f2df843979bee8c0699887c118 by Wolthera van Hövell tot Westerflier. Committed on 21/09/2021 at 14:12. Pushed by woltherav into branch 'krita/5.0'. Also fix saving gbr/gih brushes. Seems like an overzealous change that caused this one... M +1 -1 plugins/impex/brush/kis_brush_export.cpp https://invent.kde.org/graphics/krita/commit/55aba9a7a818c7f2df843979bee8c0699887c118 Git commit 04ac88205e1c8cfafebcbd96da8166c18de1738d by Wolthera van Hövell, on behalf of Wolthera van Hövell tot Westerflier. Committed on 21/09/2021 at 14:13. Pushed by woltherav into branch 'master'. Also fix saving gbr/gih brushes. Seems like an overzealous change that caused this one... (cherry picked from commit 55aba9a7a818c7f2df843979bee8c0699887c118) M +1 -1 plugins/impex/brush/kis_brush_export.cpp https://invent.kde.org/graphics/krita/commit/04ac88205e1c8cfafebcbd96da8166c18de1738d |