I am using version 25.2.1 of GroupDocs.Conversion. When I attempt to convert a ICO file to PDF, I get the following stack trace:
java.lang.RuntimeException: class com.groupdocs.conversion.exceptions.FileTypeNotSupportedException: Can not save ico to pdf
com.groupdocs.conversion.savers.NullSaver.save(Unknown Source)
com.groupdocs.conversion.savers.Saver.save(Unknown Source)
com.groupdocs.conversion.documents.k.save(Unknown Source)
com.groupdocs.conversion.c.a(Unknown Source)
com.groupdocs.conversion.b.convert(Unknown Source)
com.groupdocs.conversion.Converter.convert(Unknown Source)
com.groupdocs.conversion.Converter.convert(Unknown Source)
I tested if this is a valid conversion, and this is the output:
**Source format**: Icon File (ico)
**Primary conversions**: [tiff, tif, jpg, jpeg, png, gif, bmp, ico, psd, wmf, emf, dcm, dicom, webp, jp2, emz, wmz, svgz, tga, psb, heic, ppt, pps, pptx, ppsx, odp, otp, potx, potm, pptm, ppsm, fodp, ps, pcl, svg]
**Secondary conversions**: [epub, mobi, azw3, eps, xps, tex, pdf, xls, xlsx, xlsm, xlsb, ods, xltx, xlt, xltm, xlam, fods, dif, sxc, htm, html, mhtml, mht, doc, docm, docx, dot, dotm, dotx, rtf, odt, ott, txt, md, ml]
The implementation I am using works for several other extension to PDF combinations. (.pptx, .docx, .png, .jpeg to name a few).