From 834835c99dd9fd182ca3116b5bc3e7ae8b3815ad Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 31 Oct 2013 12:57:59 +0000 Subject: thumbnail stills and svgs --- rotord/src/graph.h | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) (limited to 'rotord/src/graph.h') diff --git a/rotord/src/graph.h b/rotord/src/graph.h index 6f2ee79..2f8843d 100644 --- a/rotord/src/graph.h +++ b/rotord/src/graph.h @@ -97,6 +97,43 @@ namespace Rotor { class Thumbnailer{ public: bool make(const string &inputfilename,int w,int h,const string &outputfilename) { + Poco::StringTokenizer t1(inputfilename,"."); + if (t1.count()>1) { + if (t1[t1.count()-1]=="svg"){ + cerr<<"found an svg"<