Bug 405988 - ignore ps engine when import .abr
Summary: ignore ps engine when import .abr
Status: RESOLVED LATER
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (show other bugs)
Version: unspecified
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-29 13:37 UTC by Hector
Modified: 2019-04-04 07:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
2 test packs (12.74 KB, application/x-zip-compressed)
2019-03-29 13:37 UTC, Hector
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hector 2019-03-29 13:37:53 UTC
Created attachment 119115 [details]
2 test packs

Krita can't import brushes from abr if it have ps engines config inside.

Summary: Need to add ignoring for ps engines in abr import.

Packs in attachments:
1.krita_testpack_with_engines (3 simple brushes)
2. krita_testpack_without_engines (3 same brushes + 1 smudge + 1 with bristle)
Comment 1 Halla Rempt 2019-04-04 07:48:18 UTC
Well, we simply don't support ABR format version 9, subversion 0. The file format hasn't been documented, so we don't know how load them. This: https://github.com/scurest/abrupng/commit/2520da936a0d6ec9cc2cc1f57dd60a8558c3571a suggests that we might be able to load version 10, subversion 1 ABR brushes as if they were version 6 brushes, but when I tried that, it didn't work either.

Until Adobe documents this file format, we cannot do anything. I have checked other github projects, but I haven't found one that can load these types.