abrupng
abrupng copied to clipboard
Test ABR1/2 files
All the code in abr1.rs
is untested because I can only find ABR6 files in the wild!
If anyone has a version 1 or 2 ABR file, leave me a comment here please.
I found some unsupported file versions, although I'm not sure if they are ABR1 or 2. For this brush file: https://myphotoshopbrushes.com/brushes/id/3479/ I get
error: couldn't open as ABR: unknown/unsupported version: 10.2
That's version 10. It seems to have the same format as version 6, or at least, the format is close enough that if you change the second byte of the ABR from 0x0A
to 0x06
it will be successfully extracted.
I've tentatively allowed version 10 files to go down the version 6 codepath in 2520da9, which should get at least that particular ABR working for you.