Hi, I''d like to read an SVG file compressed into SVGZ format. In Java I think I could use GZIPInputStream. Is there anything similar in Ruby? Thanks. -- Posted via http://www.ruby-forum.com/.
Craig McDonnell wrote:> Hi, I''d like to read an SVG file compressed into SVGZ format. In Java I > think I could use GZIPInputStream. Is there anything similar in Ruby?Yes. The Zlib module that comes with Ruby should be able to handle what you want. See: http://www.ruby-doc.org/stdlib/libdoc/zlib/rdoc/index.html -- Philip Ross http://tzinfo.rubyforge.org/ -- DST-aware timezone library for Ruby