pastthepixels / FreePaint

A vector graphics drawing app for Android.
GNU General Public License v3.0
79 stars 7 forks source link

Add support for wmf #16

Open roshanravan opened 1 year ago

roshanravan commented 1 year ago

Is your feature request related to a problem? Please describe. I sometimes work with .wmf (Windows Metafile) files. Currently, there is no Android app able to open .wmf files directly. I'm always frustrated when I need to use multiple applications to convert these files before I can use them in your vector drawing app. I would appreciate the addition of a feature that allows for the direct opening and editing of .wmf files within the app. This would greatly streamline the process, making it more convenient to work with a variety of file formats, especially for users dealing with legacy graphics or those in specific professional fields like mine.

Describe alternatives you've considered An alternative solution could be the implementation of a conversion tool within the app that converts .wmf files to SVG format. While this is not as seamless as direct opening and editing, it would still improve the current need to use external software for conversion.Additional context Adding .wmf support would enhance the app's utility for professionals who frequently deal with a mix of modern and legacy file formats, broadening the app's appeal and user base. Thank you for considering this feature request. Your app has been incredibly useful, and this feature would make it even more valuable to users like myself.

pastthepixels commented 1 year ago

I was going to say that this would be outside the scope of FreePaint (or at least, this may lead to a need to support a lot of files and that might get out of hand) but FreePaint does, at least in its directory structure, support handling multiple file types. It'd probably be best to add a File/WMF.java alongside File/SVG.java, with similar functions (maybe pull out common functions like parsing files to an interface?) and then one would just have to add code to check if an opened file is a supported file type and handle it with the proper class. I'll see if I can add this but for 1.2.0 I really want to spend my resources on making the SVG implementation 100% (or at least adding Bezier curves). Thanks for the suggestion though, I'll look into it!