DWG to JPEG/BMP using code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • paulcybulski
    New Member
    • Nov 2007
    • 25

    DWG to JPEG/BMP using code

    We have developed a CAD-like proprietary software in C++. We need to convert the DWG output to JPEG or BMP format...ideall y this would be down with code...and not a 3rd party stand alone software....is there a library or existing code that we can use? We are willing to pay for this, so if it is available please let me know...
  • RRick
    Recognized Expert Contributor
    • Feb 2007
    • 463

    #2
    There are lots of libraries for image file formats ranging from supporting a single format to many. Each have their own way of doing things.

    I used a general image processing library (?Image Magick?), but it had its own ideas of the image structure that was painful to avoid. Life was good as long as you played their games with reading in images and converting them and writing them out.

    There are libraries for just a single format. BMP is reasonably simple and supported by Microsoft. I don't think you'll have trouble finding a simple example/version. I have used libraries for PNG (libpng) and Jpeg2000 (Jasper's Jpeg2000). These were used because their user licenses were open to development and production distribution.

    Before you decide on a library be sure to read the license fine print in terms of use and modifications.

    Comment

    Working...