git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
finished implementing new bounding box logic
[swftools.git]
/
spec
/
spec_helper.rb
diff --git
a/spec/spec_helper.rb
b/spec/spec_helper.rb
index
99f5987
..
86e098b
100644
(file)
--- a/
spec/spec_helper.rb
+++ b/
spec/spec_helper.rb
@@
-125,7
+125,7
@@
class DocFile
convert()
@pngname = @filename.gsub(/.pdf$/i,"")+".png"
begin
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
raise ConversionFailed.new(output,@pngname) unless File.exists?(@pngname)
@img = Magick::Image.read(@pngname).first
ensure