We are currently trying to find a solution or component thad could do this operation. Writing our own algorithm will be the last option, since this really takes a lot of time and is useful only for some customers.
But the idea is very reasonable and must be brought to reality!