Table of Contents
  • Getting Started
  • EO.Pdf
  • EO.Web
  • EO.WebBrowser
  • EO.Wpf
    • Overview
    • Installation & Deployement
    • Skin & Theme
    • Common Taskes and Services
    • EO.Wpf Buttons
    • EO.Wpf Calendar & DatePicker
    • EO.Wpf ComboBox
    • EO.Wpf DockView
    • EO.Wpf Gauge
    • EO.Wpf ListBox
    • EO.Wpf Menu
    • EO.Wpf MaskedEdit
    • EO.Wpf ProgressBar
    • EO.Wpf Slider
    • EO.Wpf SpinEdit
    • EO.Wpf SplitView
    • EO.Wpf TabControl
    • EO.Wpf TreeView
    • EO.Wpf Utility Controls
    • EO.Wpf WindowChrome
    • Sample Data Objects
  • Common Topics
  • Reference
EO.Wpf Bitmap

WPF's Image control displays an image based on the image's device independent size, which can be different than the image's pixel size if the image's DPI is not the same as the target screen's DPI, in which case the image will be automatically scaled according to the target screen's DPI settings, which often cause blurry images. EO.Wpf Bitmap control disables this logic and always renders the image using its original pixel size. This is especially useful for rendering small images.

The following image demonstrates an image with resolution 72 DPI being displayed on a 96 DPI screen:

The same image can be displayed with EO.Wpf Bitmap control:

XAML
<eo:Bitmap Source="image_uri" />