<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi!<div class=""><br class=""></div><div class="">the initial implementation of the RAW loading plug-in turned out to be relatively easy… just a couple of spare-time coding hours to achieve the result shown in this screencast: <a href="https://youtu.be/9K6RJv-O6Yw" class="">https://youtu.be/9K6RJv-O6Yw</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">However, this is just the very beginning. Unfortunately I do not have much time to chat on IRC, only to read/write emails from time to time. Therefore, if any krater developer is reading those lines, here are a few questions (some might be trivial):</div><div class=""><br class=""></div><div class="">- is there a way to prioritise the file loading plug-ins in Krita? In my first experiments I had to remove the official impex/raw plug-in from the CMakeLists.txt file, otherwise my own plug-in would not be invoked…</div><div class=""><br class=""></div><div class="">- does Krita provide a mechanism to store arbitrary meta-data in the image structure? The idea would be to store the RAW processing parameters directly inside the krita image, so that next time the photoflow plug-in is invoked it can re-open the RAW file and restore the last saved processing parameters</div><div class="">GIMP provides such mechanism through functions like gimp_parasite_new() (<a href="https://developer.gimp.org/api/2.0/libgimpbase/libgimpbase-gimpparasite.html" class="">https://developer.gimp.org/api/2.0/libgimpbase/libgimpbase-gimpparasite.html</a>) and gimp_item_attach_parasite() (<a href="https://developer.gimp.org/api/2.0/libgimp/libgimp-gimpitem.html" class="">https://developer.gimp.org/api/2.0/libgimp/libgimp-gimpitem.html</a>)</div><div class=""><br class=""></div><div class="">- is there a way in Qt to spawn a process and pass parameters to it in the form of QStrings instead of char*? I would need this to properly invoke the photoflow executable with UTF8 file names…</div><div class=""><br class=""></div><div class="">- what is the best way to distribute the preliminary code so that experts can have a look?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">By the way, the photoflow executable used for the test in the screencast is actually this AppImage package: <a href="https://github.com/aferrero2707/PhotoFlow/releases/download/continuous/PhotoFlow-20170307-git-stable-d1501a91826e6b768af51bf6c734bd989507915d.glibc2.14-dbg-x86_64.AppImage" class="">https://github.com/aferrero2707/PhotoFlow/releases/download/continuous/PhotoFlow-20170307-git-stable-d1501a91826e6b768af51bf6c734bd989507915d.glibc2.14-dbg-x86_64.AppImage</a></div><div class="">I simply downloaded the package, made is executable with</div><div class=""><br class=""></div><div class=""> chmod u+x PhotoFlow-20170307-git-stable-d1501a91826e6b768af51bf6c734bd989507915d.glibc2.14-dbg-x86_64.AppImage</div><div class=""><br class=""></div><div class="">and moved is to a folder in the PATH so that is gets automatically found:</div><div class=""><br class=""></div><div class=""> mv PhotoFlow-20170307-git-stable-d1501a91826e6b768af51bf6c734bd989507915d.glibc2.14-dbg-x86_64.AppImage $HOME/.local/bin/photoflow</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">This AppImage should be compatible with most of the current Linux distributions, and requires no installation of additional packages… just download the AppImage and run it!</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 06 Mar 2017, at 18:42, EI <<a href="mailto:geneing@gmail.com" class="">geneing@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">By the way, Andrea, a good way to get help with code is to ask on irc channel #krita. Main developers hang out there during European day time. <div class=""><br class=""></div><div class="">I also know some parts of krita code, so you are welcome to email me if you have questions.</div><div class=""><br class=""></div><div class="">Eugene</div><div class=""> <br class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class="">
Message: 1<br class="">
Date: Mon, 6 Mar 2017 11:00:15 +0100<br class="">
From: PhotoFlow Editor <<a href="mailto:photofloweditor@gmail.com" class="">photofloweditor@gmail.com</a>><br class="">
To: Krita's developers and users mailing list <<a href="mailto:kimageshop@kde.org" class="">kimageshop@kde.org</a>><br class="">
Subject: Re: RAW processing plug-in - any interest?<br class="">
Message-ID: <<a href="mailto:46E7AD14-0180-42C4-9241-EC0335871DC6@gmail.com" class="">46E7AD14-0180-42C4-9241-<wbr class="">EC0335871DC6@gmail.com</a>><br class="">
Content-Type: text/plain; charset="utf-8"<br class="">
<br class="">
<br class="">
> On 06 Mar 2017, at 10:54, Simon Legrand <<a href="mailto:legrand.simon@gmail.com" class="">legrand.simon@gmail.com</a>> wrote:<br class="">
><br class="">
> Similarly to this potential project, the collaboration with G'mic a few years ago really helped to add a slew of filters to Krita that I find myself using very often.<br class="">
><br class="">
> This makes a lot of sense to me. Let me know if I can help alpha test any progress.<br class="">
><br class="">
> (feel free to contact me directly too)<br class="">
><br class="">
> I'm not a Krita dev, just an artist using in in VFX so I won't be able to help with anything else but testing.<br class="">
<br class="">
From my experience, testing and user feedback is at least as important as writing actual code, so your offer is definitely welcome!<br class="">
<br class="">
I hope to get this started rather soon, and I will post here about the progress.<br class="">
<br class="">
Thanks!<br class="">
<br class=""></blockquote></div></div></div></div>
</div></blockquote></div><br class=""></div></body></html>