hexagon logo

Set Report Graphic DPI

Hi All,

As discussed in this post, I'm using a Report Label Template to insert a dynamically-generated external graphic into my reports. Is there any way to set the DPI/resolution on this? It seems that by default everything is shown at 100 pixels-per-inch, which is a bit grainy, and my application would benefit from having more than the 700-pixel width this caps things at.
Parents
  • I tried to put in a huge 20MP image into a report label. Using a .jpg image did not work, it just showed a small area of the center of the image. However, using a .bmp image allowed me to put in the whole image, and it was scaled to fit.

    In the label editor, the image was obviously reduced in resolution. Lots of jagged, un-blended edges, but I saw that the report label file was using 60MB, so I'm guessing the whole uncompressed image is in there somewhere.

    I then put that label into a measuring routine. In the report window the image was still reduced in resolution, but so is all of the text and images in the report window, so that doesn't represent the resolution of the generated report.

    I then printed a PDF report. On the PDF report the image actually showed at a higher resolution. The same resolution defined by the PrintResolution setting in my settings editor. I bumped that value to 600 and reprinted the PDF report. The report actually showed the image at that much higher resolution. I could zoom in and see a ton of detail. There were still some compression artifacts, typicall of PDF files, but I bet it would look really good with a monochrome image like a part drawing or text from a customer specification. You know, the sort of thing you would want on a CMM report. Not an aerial view of the Chicago skyline like I was using.
Reply
  • I tried to put in a huge 20MP image into a report label. Using a .jpg image did not work, it just showed a small area of the center of the image. However, using a .bmp image allowed me to put in the whole image, and it was scaled to fit.

    In the label editor, the image was obviously reduced in resolution. Lots of jagged, un-blended edges, but I saw that the report label file was using 60MB, so I'm guessing the whole uncompressed image is in there somewhere.

    I then put that label into a measuring routine. In the report window the image was still reduced in resolution, but so is all of the text and images in the report window, so that doesn't represent the resolution of the generated report.

    I then printed a PDF report. On the PDF report the image actually showed at a higher resolution. The same resolution defined by the PrintResolution setting in my settings editor. I bumped that value to 600 and reprinted the PDF report. The report actually showed the image at that much higher resolution. I could zoom in and see a ton of detail. There were still some compression artifacts, typicall of PDF files, but I bet it would look really good with a monochrome image like a part drawing or text from a customer specification. You know, the sort of thing you would want on a CMM report. Not an aerial view of the Chicago skyline like I was using.
Children
No Data