Hi all. I am trying to use deflate compression in a ruby plugin and not sure how to get it to work. From what I understand the best thing would be to use zlib. Along with that from what I understand zlib should be available as part of ruby development in sketchup. Also tryed 'requiring' zlib compiled version in plugin directory, but that doesn't work either.
Anyway know how I can accomplish this?
The ultimate thing I need to do is generate a PNG image file, being able to 'paint' each pixel. Already studied PNG documentation for what I need. That's simple enough. The compression seems to be the tough thing.
Thanks!