Skip to main content
Question

How to print a raster view of a dwg surface isometrically as a png

  • September 20, 2024
  • 1 reply
  • 41 views

jp12212
Contributor
Forum|alt.badge.img+4

Can you provide guidance on how to convert a DWG file to a PNG image and then embed that PNG into an HTML PDF using FME? Specifically, I'm interested in preserving the visual elements like colors, hatch styles, and line widths from the original DWG file.

Here are my transformers.

Thank you.

1 reply

donalmateer
Safer
Forum|alt.badge.img+6
  • Safer
  • September 24, 2024

Hi @jp12212 ,

Thank you for the post.
I have compiled some articles & documentation that may assist in what you're looking for and push you in the right direction.

DWG Reader/Writer - Documentation regarding DWG Reader/Writer 
Autodesk AutoCAD DWG Reader Parameters 


ImageRasterizer - Documentation explaining how ImageRasterizer works.
Also check this article out - Converting Vector Data to Raster - (related articles within may also be of assistance).

PNG Rasterizer Writer -Documentation on the PNG Writer.

The following transformer may be what you're looking for in regards to HTML - HTMLReportGenerator.

Finally to change it into a PDF the following documentation may assist. The transformer PDFPageFormatter may be what you're looking for.
Also the PDF Reader/Writer document (and related articles within).

 

If you have any more queries or issues please reach out again and I will try help with the problem.

Thank you,
Donal. 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings