Jump to content
You must now use your email address to sign in [click for more info] ×

Search the Community

Showing results for tags 'detect file signatures'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Affinity Support
    • News and Information
    • Frequently Asked Questions
    • Affinity Support & Questions
    • Feedback & Suggestions
  • Learn and Share
    • Tutorials (Serif and Customer Created Tutorials)
    • Share your work
    • Resources
  • Bug Reporting
    • V2 Bugs found on macOS
    • V2 Bugs found on Windows
    • V2 Bugs found on iPad
    • Reports of Bugs in Affinity Version 1 applications
  • Beta Software Forums
    • 2.4 New Features and Improvements
    • Other New Bugs and Issues in the Betas
    • Beta Software Program Members Area
    • [ARCHIVE] Reports from earlier Affinity betas

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL



Member Title

Found 1 result

  1. Here's another Python3 script whatFileType.py which can be helpful in situations, where some files don't have file extensions, or where you maybe can't trust a files initial shown file extension (...like an binary image file download without extension etc.). So this little whatFileType.py Python 3 script does basically here what the Unix file cmd, or some services like what file is do, it tells you what sort of file it is. BTW this script can also tell if some binary file is an Affinity file. The actual supported and recognized file signatures are: BMP, JPG, GIF, PNG, TIFF, PSD, PDF, WEBP, AFFINITY, EPS, RTF, HDR, EXR ... which are mostly those file formats Affinity apps export or save to. The whatFileType.py script can be called either by passing over some file as an argument directly ... ... or in an interacting mode just like this ... In cases where some file type is unrecognized (thus not supported yet) the script tells you ... Here's the whatFileType.py Python3 script for download: whatFileType.py Have fun!
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.