ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: sebmai on April 07, 2021, 06:25:10 AM

Title: Expected behaviour for .dxf files
Post by: sebmai on April 07, 2021, 06:25:10 AM
Hello,

we are working with .dxf files created by SolidWorks and our digital asset management application is using exiftool to identify file types.

When using exiftool 10.63 the .dxf files are identified as unknown file type, when using 11.78 or newer the file type is TXT.
Attached you will find the .dxf files and the results.

Is it intended that the file type is identified as TXT?
Are there any plans to implement the support of .dxf or are there any specific reasons you will not support this file type?

Thanks for your feedback and effort!

Best regards,
Sebastian


Title: Re: Expected behaviour for .dxf files
Post by: Phil Harvey on April 07, 2021, 07:45:06 AM
Hi Sebastian,

It is basically a text file.  Open it in any text editor and you'll see.

ExifTool can't possibly recognize all varieties of text files written by various applications.  I haven't had a request to support reading DXF files yet.

- Phil
Title: Re: Expected behaviour for .dxf files
Post by: sebmai on April 07, 2021, 08:12:32 AM
Hi Phil,

thanks for your quick response.

Is there any way that this may be implemented with a request by us?

Our usecase is that we create previews/thumbnails out of the those .dxf files but we do not want to have previews for text/txt in general.
If identified as .dxf file type, we will use a tool like Acme CAD Converter to generate the previews in our application.
Both types are based on text but they look quite different when creating previews.

Best regards,
Sebastian
Title: Re: Expected behaviour for .dxf files
Post by: Phil Harvey on April 07, 2021, 08:14:55 AM
This should be fairly simple to do.

What MIME type would you like to see?  Possibilities seem to be:

application/dxf
image/vnd.dwg
image/x-dwg

- Phil
Title: Re: Expected behaviour for .dxf files
Post by: sebmai on April 07, 2021, 08:21:55 AM
application/dxf fits.

Thanks,
Sebastian
Title: Re: Expected behaviour for .dxf files
Post by: sebmai on April 12, 2021, 06:47:33 AM
Hi Phil,

can you give me a short feedback if this request will or may be included in the next version or how those requests are handled from a timing perspective?

Thanks!
Sebastian
Title: Re: Expected behaviour for .dxf files
Post by: Phil Harvey on April 12, 2021, 07:27:02 AM
Hi Sebastian,

This should be included in the next release unless there is some complication.  The releases are about 2 weeks apart.

- Phil
Title: Re: Expected behaviour for .dxf files
Post by: Phil Harvey on April 13, 2021, 11:25:00 AM
ExifTool 12.24 is now available.

- Phil
Title: Re: Expected behaviour for .dxf files
Post by: sebmai on April 16, 2021, 03:41:29 AM
Hi Phil,

it is working as expected.

Thank you for your very much appreciated support!

Sebastian