enter image description here

The above image is converted to png by cropping. whereas the main image was in wmf format. IS there any way to look at the above image in a better way?

  • I don't really understand. You can't reverse a conversion from WMF to PNG. You cna go back to the original WMF and re-save if needed. – Scott Dec 17 '13 at 8:34
  • I have cropped from the WMF then by painter managed to convert png. But how to improve the image color? – Unlimited Dreamer Dec 17 '13 at 8:37
  • I am trying to add the wmf file here but the site is not supporting. – Unlimited Dreamer Dec 17 '13 at 8:38
  • 3
    I'm sorry, I don't understand your question. What does the cropping have to do with this? Are you just asking how to improve the image quality, or is there a problem with the crop as well? – Vincent Dec 17 '13 at 9:53

By default a WMF vector graphic file has a resolution of 72 dpi. This can make a resulting bitmap rather pixelated after conversion.

To improve this we may adjust the bitmap resolution on conversion. How to do this depends on the application we use.

Using ImageMagic the option -density is responsible for the output resolution. A conversion to 600 dpi then could look like this:

convert infile.wmf -density 600 outfile.png

If the bitmap needs to be scaled down in size we should do that from a high density large bitmap for a better interpolation.

| improve this answer | |
  • Shouldn't "...we should do so after conversion..." be "...we should calculate the specific size and do so during conversion..."? – horatio Dec 17 '13 at 21:04
  • @horatio: it took me a while to find a way how to express this in short words. The bad look came from a 72 dpi image in the given dimension. If we had it at 600 dpi, then perform a bitmap interpolation with downscaling to 72 dpi the results will likely be much better. Edited my answer - hope its clearer now. – Takkat Dec 17 '13 at 21:08

Not the answer you're looking for? Browse other questions tagged or ask your own question.