This forum has been archived. All content is frozen. Please use KDE Discuss instead.

A way to display .kra thumbnails on Windows Explorer

Tags: None
(comma "," separated)
artur_sd
Registered Member
Posts
1
Karma
0
On the release notes of Krita 3.0 i found out that .kra files are zipped archives. Knowing that, i found a way to make Windows Explorer generate .kra thumbnails.

There is a software named Cdisplayex used to display comic books in the formats of .cbz and .cbr. Those formats are simply compacted images. This software also include a shell extension that can generate thumbnails for this formats.
By modifying the Windows Registry, I was able to make Windows Explorer use the same shel extension to generate kra files.

The software is free, but include a lot of offers, so if you want to install it, make sure you select "customize" and unmark the offers in all steps.

After install the software, just open Notepad and paste this text:
Code: Select all
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.kra]
"Content Type"="image/kra"
@="CDISPSHELL"
"PerceivedType"="image"

[HKEY_CLASSES_ROOT\.kra\Krita.Document]

[HKEY_CLASSES_ROOT\.kra\Krita.Document\ShellNew]

[HKEY_CLASSES_ROOT\.kra\OpenWithProgids]
"Krita.Document"=hex(0):

[HKEY_CLASSES_ROOT\.kra\ShellEx]

[HKEY_CLASSES_ROOT\.kra\ShellEx\PropertyHandler]
@="{4A34B3E3-F50E-4FF6-8979-7E4176466FF2}"

[HKEY_CLASSES_ROOT\.kra\ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
@="{EF7605D6-C512-4F90-827B-5DE32DAB94F7}"

[HKEY_CLASSES_ROOT\.kra\ShellEx\{E357FCCD-A995-4576-B01F-234630154E96}]
@="{EF7605D6-C512-4F90-827B-5DE32DAB94F7}"



save as "krita.reg" with the quotes, and selecting "all files" as the file type.
Double click to import krita.reg into Windows Registry.
Restart Windows.

That is it.

If you don't want to install the software, you can register the librarys responsible for the shell extension using regsvr32.exe.
But i don't know if I am allowed to upload the files here, as the program is free but do not seem to be open source.
If I can upload the files please let me know.
The softwares homepage is http://www.cdisplayex.com/
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
Cool! It should be really easy to make an unencumbered shell extensions, though!
ramskulls
Registered Member
Posts
134
Karma
2
This would be super useful! I missed this feature back when I was on linux to be honest! I'll be trying this when I get home c:
doolb
Registered Member
Posts
1
Karma
0
Thank you very much.
Krita had release the new file format called '.krz', which has more small size than '.kra'.
But the thumbnail '.krz' does not show correct, It only one icon.
This way is amazing, and I can add '.kra~' or any other file to show thumbnails in explorer.
Thanks a lot. o)


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]