37a3b4 No.11953
I had a mixed week, but I got some good hydrus work done. I added some neat x/y timestamps to the animation scanbar, made a way to launch file urls with a shortcut, and added barebones .psd import support.
The release should be as normal tomorrow, but perhaps a little late if some IRL stuff comes up.
____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
f0fd6c No.11958
>>11953
>psd
> not FOSS reeeeeeeeeeee
What about open source formats like kra and xcf for Krita and Gimp?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
37a3b4 No.11962
>>11958
This will just recognise .psd as an 'application' format, so no native rendering. It'll basically be like pdf in the client, except I managed to figure out pulling width and height from the file header as well. If you can point me to kra and xcf file format definitions (and ideally some appropriate png files to represent the mime type icon), I'll see if I can do similar for them.
Is this up to date for xcf?:
http://henning.makholm.net/xcftools/xcfspec-saved
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
6d7e10 No.11967
>>11962
>I wrote this specification of the XCF format in mid-2006. Later it got included in the official Gimp sources, and unless you're explicitly looking for historic data, you should go there and get the specification instead.
Try here instead
https://gitlab.gnome.org/GNOME/gimp/raw/master/devel-docs/xcf.txt
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
284ef1 No.11969
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
284ef1 No.11970
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
0e1e8c No.11972
There may not be a formal specification for the .kra format it looks like, so source code might be your best bet, or just reversing it yourself as it's just zipped up junk.
Here's the Krita stuff if it's useful:
https://github.com/KDE/krita/blob/v4.1.8/plugins/impex/kra/kra_converter.cpp#L56
https://github.com/KDE/krita/blob/v4.1.8/plugins/impex/libkra/kis_kra_loader.cpp#L196
And here's GIMP's XCF loader code which may be of use if the specification is ever unclear:
https://github.com/GNOME/gimp/blob/GIMP_2_10_8/app/xcf/xcf-load.c#L152
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
37a3b4 No.11973
>>11969
>>11970
>>11972
Thanks lads. I'll queue these up and I'll see what I can figure out. Adding 'I can recognise it at least' .psd support wasn't a massive hassle this week, so I expect to do more of this sort of work. But I suspect I'll have to refigure some UI like the system:mime panel checkbox hell if we go too nuts here.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.