Hi!
Has anybody succeded in changing the resolution of a jpeg file in Pro/E Wildfire 2.0 using J-Link? I tried the following:
RasterImageExportInstructions instructions =
pfcWindow.JPEGImageExportInstructions_Create( 2 * window.GetWidth(), 2 * window.GetHeight() );
instructions.SetDotsPerInch(com.ptc.pfc.pfcWindow.DotsPerInc h.RASTERDPI_400);
window.ExportRasterImage( configuration_partnumber + ".jpg", instructions );
This always produces a 100 dpi file for me. (I tried changing the default in config.pro, this didn't work either.
Cheers, Magnus L.
Has anybody succeded in changing the resolution of a jpeg file in Pro/E Wildfire 2.0 using J-Link? I tried the following:
RasterImageExportInstructions instructions =
pfcWindow.JPEGImageExportInstructions_Create( 2 * window.GetWidth(), 2 * window.GetHeight() );
instructions.SetDotsPerInch(com.ptc.pfc.pfcWindow.DotsPerInc h.RASTERDPI_400);
window.ExportRasterImage( configuration_partnumber + ".jpg", instructions );
This always produces a 100 dpi file for me. (I tried changing the default in config.pro, this didn't work either.
Cheers, Magnus L.