Tag Archives: resolution

Change image resolution in C#

This example shows how to change an image’s resolution. It’s another example I created to help while writing books. Computers usually work with images that have a resolution of 96 pixels per inch (PPI). Printers and publishers often require images … Continue reading

Posted in image processing | Tagged , , , , , , , , , , , , , | 1 Comment

Get the screen’s resolution in C#

Normally a monitor displays 96 logical (or “notional”) dots per inch (dpi) but it’s not necessarily a good idea to assume that value. When this example starts, the following code displays the logical resolution of the screen in dpi. private … Continue reading

Posted in drawing, graphics | Tagged , , , , , , , , , | Leave a comment