.jpg output quality
Moderators: SDS, support, admin
.jpg output quality
Is there a way to adjust the output quality/resolution (compression ratio) for the .jpg output using the CADImport.Net Tools?
Re: .jpg output quality
Hello.
You can adjust resolution of the output raster file. Please try File -> Save Picture from main menu of Editor or Viewer demo.
Alexander.
You can adjust resolution of the output raster file. Please try File -> Save Picture from main menu of Editor or Viewer demo.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: .jpg output quality
What properties of SetRasterSizeForm sets the cell size of the output?
Re: .jpg output quality
Hello.
There aren't properties within SetRasterSizeForm class to set the cell size of output. SetRasterSizeForm.ImageSize property specifies this parameter within cadImage.SaveToFile method in the demo application, but this property is read only. If you want to set size of Image programmatically, please use cadImage.SaveToFile method and specify its DRect parameter.
Alexander.
There aren't properties within SetRasterSizeForm class to set the cell size of output. SetRasterSizeForm.ImageSize property specifies this parameter within cadImage.SaveToFile method in the demo application, but this property is read only. If you want to set size of Image programmatically, please use cadImage.SaveToFile method and specify its DRect parameter.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: .jpg output quality
Thank you for you reply. However, I would like to adjust the image quality (compression ratio) without adjusting the image dimensions. Sounds as if the cadImage.SaveToFile method is using a fixed compression ratio for .jpg files, based on the DRect Height and Width properties. So the image quality cannot be adjusted without changing the image dimensions, is this correct?
Re: .jpg output quality
Raster image is technically characterized by the width and height of the image in pixels. Setting Drect parameter within cadImage.SaveToFile method will affect number of the pixels.
Alexander.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support