Search found 4 matches
- 12 Aug 2016, 20:43
- Forum: CAD .NET
- Topic: How to specify a DPI when saving to a BMP file
- Replies: 5
- Views: 32949
Re: How to specify a DPI when saving to a BMP file
Thank you. That's exactly what I needed.
- 12 Aug 2016, 17:17
- Forum: CAD .NET
- Topic: How to specify a DPI when saving to a BMP file
- Replies: 5
- Views: 32949
Re: How to specify a DPI when saving to a BMP file
I apologize for not being more clear when asking my initial question.
I'm interested in saving the bitmap with height and width (in pixels) according to a given DPI value.
Can you suggest an alternate CADSoftTools library, which has the required properties and can be used in a .NET or VC++ project?
I'm interested in saving the bitmap with height and width (in pixels) according to a given DPI value.
Can you suggest an alternate CADSoftTools library, which has the required properties and can be used in a .NET or VC++ project?
- 12 Aug 2016, 11:21
- Forum: CAD .NET
- Topic: How to specify a DPI when saving to a BMP file
- Replies: 5
- Views: 32949
Re: How to specify a DPI when saving to a BMP file
Hi Mikhail, I'm afraid your code snippet doesn't really answer my question . The Bitmap.SetResolution method only sets the DPI parameter in the bitmap header. It doesn't change the physical size of the image, as you can find out in the Remarks section on msdn.com . What determines the physical size ...
- 10 Aug 2016, 21:15
- Forum: CAD .NET
- Topic: HPGL to BMP
- Replies: 2
- Views: 17978
HPGL to BMP
Hi, I'm trying to convert an HPGL image to bitmap using your demo library. using CADImport.HPGL2; using System.Drawing.Imaging; //... HPGLImage img = new HPGLImage(); img.LoadFromFile(@"C:\00006.hpgl"); img.SaveToFile(@"C:\00006.bmp", ImageFormat.Bmp, img.Extents, PixelFormat.Format24bppRgb); Howeve...