ConvertX icon indicating copy to clipboard operation
ConvertX copied to clipboard

[Feature Request] Filter for sensible convertion

Open remi-espie opened this issue 10 months ago • 1 comments

It would be great to have the available conversions filtered by what is actually possible to convert to. For example, let's say I upload an image, video format like mp4 or audio format like ogg could be hidden from the user.

We could also add a switch to enable/disable the auto-filtering, in case users wants to do something unconventional XD

I'm not sure how we could do this; the "brute-force" way would be a dictionary with, for each available format, the list of what it can be converted to, but that's pretty tedious to do and maintain... The base file format could be deduced from the file extension or the magic bytes of the file.

PS: thanks for the good work !

remi-espie avatar Mar 07 '25 09:03 remi-espie

It already supports this in a way. The converters supported file types can be divided into different groups. It's only ffmpeg that is a bit hard since it supports so many different types, where you sometimes would want to mix them

C4illin avatar Mar 07 '25 09:03 C4illin