#include "image_load_jpeg.h"
#include "image_load_tiff.h"
#include "image_load_dds.h"
+#include "image_load_pdf.h"
#include "image_load_ffmpegthumbnailer.h"
#include "image_load_collection.h"
}
else
#endif
+#ifdef HAVE_PDF
+ if (il->fd->format_class == FORMAT_CLASS_PDF)
+ {
+ DEBUG_1("Using custom pdf loader");
+ image_loader_backend_set_pdf(&il->backend);
+ }
+ else
+#endif
#ifdef HAVE_JPEG
if (il->bytes_total >= 2 && il->mapped_file[0] == 0xff && il->mapped_file[1] == 0xd8)
{