[CADImage] Filename Extension
Posted: 06 Oct 2005, 16:27
Hello
We're using CADImage.dll to batch convert DXF and DWG files into the jpg format. The files are named by a unique handle, e.g. File-324.1 (the extension stands for the version of the file).
As far as I realized, CADImage.dll takes the filename extension to recognize the MIME type. Because our filenames end with 1, 2, 3 etc., they would have to be renamed to get the appropriate extension (dxf, dwg...) before beeing opened by CADImage.dll.
Is there a way to get araound the renaming? E.g. specifie the type as an additional argument in CADImage = CreateCAD(NULL,inFile);?
Thanks in advance
Mike
We're using CADImage.dll to batch convert DXF and DWG files into the jpg format. The files are named by a unique handle, e.g. File-324.1 (the extension stands for the version of the file).
As far as I realized, CADImage.dll takes the filename extension to recognize the MIME type. Because our filenames end with 1, 2, 3 etc., they would have to be renamed to get the appropriate extension (dxf, dwg...) before beeing opened by CADImage.dll.
Is there a way to get araound the renaming? E.g. specifie the type as an additional argument in CADImage = CreateCAD(NULL,inFile);?
Thanks in advance
Mike