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.
  • There is a settings Editor entry that might help with that- PrintResolution.
    Link to Help file article: PrintResolution (hexagonmi.com)
  • Hi Cris_C! Mine was set to 300; I tried increasing it to 600. It didn't change the bitmap scale, but it did make the digits all smashed together in the dimension callouts. Disappointed I don't think that particular setting will help, but thank you for the idea!
  • Hi Cris_C! Mine was set to 300; I tried increasing it to 600. It didn't change the bitmap scale, but it did make the digits all smashed together in the dimension callouts. Disappointed I don't think that particular setting will help, but thank you for the idea!


    LOL! Well, it was worth a try. Hopefully someone here has some better ideas.
  • 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.
  • Good info Cris_C. I had set the bitmap object layout parameter to "Center" in order to get part of the dynamic loading to work, but I tried "Stretch" again and was able to get it to work. And it lets me put in a higher-resolution image!

    The trick was to select a test image when creating the bitmap object. Earlier I had tried to not put an image in, and that breaks the "Stretch" layout even when you specify a particular image dynamically. When created with a test image, though, it seems to scale the image properly even when the dynamically-loaded image is a different size.

    Thank you! I'm glad this is working better.
  • Good info Cris_C. I had set the bitmap object layout parameter to "Center" in order to get part of the dynamic loading to work, but I tried "Stretch" again and was able to get it to work. And it lets me put in a higher-resolution image!

    The trick was to select a test image when creating the bitmap object. Earlier I had tried to not put an image in, and that breaks the "Stretch" layout even when you specify a particular image dynamically. When created with a test image, though, it seems to scale the image properly even when the dynamically-loaded image is a different size.

    Thank you! I'm glad this is working better.


    I'm happy to help. Thank you for sharing the trick to getting the scaling to work with dynamically loaded images. Quirky stuff!