1

Ruby: PDF::Writer can't read JPG or PNG files?

view story
linux-howto

https://bbs.archlinux.org – require 'pdf/writer' pdf = PDF::Writer.new pdf.image('/home/max/pics/kiwi.png')Results in:RuntimeError: Unsupported Image Type from /home/max/.gem/ruby/1.9.1/gems/pdf-writer-1.1.8/lib/pdf/writer/graphics.rb:668:in `image'Why?edit - can't get rid of that mysterious newline in the code snippet ... weird? oh well, you get the idea synthead https://bbs.archlinux.org/profile.php?id=6032 2012-08-21T22:47:37Z (HowTos)