[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [krita/rempt/impex-refactoring] plugins/impex/png: Add saving a profile to the png capabilities
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2016-09-30 15:24:14
Message-ID: E1bpzfa-0006JX-Bi () code ! kde ! org
[Download RAW message or body]

Git commit d93b70f4da893a96f1e2ef9c6cb269d4e7e334a3 by Boudewijn Rempt.
Committed on 30/09/2016 at 14:50.
Pushed by rempt into branch 'rempt/impex-refactoring'.

Add saving a profile to the png capabilities

M  +1    -0    plugins/impex/png/kis_png_export.cc

http://commits.kde.org/krita/d93b70f4da893a96f1e2ef9c6cb269d4e7e334a3

diff --git a/plugins/impex/png/kis_png_export.cc b/plugins/impex/png/kis_pn=
g_export.cc
index 286d368..7595843 100644
--- a/plugins/impex/png/kis_png_export.cc
+++ b/plugins/impex/png/kis_png_export.cc
@@ -169,6 +169,7 @@ KisConfigWidget *KisPNGExport::createConfigurationWidge=
t(QWidget *parent, const
 =

 void KisPNGExport::initializeCapabilities()
 {
+    addCapability(KisExportCheckRegistry::instance()->get("sRGBProfileChec=
k")->create(KisExportCheckBase::SUPPORTED));
     addCapability(KisExportCheckRegistry::instance()->get("ColorModelCheck=
/" + RGBAColorModelID.id() + "/" + Integer8BitsColorDepthID.id())->create(K=
isExportCheckBase::SUPPORTED));
     addCapability(KisExportCheckRegistry::instance()->get("ColorModelCheck=
/" + RGBAColorModelID.id() + "/" + Integer16BitsColorDepthID.id())->create(=
KisExportCheckBase::SUPPORTED));
     addCapability(KisExportCheckRegistry::instance()->get("ColorModelCheck=
/" + GrayAColorModelID.id() + "/" + Integer8BitsColorDepthID.id())->create(=
KisExportCheckBase::SUPPORTED));

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic