This article explains how To detect the document file type and calculate the number of pages when converting a file with GroupDocs.Conversion for Java.... Image Files (JPG, PNG, TIFF, etc.) For images, details...download it. CAD Drawings (DWG, DXF, etc.) For CAD drawings, you...