blankOnstreamTrapezerapid redact


Home Draw2Tiff


Creating Image Documents from CAD Drawings, Database Information, GIS Data and Geological Files using Trapeze Draw2Tiff SDK


The Trapeze Draw2Tiff SDK is a software development kit for making image documents that include text, drawings and images, ready for distribution to end users as TIFF files.

Files are compressed page by page to provide the best compression for the type of data involved in each page. This has proven to be very effective for delivering drawings across the web.

Power users  take text and drawing information from databases and GIS and CAD applications and:

  • Create images that can be viewed by any image viewer without needing any specialist software.
  • Draw them into image pages as part of documents, thus making the resulting output behave just like the issue of a set of paper documents that would normally be sent in an envelope.
  • Create images with overlaid annotations and text. We have already provided this to the NZ Land Registry and it is in full use supplying documents that include pages from their GIS mapping application to some 8000 users.
  • Carry out measurements on the accurately produced image file. Draw multipage TIFFs.
  • Have differing page orientation and size in the same file.
  • Layer text (e.g. copyright notices etc) on the image.
  • Get control of the file size by using colour control and using the compression of your choice.

Windows Fixes

  • The (Windows) GDI renders records incorrectly scaled in a couple of cases, and the Onstream library fixes these.
  • Windows handles memory incorrectly in some circumstances whilst drawing some line types. The Onstream Library also fixes these.

Method for creating accurate image maps and plans from CAD Drawings

  1. You will need a copy of AutoCAD (or similar) on a server.
  2. Programmatically get AutoCAD to open the DWG or DXF file.
  3. Use the AutoCAD to produce a metafile (WMF format file) either on disk or in memory. Use the AutoCAD XCLIP and WFMOut commands to get the full frame as a WMF.
  4. Using Trapeze Draw2Tiff Library:
    1. Set the page up
    2. Choose the colour(s)
    3. Select the compression
    4. Ensure accurate TIFF drawing with the FIT (no stretch) command
    5. Draw the image from the WMF file.
download download