Create a ruby ββon the rails website that uses RMagick to create thumbnails for many types of images. However, RMagick cannot read dwg files.
I tried a few things, looked into the Java JDWGLib library, which would probably allow me to write a converter, but that would be common from scratch, where I just need a sketch.
Using a viewer to open a file in a remote X session and capture the screen is also considered, however I'm not sure how I could guarantee that the viewer finished opening when I took a screenshot.
I am not interested in manipulating a file other than creating a thumbnail. It will be used for commercial purposes, so any libraries used must be compatible.
linux ruby-on-rails imagemagick thumbnails dwg
Kyle
source share