Hello all,
I'm seeing something very odd when I create a System.Drawing. Bitmap from an existing Bitmap. If the original Bitmap has a resolution of 72x72, the new resulting Bitmap has a resolution of 96x96. I was wondering if anyone knows why this is happening. The fact that the resolution is changing on me is causing me grief (yes, I know I can call "SetResolution( )").
Below is some sample code with comments...
Search Result
Collapse
3 results in 0.0013 seconds.
Keywords
Members
Tags
-
Why does copying a Bitmap Change Its Resolution?
-
Handling DPI changes in windows form
Hi,
I am developing a windows based application in VB 2005, the main form of the application is of fixed border style (i.e. user cannot resize the form), but in certain cases I am resizing my form through code. Intially the form has a fixed height i.e. 350 for normal height and 400 for extended height. But in this case the problem could not be solved effectively as the user can have different DPI setting e.g. 120, 144, 192 etc. The... -
alanteo started a topic How to draw a panel of size 2.4 x 2.4 inches with resolution 300 x 300 pixelsin .NETHow to draw a panel of size 2.4 x 2.4 inches with resolution 300 x 300 pixels
I am developing an application using Visual C++ express edition. The application requires the drawing of a panel of specific size and resolution.
I would like to ask if there is any way for me to specify the exact measurements (in inches) with specific resolution.
When I create a panel of resolution 300 by 300 pixels, it will be a 3.3 by 3.3 (measure with ruler) inches panel. I tried manipulating DPI of the display,...