X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=spec%2Fspec_helper.rb;h=86e098bec85435bfe9d00d7c81242920474feca9;hb=a1587574bba2fe7cffe40aa1bad0fe84aed23825;hp=99f59870f8310470a04fee4a3edcc20aaa6d0c90;hpb=4381b67bbe0fe31047ddebc32c34638a146fdbd8;p=swftools.git diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 99f5987..86e098b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -125,7 +125,7 @@ class DocFile convert() @pngname = @filename.gsub(/.pdf$/i,"")+".png" begin - output = `swfrender --legacy #{@swfname} -o #{@pngname} 2>&1` + output = `swfrender #{@swfname} -o #{@pngname} 2>&1` raise ConversionFailed.new(output,@pngname) unless File.exists?(@pngname) @img = Magick::Image.read(@pngname).first ensure