If you tried the whole day maybe give a few details of what you tried but didn’t work.
Maybe also state what you expect the final footprint too look like vs what you got while trying it. (The more info we have the better the responses will be.)
For now i can only say there is svg2mod which can convert incscape svgs directly to footprints. (It can put stuff on every layer you want. The resolution and scale are configurable. What is put on what layer is selected by the inkscape layer the graphic is on. Details see readme)
There is the included bitmap2component tool which can only put stuff on one layer.
I don’t know of a way to get dxf directly into a footprint. Especially not filled areas. (Lines can be converted i think. But you need to do some preparations for curved lines.)
Search this forum a bit and you will find a lot of topics about dxf import.
The latest topic was this one. It had a good tutorial on how to go about preparing the dxf for import. (Under the use of freecad)