madskristensen / ImageOptimizer

A Visual Studio extension
Other
163 stars 40 forks source link

DPI values are lost after optimization #41

Open cpCr4zy opened 6 years ago

cpCr4zy commented 6 years ago

Description

All optimizations on the image reset the dpi. But it very important to keep the original value, because it will be used in WPF

Steps to recreate

  1. Get jpeg/png file with custom DPI values
  2. Optimize

Current behavior

The DPI value is lost or set to default 96 dpi.

Expected behavior

The DPI value keep original value