Page 1 of 1

Add support for Affinity Designer file format

Posted: 17 May 2017, 23:20
by softcake
The most popular vector graphic software next to Adobe Illustrator is Affinity Designer.
It would be great if you could add support for their ".afdesign" file format.

https://www.cgsecurity.org/photorec/sca ... 896d67533e

Re: Add support for Affinity Designer file format

Posted: 20 May 2017, 13:54
by cgrenier
I have uploaded a new 7.1-WIP version. Can you try it ?
BTW more file samples are welcome.

Re: Add support for Affinity Designer file format

Posted: 24 Jul 2017, 12:37
by softcake
Hey Christophe, sorry for the late reply!

Before your answered I tried to create a signature myself.

On the machine, which contains the files I want to recover I have an older version of Affinity Designer.
Here are two files created with this version:
"testFiles_oldVersion.zip"

Looking at a couple of files I thought the signature would be:
afdesign 0 0x00ff4b41090000006e73725023496e66

For the new version of Affinity Designer I have these files:
"testFiles_newVersion.zip"

And found this signature:
afdesign 0 0x00ff4b410a0000006e73725023496e66

So the difference is 0a -> 09.

Now I tried your new 7.1 version and the "old" signature. Both can find 2 files, but then files are found which increase and increase in size.
One was 24GB big and the other 12GB, so I had to stop it, because I ran out of space. (at a later try one file got even to 70GB :o )
I could open all the 4 files, but all 4 were way to big (normally 40KB big). The first two were also a couple of hundred MB.

So could we define an end for the files? I looked at all the files and all seem to end at:
00 00 00 00 49 45 4e 44 ae 42 60 82 |Yv......IEND.B`.|

Or could we define a max file size?

Thank you Christophe! :)

Re: Add support for Affinity Designer file format

Posted: 08 Aug 2017, 10:11
by cgrenier
To avoid very large recovered afdesign files, do not disable the other file formats when recovering them.